aboutsummaryrefslogtreecommitdiffstats
path: root/tools/patchelf
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-02-19 10:30:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-02-19 10:30:39 +0000
commit19e42920c512450d84dbe399a6791cc7a1b5b204 (patch)
tree3d291b6b9c9e248feba624b24b7ddb6203a66e7d /tools/patchelf
parent0e2d6ea8c8b007bb91450531ea190216c23f0dff (diff)
downloadupstream-19e42920c512450d84dbe399a6791cc7a1b5b204.tar.gz
upstream-19e42920c512450d84dbe399a6791cc7a1b5b204.tar.bz2
upstream-19e42920c512450d84dbe399a6791cc7a1b5b204.zip
tools/patchelf: fix portability issue breaking mac os x builds (#18998)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44493 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/patchelf')
-rw-r--r--tools/patchelf/patches/100-portability.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/patchelf/patches/100-portability.patch b/tools/patchelf/patches/100-portability.patch
new file mode 100644
index 0000000000..04ed8a11c2
--- /dev/null
+++ b/tools/patchelf/patches/100-portability.patch
@@ -0,0 +1,8 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,4 +1,4 @@
+-AC_INIT([patchelf], m4_esyscmd([echo -n $(cat ./version)]))
++AC_INIT([patchelf], m4_esyscmd([printf $(cat ./version)]))
+ AC_CONFIG_SRCDIR([src/patchelf.cc])
+ AC_CONFIG_AUX_DIR([build-aux])
+ AM_INIT_AUTOMAKE([-Wall -Werror dist-bzip2 foreign color-tests parallel-tests])