summaryrefslogtreecommitdiff
path: root/editors/emacs
diff options
context:
space:
mode:
authorthorpej <thorpej>1999-06-04 17:52:37 +0000
committerthorpej <thorpej>1999-06-04 17:52:37 +0000
commit3d53a7abc8020bb80138b4d2e31f1ef187e826c7 (patch)
treefe5fbb0a47951c581447cdc2049b6dbb3c878cd8 /editors/emacs
parenta375557e78aa522768d3603c6a10509594c9bfbf (diff)
downloadpkgsrc-3d53a7abc8020bb80138b4d2e31f1ef187e826c7.tar.gz
I don't pretend to understand the ELF crap either, but this makes Emacs
build/work on i386 ELF (and probably SPARC ELF, too).
Diffstat (limited to 'editors/emacs')
-rw-r--r--editors/emacs/patches/patch-bf23
1 files changed, 23 insertions, 0 deletions
diff --git a/editors/emacs/patches/patch-bf b/editors/emacs/patches/patch-bf
new file mode 100644
index 00000000000..b6d79112833
--- /dev/null
+++ b/editors/emacs/patches/patch-bf
@@ -0,0 +1,23 @@
+--- src/s/netbsd.h.orig Sat Apr 11 11:15:19 1998
++++ src/s/netbsd.h Fri Jun 4 09:41:33 1999
+@@ -57,7 +57,7 @@
+ #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
+ #define N_TRELOFF(x) N_RELOFF(x)
+ #endif
+-#endif /* not NO_SHARED_LIBS */
++#endif /* not NO_SHARED_LIBS and not ELF */
+
+ #define HAVE_WAIT_HEADER
+ #define WAIT_USE_INT
+@@ -71,6 +71,11 @@
+ 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 `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'`
++
++#define HAVE_TEXT_START /* No need to define `start_of_text'. */
++#define UNEXEC unexelf.c
++#define START_FILES pre-crt0.o /usr/lib/crt0.o /usr/lib/crtbegin.o
++#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o
+ #endif /* __ELF__ */
+
+ /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears