summaryrefslogtreecommitdiff
path: root/editors/xemacs/patches
diff options
context:
space:
mode:
Diffstat (limited to 'editors/xemacs/patches')
-rw-r--r--editors/xemacs/patches/patch-aa18
-rw-r--r--editors/xemacs/patches/patch-ae24
-rw-r--r--editors/xemacs/patches/patch-af16
-rw-r--r--editors/xemacs/patches/patch-am6
4 files changed, 52 insertions, 12 deletions
diff --git a/editors/xemacs/patches/patch-aa b/editors/xemacs/patches/patch-aa
index a1c69a195a1..aa0f1650b39 100644
--- a/editors/xemacs/patches/patch-aa
+++ b/editors/xemacs/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.5 2004/02/09 07:54:58 minskim Exp $
+$NetBSD: patch-aa,v 1.6 2007/02/15 14:27:48 joerg Exp $
---- configure.orig 2004-01-23 22:34:33.000000000 -0600
+--- configure.orig 2005-01-31 03:06:14.000000000 +0000
+++ configure
@@ -1130,6 +1130,7 @@ echo "$ac_t""$configuration" 1>&6
machine='' opsys=''
@@ -22,7 +22,15 @@ $NetBSD: patch-aa,v 1.5 2004/02/09 07:54:58 minskim Exp $
esac
;;
-@@ -3134,7 +3136,7 @@ echo "configure:3132: checking "for runt
+@@ -1508,6 +1510,7 @@ EOF
+ *-sysv5* ) opsys=sco7 ;;
+ *-386bsd* ) opsys=386bsd ;;
+ *-freebsd* ) opsys=freebsd ;;
++ *-dragonfly* ) opsys=dragonfly ;;
+ *-nextstep* ) opsys=nextstep ;;
+ *-pc-cygwin* ) opsys=cygwin32 ;;
+ *-pc-mingw* ) opsys=mingw32 ;
+@@ -3133,7 +3136,7 @@ echo "configure:3131: checking "for runt
decosf* | linux* | irix*) dash_r="-rpath " ;;
*)
dash_r=""
@@ -31,7 +39,7 @@ $NetBSD: patch-aa,v 1.5 2004/02/09 07:54:58 minskim Exp $
xe_check_libs="${try_dash_r}/no/such/file-or-directory"
if test "$GCC" = "yes"; then
-@@ -14057,6 +14059,41 @@ else for feature in ncurses gpm; do
+@@ -14091,6 +14094,41 @@ else for feature in ncurses gpm; do
eval "with_${feature}=no"
done
fi
@@ -73,7 +81,7 @@ $NetBSD: patch-aa,v 1.5 2004/02/09 07:54:58 minskim Exp $
test "$with_x11" = "yes" -o "$with_tty" = "yes" -o "$need_event_unixoid" = "yes" && extra_objs="$extra_objs event-unixoid.o" && if test "$extra_verbose" = "yes"; then
echo " xemacs will be linked with \"event-unixoid.o\""
fi
-@@ -16477,6 +16514,7 @@ s%@libs_xauth@%$libs_xauth%g
+@@ -16511,6 +16549,7 @@ s%@libs_xauth@%$libs_xauth%g
s%@dnd_objs@%$dnd_objs%g
s%@lwlib_objs@%$lwlib_objs%g
s%@ALLOCA@%$ALLOCA%g
diff --git a/editors/xemacs/patches/patch-ae b/editors/xemacs/patches/patch-ae
new file mode 100644
index 00000000000..9f492e9cf00
--- /dev/null
+++ b/editors/xemacs/patches/patch-ae
@@ -0,0 +1,24 @@
+$NetBSD: patch-ae,v 1.3 2007/02/15 14:27:48 joerg Exp $
+
+--- src/dired.c.orig 2007-02-13 18:38:12.000000000 +0000
++++ src/dired.c
+@@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */
+ /* Synched up with: FSF 19.30. */
+
+ #include <config.h>
++#include <limits.h>
+ #include "lisp.h"
+
+ #include "sysfile.h"
+@@ -97,7 +98,11 @@ If FILES-ONLY is the symbol t, then only
+ directory = Ffile_name_as_directory (directory);
+ directorylen = XSTRING_LENGTH (directory);
+
++#ifdef NAME_MAX
++ statbuf = (char *)alloca (directorylen + NAME_MAX + 1);
++#else
+ statbuf = (char *)alloca (directorylen + MAXNAMLEN + 1);
++#endif
+ memcpy (statbuf, XSTRING_DATA (directory), directorylen);
+ statbuf_tail = statbuf + directorylen;
+
diff --git a/editors/xemacs/patches/patch-af b/editors/xemacs/patches/patch-af
index 8a8d0aa8c74..a5a112843bd 100644
--- a/editors/xemacs/patches/patch-af
+++ b/editors/xemacs/patches/patch-af
@@ -1,6 +1,6 @@
-$NetBSD: patch-af,v 1.5 2004/02/09 07:54:58 minskim Exp $
+$NetBSD: patch-af,v 1.6 2007/02/15 14:27:48 joerg Exp $
---- configure.in.orig 2004-01-23 22:37:54.000000000 -0600
+--- configure.in.orig 2005-01-31 02:54:47.000000000 +0000
+++ configure.in
@@ -1082,6 +1082,7 @@ machine='' opsys=''
@@ -23,7 +23,15 @@ $NetBSD: patch-af,v 1.5 2004/02/09 07:54:58 minskim Exp $
esac
;;
-@@ -2244,7 +2245,7 @@ if test "$add_runtime_path" = "yes"; the
+@@ -1545,6 +1546,7 @@ case "$canonical" in
+ *-sysv5* ) opsys=sco7 ;;
+ *-386bsd* ) opsys=386bsd ;;
+ *-freebsd* ) opsys=freebsd ;;
++ *-dragonfly* ) opsys=dragonfly ;;
+ *-nextstep* ) opsys=nextstep ;;
+ *-pc-cygwin* ) opsys=cygwin32 ;;
+ *-pc-mingw* ) opsys=mingw32 ;
+@@ -2247,7 +2249,7 @@ if test "$add_runtime_path" = "yes"; the
decosf* | linux* | irix*) dash_r="-rpath " ;;
*)
dash_r=""
@@ -32,7 +40,7 @@ $NetBSD: patch-af,v 1.5 2004/02/09 07:54:58 minskim Exp $
xe_check_libs="${try_dash_r}/no/such/file-or-directory"
XE_PROTECT_LINKER_FLAGS(xe_check_libs)
AC_TRY_LINK(, , dash_r="$try_dash_r")
-@@ -4395,6 +4396,9 @@ else dnl "$with_tty" = "no"
+@@ -4409,6 +4411,9 @@ else dnl "$with_tty" = "no"
done
fi dnl with_tty
diff --git a/editors/xemacs/patches/patch-am b/editors/xemacs/patches/patch-am
index 69291a86845..7302234e889 100644
--- a/editors/xemacs/patches/patch-am
+++ b/editors/xemacs/patches/patch-am
@@ -1,4 +1,4 @@
-$NetBSD: patch-am,v 1.2 2003/12/22 07:08:30 uebayasi Exp $
+$NetBSD: patch-am,v 1.3 2007/02/15 14:27:48 joerg Exp $
--- src/database.c.orig Thu Jun 19 12:34:42 2003
+++ src/database.c
@@ -7,7 +7,7 @@ $NetBSD: patch-am,v 1.2 2003/12/22 07:08:30 uebayasi Exp $
#define __BIT_TYPES_DEFINED__
#include <inttypes.h>
-#ifndef __FreeBSD__
-+#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__))
++#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__))
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
@@ -15,7 +15,7 @@ $NetBSD: patch-am,v 1.2 2003/12/22 07:08:30 uebayasi Exp $
typedef uint64_t u_int64_t;
-#endif
#endif /* WE_DONT_NEED_QUADS */
-+#endif /* !(__FreeBSD__ || __NetBSD__ || __OpenBSD__) */
++#endif /* !(__FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__) */
#endif /* HAVE_INTTYPES_H */
#endif /* !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) */
/* Berkeley DB wants __STDC__ to be defined; else if does `#define const' */