summaryrefslogtreecommitdiff
path: root/editors/emacs-nox11/patches/patch-xx
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs-nox11/patches/patch-xx')
-rw-r--r--editors/emacs-nox11/patches/patch-xx27
1 files changed, 27 insertions, 0 deletions
diff --git a/editors/emacs-nox11/patches/patch-xx b/editors/emacs-nox11/patches/patch-xx
new file mode 100644
index 00000000000..065b88fe8af
--- /dev/null
+++ b/editors/emacs-nox11/patches/patch-xx
@@ -0,0 +1,27 @@
+$NetBSD: patch-xx,v 1.1.1.1 2003/04/11 01:01:50 uebayasi Exp $
+
+--- src/s/netbsd.h.orig Fri Apr 26 14:42:37 2002
++++ src/s/netbsd.h Fri Apr 26 14:43:34 2002
+@@ -72,22 +72,6 @@
+
+ #define AMPERSAND_FULL_NAME
+
+-#ifdef __ELF__
+-/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option
+- says where to find X windows at run time. We convert it to a -rpath option
+- which is what OSF1 uses. */
+-#define LD_SWITCH_SYSTEM_tmp `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'`
+-#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -L/usr/pkg/lib -L/usr/local/lib
+-
+-/* The following is needed to make `configure' find Xpm, Xaw3d and
+- image include and library files if using /usr/bin/gcc. That
+- compiler seems to be modified to not find headers in
+- /usr/local/include or libs in /usr/local/lib by default. */
+-
+-#define C_SWITCH_SYSTEM -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib
+-
+-#endif /* __ELF__ */
+-
+ /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears
+ the library search parth, i.e. it won't search /usr/lib
+ for libc and friends. Using -nostartfiles instead avoids