diff options
Diffstat (limited to 'editors/emacs20-mule-devel/files/patch-cb')
-rw-r--r-- | editors/emacs20-mule-devel/files/patch-cb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/editors/emacs20-mule-devel/files/patch-cb b/editors/emacs20-mule-devel/files/patch-cb index 1d555e5..7eadaa1 100644 --- a/editors/emacs20-mule-devel/files/patch-cb +++ b/editors/emacs20-mule-devel/files/patch-cb @@ -1,25 +1,5 @@ --- src/s/freebsd.h.orig Mon Jan 13 03:08:43 2003 +++ src/s/freebsd.h Mon Jan 13 03:10:05 2003 -@@ -41,8 +41,18 @@ - - #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) - -+/* Use XPG4 Library for FreeBSD */ -+#define LIBS_XPG -+#if (__FreeBSD_version >= 220000 && __FreeBSD_version < 400020) \ -+ || (__FreeBSD_version >= 500000 && __FreeBSD_version < 500005) -+#ifdef USE_XPG -+#undef LIBS_XPG -+#define LIBS_XPG -lxpg4 -+#endif -+#endif -+ - #define LIBS_DEBUG --#define LIBS_SYSTEM -lutil -+#define LIBS_SYSTEM -lutil LIBS_XPG - #if __FreeBSD_version < 400000 - #define LIBS_TERMCAP -ltermcap - #endif @@ -56,9 +66,20 @@ #ifdef __ELF__ |