summaryrefslogtreecommitdiff
path: root/editors/abiword/patches
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-06-07 19:19:28 +0000
committerrillig <rillig@pkgsrc.org>2006-06-07 19:19:28 +0000
commit52347b695573de78b997d31808094ef5942f19d4 (patch)
tree0de8869a077f6b6eac7a0c57d77dcc6917a7cfb3 /editors/abiword/patches
parent68229b135c809b20b9644921654b87b7eadbeac0 (diff)
downloadpkgsrc-52347b695573de78b997d31808094ef5942f19d4.tar.gz
Solaris is identified by the __sun macro, not SunOS.
Diffstat (limited to 'editors/abiword/patches')
-rw-r--r--editors/abiword/patches/patch-ac15
1 files changed, 12 insertions, 3 deletions
diff --git a/editors/abiword/patches/patch-ac b/editors/abiword/patches/patch-ac
index 0aecbd21553..42005e50e01 100644
--- a/editors/abiword/patches/patch-ac
+++ b/editors/abiword/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.15 2005/12/07 16:45:47 joerg Exp $
+$NetBSD: patch-ac,v 1.16 2006/06/07 19:19:28 rillig Exp $
---- src/af/util/xp/ut_endian.h.orig 2005-12-06 22:03:57.000000000 +0000
-+++ src/af/util/xp/ut_endian.h
+--- src/af/util/xp/ut_endian.h.orig 2005-10-08 12:53:33.000000000 +0200
++++ src/af/util/xp/ut_endian.h 2006-06-07 21:15:51.188428052 +0200
@@ -47,6 +47,13 @@
#else
#define UT_BIG_ENDIAN
@@ -16,3 +16,12 @@ $NetBSD: patch-ac,v 1.15 2005/12/07 16:45:47 joerg Exp $
#elif defined(__sgi)
#include <sys/endian.h>
#if BYTE_ORDER == LITTLE_ENDIAN
+@@ -60,7 +67,7 @@
+ #else
+ #define UT_LITTLE_ENDIAN
+ #endif
+-#elif defined(SunOS) /* this is defined by src/config/platform/sunos.mk */
++#elif defined(SunOS) || defined(__sun) /* this is defined by src/config/platform/sunos.mk */
+ #include <sys/isa_defs.h>
+ #if defined(_BIG_ENDIAN)
+ #define UT_BIG_ENDIAN