diff options
author | hubertf <hubertf@pkgsrc.org> | 2004-11-18 00:14:04 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2004-11-18 00:14:04 +0000 |
commit | 1aba78dd11261f9d2846182c35084fe885ddf9ff (patch) | |
tree | 7b020af93da3e74da2eecca52a42ef85bb1f170b /print/cjk-lyx/patches | |
parent | 14439cc9dd2981a04f7c8dd70fa9120daae02a7d (diff) | |
download | pkgsrc-1aba78dd11261f9d2846182c35084fe885ddf9ff.tar.gz |
Make this build with latest gcc (3.x), using proper namespaces.
Diffstat (limited to 'print/cjk-lyx/patches')
-rw-r--r-- | print/cjk-lyx/patches/patch-ah | 12 | ||||
-rw-r--r-- | print/cjk-lyx/patches/patch-ai | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/print/cjk-lyx/patches/patch-ah b/print/cjk-lyx/patches/patch-ah new file mode 100644 index 00000000000..fcf709928a2 --- /dev/null +++ b/print/cjk-lyx/patches/patch-ah @@ -0,0 +1,12 @@ +$NetBSD: patch-ah,v 1.1 2004/11/18 00:14:04 hubertf Exp $ + +--- src/lyxcodeconv.h.orig 2004-11-17 19:56:50.000000000 +0000 ++++ src/lyxcodeconv.h +@@ -14,6 +14,7 @@ using std::ifstream; + using std::fstream; + using std::ios; + using std::setw; ++using namespace std; + + #include "support/lyxstring.h" + #include "LString.h" diff --git a/print/cjk-lyx/patches/patch-ai b/print/cjk-lyx/patches/patch-ai new file mode 100644 index 00000000000..c28270d0c2f --- /dev/null +++ b/print/cjk-lyx/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.1 2004/11/18 00:14:04 hubertf Exp $ + +--- src/lyxim.C.orig 2004-11-17 20:11:34.000000000 +0000 ++++ src/lyxim.C +@@ -17,6 +17,8 @@ + #include "WorkArea.h" + #include "BufferView_pimpl.h" + ++using namespace std; ++ + #define DUMMY_FONT_NAME "-*-*-*-R-Normal--14-130-75-75-*-*" + + //extern FD_form_main *fd_form_main; |