pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/enchant <cstdio> only defines std::FILE, not ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4daae08d7bbf
branches:  trunk
changeset: 535331:4daae08d7bbf
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Nov 13 21:19:45 2007 +0000

description:
<cstdio> only defines std::FILE, not FILE. Noticed on Solaris 10.

diffstat:

 textproc/enchant/distinfo         |   4 +++-
 textproc/enchant/patches/patch-aa |  15 +++++++++++++++
 textproc/enchant/patches/patch-ab |  15 +++++++++++++++
 3 files changed, 33 insertions(+), 1 deletions(-)

diffs (50 lines):

diff -r 4921e0ed8331 -r 4daae08d7bbf textproc/enchant/distinfo
--- a/textproc/enchant/distinfo Tue Nov 13 19:53:11 2007 +0000
+++ b/textproc/enchant/distinfo Tue Nov 13 21:19:45 2007 +0000
@@ -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 -r 4921e0ed8331 -r 4daae08d7bbf textproc/enchant/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/enchant/patches/patch-aa Tue Nov 13 21:19:45 2007 +0000
@@ -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 -r 4921e0ed8331 -r 4daae08d7bbf textproc/enchant/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/enchant/patches/patch-ab Tue Nov 13 21:19:45 2007 +0000
@@ -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 };



Home | Main Index | Thread Index | Old Index