diff options
author | rillig <rillig> | 2006-06-07 19:19:28 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-06-07 19:19:28 +0000 |
commit | 9a58a1f0aa3d925037815fd46a4261eb1a1a75f4 (patch) | |
tree | 0de8869a077f6b6eac7a0c57d77dcc6917a7cfb3 /editors/abiword/patches | |
parent | 7fa0f76bb97964745e0cc9e47c59e17ca0a4c51b (diff) | |
download | pkgsrc-9a58a1f0aa3d925037815fd46a4261eb1a1a75f4.tar.gz |
Solaris is identified by the __sun macro, not SunOS.
Diffstat (limited to 'editors/abiword/patches')
-rw-r--r-- | editors/abiword/patches/patch-ac | 15 |
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 |