summaryrefslogtreecommitdiff
path: root/textproc/enchant/patches/patch-aa
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
commit849f7356bb9c06fc48c36f20ea1070b1a980ed09 (patch)
treee9ddb88019f3f996cba11928f965efba2069c563 /textproc/enchant/patches/patch-aa
parent485e264ceb146b62f458d0b0ade890d11f431989 (diff)
downloadpkgsrc-849f7356bb9c06fc48c36f20ea1070b1a980ed09.tar.gz
<cstdio> only defines std::FILE, not FILE. Noticed on Solaris 10.
Diffstat (limited to 'textproc/enchant/patches/patch-aa')
-rw-r--r--textproc/enchant/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
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"