aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-01-15 05:18:06 +0800
committerarved <arved@FreeBSD.org>2003-01-15 05:18:06 +0800
commit2b0366319d0a6b9cee25a720c10e10633181c99c (patch)
tree89900614cb03021d3ad916b2d147df595f8f62dc /devel
parent6e62303da9992b96676ee6cd6ceda6c89eb11bea (diff)
downloadfreebsd-ports-gnome-2b0366319d0a6b9cee25a720c10e10633181c99c.tar.gz
freebsd-ports-gnome-2b0366319d0a6b9cee25a720c10e10633181c99c.tar.zst
freebsd-ports-gnome-2b0366319d0a6b9cee25a720c10e10633181c99c.zip
Fix build on CURRENT
PR: 46992 Submitted by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
Diffstat (limited to 'devel')
-rw-r--r--devel/cccc/files/patch-ae19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/cccc/files/patch-ae b/devel/cccc/files/patch-ae
new file mode 100644
index 000000000000..47d52a139cb2
--- /dev/null
+++ b/devel/cccc/files/patch-ae
@@ -0,0 +1,19 @@
+--- cccc_stg.h.orig Sun Aug 10 18:52:24 1997
++++ cccc_stg.h Sun Jan 12 15:15:42 2003
+@@ -13,6 +13,7 @@
+ #include <string.h>
+ #include <iostream.h>
+ #include <strstream.h>
++#include <fstream.h>
+
+ class CCCC_String {
+ char *cptr;
+@@ -63,7 +64,7 @@
+ // we will deliberately read too many characters from the stream,
+ // so the first thing we do is to mark our current position
+ streampos start=is.tellg();
+- int state=is.rdstate();
++ istream::iostate state=is.rdstate();
+
+ char buffer[MAX_IN_SIZE];
+ memset(buffer,0,MAX_IN_SIZE);