mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix build on CURRENT
PR: 46992 Submitted by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
This commit is contained in:
parent
aac1341857
commit
fbaefa9057
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73145
1 changed files with 19 additions and 0 deletions
19
devel/cccc/files/patch-ae
Normal file
19
devel/cccc/files/patch-ae
Normal file
|
@ -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);
|
Loading…
Add table
Reference in a new issue