summaryrefslogtreecommitdiff
path: root/textproc/enchant
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-11-13 21:19:45 +0000
committerrillig <rillig@pkgsrc.org>2007-11-13 21:19:45 +0000
commite7b49b80ed10390f53a972b13c567905f13201a7 (patch)
treee9ddb88019f3f996cba11928f965efba2069c563 /textproc/enchant
parent93856e2c7f16b1e75720c9ef6d8b6f9414b70da0 (diff)
downloadpkgsrc-e7b49b80ed10390f53a972b13c567905f13201a7.tar.gz
<cstdio> only defines std::FILE, not FILE. Noticed on Solaris 10.
Diffstat (limited to 'textproc/enchant')
-rw-r--r--textproc/enchant/distinfo4
-rw-r--r--textproc/enchant/patches/patch-aa15
-rw-r--r--textproc/enchant/patches/patch-ab15
3 files changed, 33 insertions, 1 deletions
diff --git a/textproc/enchant/distinfo b/textproc/enchant/distinfo
index 63d2a787249..979c61f6d5a 100644
--- a/textproc/enchant/distinfo
+++ b/textproc/enchant/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.7 2006/12/05 10:28:27 wiz Exp $
+$NetBSD: distinfo,v 1.8 2007/11/13 21:19:45 rillig Exp $
SHA1 (enchant-1.3.0.tar.gz) = 140ffd2798d94e5f77cc28a37086c75b830f07d8
RMD160 (enchant-1.3.0.tar.gz) = c2025152d0e6ff4441abeb9606e01cfe99e84bad
Size (enchant-1.3.0.tar.gz) = 539040 bytes
+SHA1 (patch-aa) = 65bc94dfeef4fefdf7a16d33e02c0950fe2a7881
+SHA1 (patch-ab) = 80ef782fe11bd7ad04b71bd224d9a87fc4fc8bd8
diff --git a/textproc/enchant/patches/patch-aa b/textproc/enchant/patches/patch-aa
new file mode 100644
index 00000000000..ccde65723cd
--- /dev/null
+++ b/textproc/enchant/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2007/11/13 21:19:45 rillig Exp $
+
+<cstdio> does not declare FILE, it only declares std::FILE.
+
+--- src/myspell/affixmgr.hxx.orig 2006-01-12 23:51:52.000000000 +0100
++++ src/myspell/affixmgr.hxx 2007-11-13 21:44:53.000000000 +0100
+@@ -2,7 +2,7 @@
+ #define _AFFIXMGR_HXX_
+ #include <cstdlib>
+ #include <cstring>
+-#include <cstdio>
++#include <stdio.h>
+
+ #include "atypes.hxx"
+ #include "baseaffix.hxx"
diff --git a/textproc/enchant/patches/patch-ab b/textproc/enchant/patches/patch-ab
new file mode 100644
index 00000000000..06ba578ac34
--- /dev/null
+++ b/textproc/enchant/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2007/11/13 21:19:45 rillig Exp $
+
+<cstdio> does not declare FILE, it only declares std::FILE.
+
+--- src/myspell/hashmgr.hxx.orig 2006-01-06 11:04:02.000000000 +0100
++++ src/myspell/hashmgr.hxx 2007-11-13 21:45:15.000000000 +0100
+@@ -1,7 +1,7 @@
+ #ifndef _HASHMGR_HXX_
+ #define _HASHMGR_HXX_
+
+-#include <cstdio>
++#include <stdio.h>
+ #include "htypes.hxx"
+
+ enum flag { FLAG_CHAR, FLAG_LONG, FLAG_NUM, FLAG_UNI };