1 |
ulm 11/01/26 16:44:48 |
2 |
|
3 |
Added: 03_all_gnu-linux-crt-dir.patch |
4 |
04_all_ns-appdirs.patch |
5 |
Log: |
6 |
Patches for Prefix. |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 src/patchsets/emacs/23.2/03_all_gnu-linux-crt-dir.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/emacs/23.2/03_all_gnu-linux-crt-dir.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/emacs/23.2/03_all_gnu-linux-crt-dir.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: 03_all_gnu-linux-crt-dir.patch |
15 |
=================================================================== |
16 |
http://bugs.gentoo.org/350532 |
17 |
|
18 |
--- emacs-23.2-orig/src/s/gnu-linux.h |
19 |
+++ emacs-23.2/src/s/gnu-linux.h |
20 |
@@ -168,7 +168,7 @@ |
21 |
/* Ask GCC where to find libgcc.a. */ |
22 |
#define LIB_GCC `$(CC) $(C_SWITCH_X_SITE) -print-libgcc-file-name` |
23 |
|
24 |
-#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o |
25 |
+#define START_FILES pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o |
26 |
|
27 |
/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option |
28 |
says where to find X windows at run time. */ |
29 |
@@ -198,7 +198,7 @@ |
30 |
#define LIBS_DEBUG |
31 |
#undef LIB_GCC |
32 |
#define LIB_GCC |
33 |
-#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o |
34 |
+#define LIB_STANDARD -lgcc -lc -lgcc $(CRT_DIR)/crtn.o |
35 |
|
36 |
/* Don't use -g in test compiles in configure. |
37 |
This is so we will use the same shared libs for that linking |
38 |
|
39 |
|
40 |
|
41 |
1.1 src/patchsets/emacs/23.2/04_all_ns-appdirs.patch |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/emacs/23.2/04_all_ns-appdirs.patch?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/emacs/23.2/04_all_ns-appdirs.patch?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: 04_all_ns-appdirs.patch |
47 |
=================================================================== |
48 |
http://bugs.gentoo.org/268793 |
49 |
|
50 |
--- emacs-23.2-orig/configure.in |
51 |
+++ emacs-23.2/configure.in |
52 |
@@ -1417,10 +1417,10 @@ |
53 |
window_system=nextstep |
54 |
with_xft=no |
55 |
# set up packaging dirs |
56 |
- exec_prefix=${ns_appbindir} |
57 |
- libexecdir=${ns_appbindir}/libexec |
58 |
if test "${EN_NS_SELF_CONTAINED}" = yes; then |
59 |
prefix=${ns_appresdir} |
60 |
+ exec_prefix=${ns_appbindir} |
61 |
+ libexecdir=${ns_appbindir}/libexec |
62 |
fi |
63 |
fi |
64 |
CFLAGS="$tmp_CFLAGS" |
65 |
--- emacs-23.2-orig/leim/Makefile.in |
66 |
+++ emacs-23.2/leim/Makefile.in |
67 |
@@ -263,11 +263,6 @@ |
68 |
[ -n "$${installuser}" ] && break ; \ |
69 |
done ; \ |
70 |
find ${INSTALLDIR} -exec chown $${installuser} '{}' ';' |
71 |
- if [ "${ns_appresdir}" != "" ]; then \ |
72 |
- ( cd ${ns_appresdir} ; \ |
73 |
- if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\ |
74 |
- rm -fr share ) ; \ |
75 |
- else true ; fi |
76 |
|
77 |
clean mostlyclean: |
78 |
rm -f ${TIT-MISC} ${TIT-MISC:.elc=.el} \ |
79 |
--- emacs-23.2-orig/Makefile.in |
80 |
+++ emacs-23.2/Makefile.in |
81 |
@@ -424,16 +424,6 @@ |
82 |
${INSTALL_DATA} lib-src/$$f $(DESTDIR)${archlibdir}/$$f; \ |
83 |
else true; fi ; \ |
84 |
done |
85 |
- if test "${ns_appdir}" != ""; then \ |
86 |
- ( cd ${ns_appresdir} ; \ |
87 |
- if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\ |
88 |
- if test -d share/info ; then dir=share/info; $(MV_DIRS) ; fi ; \ |
89 |
- rm -fr share ) ; \ |
90 |
- ( cd ${ns_appbindir}/libexec ; dir=emacs/*/*/* ; $(MV_DIRS); \ |
91 |
- rm -fr emacs ) ; \ |
92 |
- ( cd ${ns_appbindir}/bin ; rm -f emacs emacs-23* ; \ |
93 |
- ln -sf ../libexec/* .) ; \ |
94 |
- else true ; fi |
95 |
|
96 |
## http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01672.html |
97 |
## Needs to be the user running install, so configure can't set it. |