diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-07 16:45:47 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-07 16:45:47 +0000 |
commit | 6de7cd0f8c7f2e9c976e5cd43cbb2bbadec8f5d7 (patch) | |
tree | 70b6a30a871e65bc31a2b6d47048905b2ab1ae87 /editors/abiword/patches | |
parent | d2fae502d08a9cda8766bb99aa7cc3fb34aa53c5 (diff) | |
download | pkgsrc-6de7cd0f8c7f2e9c976e5cd43cbb2bbadec8f5d7.tar.gz |
Add DragonFly support. The libiconv conditional is nasty -- libiconv
adopts the iconv interface of the underlaying OS and DragonFly follows
SUS there.
Diffstat (limited to 'editors/abiword/patches')
-rw-r--r-- | editors/abiword/patches/patch-ab | 4 | ||||
-rw-r--r-- | editors/abiword/patches/patch-ac | 18 |
2 files changed, 20 insertions, 2 deletions
diff --git a/editors/abiword/patches/patch-ab b/editors/abiword/patches/patch-ab index 90de7ff9add..a1c19884a0e 100644 --- a/editors/abiword/patches/patch-ab +++ b/editors/abiword/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.12 2005/10/04 09:55:06 adam Exp $ +$NetBSD: patch-ab,v 1.13 2005/12/07 16:45:47 joerg Exp $ --- src/af/util/xp/ut_iconv.cpp.orig 2005-07-08 16:22:11.000000000 +0000 +++ src/af/util/xp/ut_iconv.cpp @@ -8,7 +8,7 @@ $NetBSD: patch-ab,v 1.12 2005/10/04 09:55:06 adam Exp $ defined (__AIX__) || \ -(defined(__linux__) && defined(__powerpc__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 1)) +(defined(__linux__) && defined(__powerpc__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 1)) || \ -+defined(__NetBSD__) || (defined(_LIBICONV_VERSION) && _LIBICONV_VERSION >= 0x0109) ++defined(__NetBSD__) || (defined(_LIBICONV_VERSION) && _LIBICONV_VERSION >= 0x0109 && !defined(__DragonFly__)) #define ICONV_CONST const #else diff --git a/editors/abiword/patches/patch-ac b/editors/abiword/patches/patch-ac new file mode 100644 index 00000000000..0aecbd21553 --- /dev/null +++ b/editors/abiword/patches/patch-ac @@ -0,0 +1,18 @@ +$NetBSD: patch-ac,v 1.15 2005/12/07 16:45:47 joerg Exp $ + +--- src/af/util/xp/ut_endian.h.orig 2005-12-06 22:03:57.000000000 +0000 ++++ src/af/util/xp/ut_endian.h +@@ -47,6 +47,13 @@ + #else + #define UT_BIG_ENDIAN + #endif ++#elif defined(__DragonFly__) ++ #include <sys/endian.h> ++ #if _BYTE_ORDER == _LITTLE_ENDIAN ++ #define UT_LITTLE_ENDIAN ++ #else ++ #define UT_BIG_ENDIAN ++ #endif + #elif defined(__sgi) + #include <sys/endian.h> + #if BYTE_ORDER == LITTLE_ENDIAN |