diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-12-14 20:26:19 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-12-14 20:26:19 +0000 |
commit | 9619e568ecf0b019d89657a0ceb8b03640dec53f (patch) | |
tree | 798fc8d0b91aff5a10fd87948618e32e91d4b2e3 /chinese/stardict | |
parent | c04a4b8f476b06e825f8685ccdbf957add8c6162 (diff) | |
download | FreeBSD-ports-9619e568ecf0b019d89657a0ceb8b03640dec53f.zip FreeBSD-ports-9619e568ecf0b019d89657a0ceb8b03640dec53f.tar.gz |
Fix build on -current
PR: 46259
Submitted by: kcwu@kcwu.dyndns.org
Diffstat (limited to 'chinese/stardict')
-rw-r--r-- | chinese/stardict/files/patch-src::image.h | 12 | ||||
-rw-r--r-- | chinese/stardict/files/patch-src::trans.h | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/chinese/stardict/files/patch-src::image.h b/chinese/stardict/files/patch-src::image.h new file mode 100644 index 0000000..523ad40 --- /dev/null +++ b/chinese/stardict/files/patch-src::image.h @@ -0,0 +1,12 @@ +--- src/image.h.orig Sun Dec 15 00:37:41 2002 ++++ src/image.h Sun Dec 15 00:37:45 2002 +@@ -17,7 +17,8 @@ + #ifndef IMAGE_H + #define IMAGE_H + +-#include <stdiostream.h> ++#include <iostream> ++using namespace std; + #include <stdlib.h> + #include <memory.h> + #include <string.h> diff --git a/chinese/stardict/files/patch-src::trans.h b/chinese/stardict/files/patch-src::trans.h new file mode 100644 index 0000000..911101b --- /dev/null +++ b/chinese/stardict/files/patch-src::trans.h @@ -0,0 +1,12 @@ +--- src/trans.h.orig Sun Dec 15 00:37:55 2002 ++++ src/trans.h Sun Dec 15 00:38:48 2002 +@@ -44,7 +44,7 @@ + #include <Xm/PushB.h> + #include <Xm/DrawnB.h> + #include <Xm/ArrowB.h> +-#include <strstream.h> +-#include <fstream.h> ++#include <sstream> ++#include <fstream> + + #include "regdef.h" |