pkgsrc/editors/emacs21/patches/patch-af
markd 005073fa51 Reimport existing emacs packages as emacs21{,-nox11} to allow
subsequent update of emacs packages to version 22.
2007-06-11 13:38:24 +00:00

23 lines
656 B
Text

$NetBSD: patch-af,v 1.1 2007/06/11 13:38:34 markd Exp $
--- src/m/pmax.h.orig 2006-11-02 00:11:05.000000000 +1300
+++ src/m/pmax.h
@@ -22,13 +22,17 @@ NOTE-END */
#ifdef MACH
#define START_FILES pre-crt0.o /usr/lib/crt0.o
#else
+#if !defined (__NetBSD__)
/* This line starts being needed with ultrix 4.0. */
/* You must delete it for version 3.1. */
#define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o
#endif
+#endif
-#if defined (__NetBSD__) || defined (__OpenBSD__)
+#if defined (__OpenBSD__)
#undef START_FILES
+#endif
+#if defined (__NetBSD__) || defined (__OpenBSD__)
#undef RUN_TIME_REMAP
#undef UNEXEC
#define UNEXEC unexelf.o