diff options
Diffstat (limited to 'editors/emacs/patches/patch-ab')
-rw-r--r-- | editors/emacs/patches/patch-ab | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/editors/emacs/patches/patch-ab b/editors/emacs/patches/patch-ab new file mode 100644 index 00000000000..5e991ee4a0f --- /dev/null +++ b/editors/emacs/patches/patch-ab @@ -0,0 +1,27 @@ +$NetBSD: patch-ab,v 1.16 2003/07/06 16:10:18 uebayasi Exp $ + +--- configure.orig Sat Jun 14 12:55:08 2003 ++++ configure +@@ -9124,6 +9124,22 @@ + fi + + ++# NETBSD: NetBSD's newer run-time linker fix. ++if test $opsys = netbsd; then ++ if test -f /usr/lib/crti.o; then ++ cat >> confdefs.h <<\EOF ++#define HAVE_NETBSD_CRTI 1 ++EOF ++ ++ fi ++ if test -f /usr/lib/crtn.o; then ++ cat >> confdefs.h <<\EOF ++#define HAVE_NETBSD_CRTN 1 ++EOF ++ ++ fi ++fi ++ + # Set up the CFLAGS for real compilation, so we can substitute it. + CFLAGS="$REAL_CFLAGS" + CPPFLAGS="$REAL_CPPFLAGS" |