summaryrefslogtreecommitdiff
path: root/editors/emacs21/patches/patch-xx
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs21/patches/patch-xx')
-rw-r--r--editors/emacs21/patches/patch-xx30
1 files changed, 30 insertions, 0 deletions
diff --git a/editors/emacs21/patches/patch-xx b/editors/emacs21/patches/patch-xx
new file mode 100644
index 00000000000..b5c8cc432c6
--- /dev/null
+++ b/editors/emacs21/patches/patch-xx
@@ -0,0 +1,30 @@
+$NetBSD: patch-xx,v 1.3 2007/06/11 13:38:44 markd Exp $
+
+--- src/s/netbsd.h.orig 2002-05-31 18:29:02.000000000 +0200
++++ src/s/netbsd.h
+@@ -60,9 +60,17 @@
+ #endif /* not NO_SHARED_LIBS and not ELF */
+
+ #if !defined (NO_SHARED_LIBS) && defined (__ELF__)
++#if defined(HAVE_NETBSD_CRTI)
++#define START_FILES pre-crt0.o /usr/lib/crt0.o /usr/lib/crti.o /usr/lib/crtbegin.o
++#else
+ #define START_FILES pre-crt0.o /usr/lib/crt0.o /usr/lib/crtbegin.o
++#endif
+ #define UNEXEC unexelf.o
++#if defined(HAVE_NETBSD_CRTN)
++#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
++#else
+ #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o
++#endif
+ #undef LIB_GCC
+ #define LIB_GCC
+ #endif
+@@ -123,3 +131,7 @@
+
+ #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
+
++/* Use sigprocmask(2) and friends instead of sigblock(2); the man page
++ of sigblock says it is obsolete. */
++
++#define POSIX_SIGNALS 1