pkgsrc/misc/openoffice2/patches/patch-ac
hira 8d1204f94f - Use CONFIGURE_DIR.
- Fix "test ==".

From wiz@ in private e-mail.
2007-03-04 13:11:18 +00:00

22 lines
587 B
Text

$NetBSD: patch-ac,v 1.2 2007/03/04 13:11:18 hira Exp $
--- sal/inc/osl/endian.h.orig 2007-02-17 23:15:28.000000000 +0900
+++ sal/inc/osl/endian.h 2007-02-17 23:16:59.000000000 +0900
@@ -76,11 +76,14 @@
#ifdef NETBSD
# include <machine/endian.h>
# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
+# undef _BIG_ENDIAN
+# undef _PDP_ENDIAN
# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
+# undef _LITTLE_ENDIAN
+# undef _PDP_ENDIAN
# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
+# undef _LITTLE_ENDIAN
+# undef _BIG_ENDIAN
# endif
#endif