From 5dbd3e65a67a1c248b59c697c8ec1045c2ca2b84 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 19 Feb 2015 10:30:39 +0000 Subject: [PATCH] tools/patchelf: fix portability issue breaking mac os x builds (#18998) Signed-off-by: Felix Fietkau SVN-Revision: 44493 --- tools/patchelf/patches/100-portability.patch | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tools/patchelf/patches/100-portability.patch 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])