summaryrefslogtreecommitdiff
path: root/editors/abiword1/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword1/patches/patch-af')
-rw-r--r--editors/abiword1/patches/patch-af18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/abiword1/patches/patch-af b/editors/abiword1/patches/patch-af
new file mode 100644
index 00000000000..d9d9e6b118e
--- /dev/null
+++ b/editors/abiword1/patches/patch-af
@@ -0,0 +1,18 @@
+$NetBSD: patch-af,v 1.1.1.1 2003/12/26 18:20:28 wiz Exp $
+
+--- src/other/spell/xp/ispell_def.h.orig Sun Apr 15 12:01:24 2001
++++ src/other/spell/xp/ispell_def.h
+@@ -2,3 +2,13 @@
+ #ifndef INPUTWORDLEN
+ #define INPUTWORDLEN 100
+ #endif
++
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#define PTRSIZE intptr_t
++#else
++#define PTRSIZE int
++#endif
++#if !defined(HAVE_INTTYPES_H) && defined(__alpha) && defined(__NetBSD__)
++#define PTRSIZE long
++#endif /* hack for 1.3 */