diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-12-14 20:26:19 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-12-14 20:26:19 +0000 |
commit | e960d7b6808723342f30dcfecc11cbdd2513c60d (patch) | |
tree | fad509a9a7e01102f3663748d335ca2a5dd3b95e /chinese/stardict | |
parent | This diff will enable the jigdo port to compile on a FreeBSD system, which (diff) |
Fix build on -current
PR: 46259
Submitted by: kcwu@kcwu.dyndns.org
Notes
Notes:
svn path=/head/; revision=71635
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 000000000000..523ad4076460 --- /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 000000000000..911101b92a2c --- /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" |