diff options
Diffstat (limited to 'editors/emacs/patches/patch-bg')
-rw-r--r-- | editors/emacs/patches/patch-bg | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/editors/emacs/patches/patch-bg b/editors/emacs/patches/patch-bg new file mode 100644 index 00000000000..685afafab82 --- /dev/null +++ b/editors/emacs/patches/patch-bg @@ -0,0 +1,21 @@ +$NetBSD: patch-bg,v 1.7 2003/07/06 16:10:19 uebayasi Exp $ + +--- configure.in.orig Fri Apr 18 19:04:25 2003 ++++ configure.in +@@ -2177,6 +2177,16 @@ + # Fixme: This should be replaced when we have autoconf 2.14. + AC_SIZE_T + ++# NETBSD: NetBSD's newer run-time linker fix. ++if test $opsys = netbsd; then ++ if test -f /usr/lib/crti.o; then ++ AC_DEFINE(HAVE_NETBSD_CRTI) ++ fi ++ if test -f /usr/lib/crtn.o; then ++ AC_DEFINE(HAVE_NETBSD_CRTN) ++ fi ++fi ++ + # Set up the CFLAGS for real compilation, so we can substitute it. + CFLAGS="$REAL_CFLAGS" + CPPFLAGS="$REAL_CPPFLAGS" |