From 6c59170bca7b079bb699aa4fe6a5bf790e0dea6e Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Fri, 17 Mar 2000 02:18:05 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_4_0_0'. --- editors/emacs22/files/patch-ac | 79 ------------------------------------------ 1 file changed, 79 deletions(-) delete mode 100644 editors/emacs22/files/patch-ac (limited to 'editors/emacs22/files/patch-ac') diff --git a/editors/emacs22/files/patch-ac b/editors/emacs22/files/patch-ac deleted file mode 100644 index 51b06ef0ff7d..000000000000 --- a/editors/emacs22/files/patch-ac +++ /dev/null @@ -1,79 +0,0 @@ ---- src/s/freebsd.h.orig Sun Jun 9 15:14:32 1996 -+++ src/s/freebsd.h Fri Apr 9 18:17:41 1999 -@@ -1,5 +1,15 @@ - /* s/ file for freebsd system. */ - -+/* Get the correct __FreeBSD_version, even if this is before that was -+ defined. */ -+#ifndef __FreeBSD__ -+#define __FreeBSD_version 199401 -+#elif __FreeBSD__ == 1 -+#define __FreeBSD_version 199405 -+#else -+#include -+#endif -+ - /* '__FreeBSD__' is defined by the preprocessor on FreeBSD-1.1 and up. - Earlier versions do not have shared libraries, so inhibit them. - You can inhibit them on newer systems if you wish -@@ -34,7 +44,6 @@ - #define LIBS_DEBUG - #define LIBS_SYSTEM -lutil - #define LIBS_TERMCAP -ltermcap --#define LIB_GCC -lgcc - - #define SYSV_SYSTEM_DIR - -@@ -42,12 +51,33 @@ - #undef BSD_PGRPS - #define GETPGRP_NO_ARG - -+#ifdef __ELF__ -+ -+#define LD_SWITCH_SYSTEM -+#ifdef i386 -+#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -+#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o -+#else -+#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crtbegin.o -+#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o -+#endif -+#define UNEXEC unexelf.o -+#undef LIB_GCC -+#define LIB_GCC -+ -+#else /* not __ELF__ */ -+ - #ifndef NO_SHARED_LIBS - #define LD_SWITCH_SYSTEM -e start -dc -dp - #define HAVE_TEXT_START /* No need to define `start_of_text'. */ -+#if __FreeBSD_version >= 300002 -+#define START_FILES pre-crt0.o /usr/lib/aout/crt0.o -+#else /* __FreeBSD_version < 300002 */ - #define START_FILES pre-crt0.o /usr/lib/crt0.o --#define UNEXEC unexsunos4.o -+#endif /* __FreeBSD_version < 300002 */ -+#define UNEXEC unexfreebsd.o - #define RUN_TIME_REMAP -+#define LIB_GCC -lgcc - - #ifndef N_TRELOFF - #define N_PAGSIZ(x) __LDPGSZ -@@ -63,6 +93,8 @@ - #endif /* __FreeBSD__ */ - #endif /* NO_SHARED_LIBS */ - -+#endif /* not __ELF__ */ -+ - #define HAVE_WAIT_HEADER - #define HAVE_GETLOADAVG - /*#define HAVE_GETPAGESIZE /* configure now puts this in config.h */ -@@ -80,6 +112,8 @@ - #define BSD 199103 - #elif __FreeBSD__ == 2 - #define BSD 199306 -+#elif __FreeBSD__ >= 3 -+#define BSD 199506 - #endif - - #define WAITTYPE int -- cgit v1.2.3