summaryrefslogtreecommitdiff
path: root/editors/abiword/patches
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-10-29 07:42:38 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-10-29 07:42:38 +0000
commitc8b4611fc403d434a22e2f7d8b7e39a168a76a9a (patch)
tree56ac77c7ce24fd232c5d736b1190825b5dc5bd1b /editors/abiword/patches
parentb98a72d78885f224968efdefc9ca6bb8e5ed5489 (diff)
downloadpkgsrc-c8b4611fc403d434a22e2f7d8b7e39a168a76a9a.tar.gz
Apply tshiozak@'s fix for NetBSD >= 2.0, more information:
"Questions about iconv.h" on tech-userlevel@ mailing list. Bump PKGREVISION.
Diffstat (limited to 'editors/abiword/patches')
-rw-r--r--editors/abiword/patches/patch-ad24
1 files changed, 24 insertions, 0 deletions
diff --git a/editors/abiword/patches/patch-ad b/editors/abiword/patches/patch-ad
new file mode 100644
index 00000000000..12c1fcfba22
--- /dev/null
+++ b/editors/abiword/patches/patch-ad
@@ -0,0 +1,24 @@
+$NetBSD: patch-ad,v 1.13 2004/10/29 07:42:38 xtraeme Exp $
+
+--- src/af/util/xp/ut_iconv.h.orig 2004-10-29 09:29:57.000000000 +0200
++++ src/af/util/xp/ut_iconv.h 2004-10-29 09:30:03.000000000 +0200
+@@ -22,6 +22,8 @@
+ #ifndef UT_ICONV_H
+ #define UT_ICONV_H
+
++#include <sys/param.h>
++
+ #ifdef __cplusplus
+ /* make freebsd happy */
+ extern "C" {
+@@ -41,6 +43,10 @@
+
+ typedef iconv_t UT_iconv_t;
+
++#if defined(__NetBSD__) && __NetBSD_Version__ >= 200000000
++struct __tag_iconv_t { }; /* XXX: for catch/throw (ISO C++ 15.1)*/
++#endif
++
+ #define UT_ICONV_INVALID ((iconv_t)(-1))
+
+ #ifdef __cplusplus