summaryrefslogtreecommitdiff
path: root/dev-util/patchelf/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/patchelf/files
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/patchelf/files')
-rw-r--r--dev-util/patchelf/files/patchelf-0.8-dash.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-util/patchelf/files/patchelf-0.8-dash.patch b/dev-util/patchelf/files/patchelf-0.8-dash.patch
new file mode 100644
index 000000000000..4210b1c054d0
--- /dev/null
+++ b/dev-util/patchelf/files/patchelf-0.8-dash.patch
@@ -0,0 +1,28 @@
+From 3b9e7913a6d14cb09ed91ce8a1110955bda200ef Mon Sep 17 00:00:00 2001
+From: Alexandre Pretyman <alexandre.pretyman@gmail.com>
+Date: Tue, 14 Jul 2015 09:12:38 -0400
+Subject: [PATCH] Change configure.ac from OpenWrt to support Mac OS
+
+This change is from the OpenWrt project, from the URL:
+https://dev.openwrt.org/ticket/18998
+It enables patchelf to sucessfully compile and run under Mac OS and
+keeps compatibility with Linux.
+
+Tested under Mac OS X 10.9.5 and Ubuntu 15.04 to patch a binary of type
+ELF 32-bit LSB executable - the patch fully worked
+
+This patch is credited to Felix Fietkau
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 8ca9ad4..69e12de 100644
+--- 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])