1 |
jlec 15/07/29 08:04:07 |
2 |
|
3 |
Added: patchelf-0.8-dash.patch |
4 |
Log: |
5 |
Backport patch for /bin/sh -> dash, bug #555360 |
6 |
|
7 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-util/patchelf/files/patchelf-0.8-dash.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/patchelf/files/patchelf-0.8-dash.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/patchelf/files/patchelf-0.8-dash.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: patchelf-0.8-dash.patch |
16 |
=================================================================== |
17 |
From 3b9e7913a6d14cb09ed91ce8a1110955bda200ef Mon Sep 17 00:00:00 2001 |
18 |
From: Alexandre Pretyman <alexandre.pretyman@×××××.com> |
19 |
Date: Tue, 14 Jul 2015 09:12:38 -0400 |
20 |
Subject: [PATCH] Change configure.ac from OpenWrt to support Mac OS |
21 |
|
22 |
This change is from the OpenWrt project, from the URL: |
23 |
https://dev.openwrt.org/ticket/18998 |
24 |
It enables patchelf to sucessfully compile and run under Mac OS and |
25 |
keeps compatibility with Linux. |
26 |
|
27 |
Tested under Mac OS X 10.9.5 and Ubuntu 15.04 to patch a binary of type |
28 |
ELF 32-bit LSB executable - the patch fully worked |
29 |
|
30 |
This patch is credited to Felix Fietkau |
31 |
--- |
32 |
configure.ac | 2 +- |
33 |
1 file changed, 1 insertion(+), 1 deletion(-) |
34 |
|
35 |
diff --git a/configure.ac b/configure.ac |
36 |
index 8ca9ad4..69e12de 100644 |
37 |
--- a/configure.ac |
38 |
+++ b/configure.ac |
39 |
@@ -1,4 +1,4 @@ |
40 |
-AC_INIT([patchelf], m4_esyscmd([echo -n $(cat ./version)])) |
41 |
+AC_INIT([patchelf], m4_esyscmd([printf $(cat ./version)])) |
42 |
AC_CONFIG_SRCDIR([src/patchelf.cc]) |
43 |
AC_CONFIG_AUX_DIR([build-aux]) |
44 |
AM_INIT_AUTOMAKE([-Wall -Werror dist-bzip2 foreign color-tests parallel-tests]) |