diff options
author | rillig <rillig> | 2007-11-13 21:19:45 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-11-13 21:19:45 +0000 |
commit | de983416d596a58ccc1db2ce172995fa663b1dfc (patch) | |
tree | e9ddb88019f3f996cba11928f965efba2069c563 /textproc/enchant | |
parent | 161fc13eb7da878185788de34a59d5e74d502fa5 (diff) | |
download | pkgsrc-de983416d596a58ccc1db2ce172995fa663b1dfc.tar.gz |
<cstdio> only defines std::FILE, not FILE. Noticed on Solaris 10.
Diffstat (limited to 'textproc/enchant')
-rw-r--r-- | textproc/enchant/distinfo | 4 | ||||
-rw-r--r-- | textproc/enchant/patches/patch-aa | 15 | ||||
-rw-r--r-- | textproc/enchant/patches/patch-ab | 15 |
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 }; |