openbsd-ports/editors/emacs21/patches/patch-src_s_openbsd.h
mark 2d9dcfd00b Emacs 21.1 import
Some of you may opt to stick with 20.x, as this is a typical beginning of
a major rev.  Maintainership is directed my way, so feed patches to me.

Thanks to A B <obsdfaq30@yahoo.com> for the submission.
2002-02-10 22:05:40 +00:00

14 lines
348 B
C

--- src/s/openbsd.h.orig Wed Mar 22 07:08:40 2000
+++ src/s/openbsd.h Wed Jan 30 18:53:08 2002
@@ -3,6 +3,10 @@
/* Get most of the stuff from bsd4.3 */
#include "bsd4-3.h"
+#if defined(__OpenBSD__) && defined(__powerpc__)
+#define __ELF__
+#endif
+
/* Get the rest of the stuff from that less-POSIX-conformant system */
#include "netbsd.h"