Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-libexec/files: freebsd-libexec-9.2-no_ld32.patch
Date: Mon, 26 Aug 2013 21:17:10
Message-Id: 20130826211704.C370D2004C@flycatcher.gentoo.org
1 aballier 13/08/26 21:17:04
2
3 Added: freebsd-libexec-9.2-no_ld32.patch
4 Log:
5 Use LD_* variables for 32bits too instead of the FreeBSD invention LD_32_*. We use LD_* everywhere on Gentoo and things like libtool wrappers have no clue
6 about LD_32_* and thus fail to run from the build directory.
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.1 sys-freebsd/freebsd-libexec/files/freebsd-libexec-9.2-no_ld32.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-libexec/files/freebsd-libexec-9.2-no_ld32.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-libexec/files/freebsd-libexec-9.2-no_ld32.patch?rev=1.1&content-type=text/plain
15
16 Index: freebsd-libexec-9.2-no_ld32.patch
17 ===================================================================
18 Use LD_* variables for 32bits too instead of the FreeBSD invention LD_32_*.
19 We use LD_* everywhere on Gentoo and things like libtool wrappers have no clue
20 about LD_32_* and thus fail to run from the build directory.
21
22 diff -uNr libexec.old/rtld-elf/rtld.h libexec/rtld-elf/rtld.h
23 --- libexec.old/rtld-elf/rtld.h 2013-08-24 12:30:26.000000000 -0400
24 +++ libexec/rtld-elf/rtld.h 2013-08-26 17:10:19.000000000 -0400
25 @@ -47,7 +47,6 @@
26 #define _PATH_ELF_HINTS "/var/run/ld-elf32.so.hints"
27 /* For running 32 bit binaries */
28 #define STANDARD_LIBRARY_PATH "/lib32:/usr/lib32"
29 -#define LD_ "LD_32_"
30 #endif
31
32 #ifndef STANDARD_LIBRARY_PATH