From: | "Ulrich Mueller (ulm)" <ulm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo commit in src/patchsets/emacs/23.4: 12_all_freebsd.patch |
Date: | Wed, 01 Aug 2012 08:59:40 |
Message-Id: | 20120801085931.469D620034@flycatcher.gentoo.org |
1 | ulm 12/08/01 08:59:31 |
2 | |
3 | Added: 12_all_freebsd.patch |
4 | Log: |
5 | Backport FreeBSD patch from Emacs 24. |
6 | |
7 | Revision Changes Path |
8 | 1.1 src/patchsets/emacs/23.4/12_all_freebsd.patch |
9 | |
10 | file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/emacs/23.4/12_all_freebsd.patch?rev=1.1&view=markup |
11 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/emacs/23.4/12_all_freebsd.patch?rev=1.1&content-type=text/plain |
12 | |
13 | Index: 12_all_freebsd.patch |
14 | =================================================================== |
15 | Fix linking on FreeBSD. |
16 | http://debbugs.gnu.org/12047 |
17 | |
18 | --- emacs-23.4-orig/src/s/freebsd.h |
19 | +++ emacs-23.4/src/s/freebsd.h |
20 | @@ -76,9 +76,9 @@ |
21 | there, contrary to what a stock GCC would do. */ |
22 | |
23 | #define LD_SWITCH_SYSTEM -L/usr/local/lib |
24 | -#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o |
25 | +#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o |
26 | #define UNEXEC unexelf.o |
27 | -#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o |
28 | +#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o |
29 | #undef LIB_GCC |
30 | #define LIB_GCC |