summaryrefslogtreecommitdiff
path: root/print/cjk-lyx/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>2004-11-18 00:14:04 +0000
committerhubertf <hubertf>2004-11-18 00:14:04 +0000
commit2edb0610b9f6afaddc62c0c6ca27c7da3b6d567c (patch)
tree7b020af93da3e74da2eecca52a42ef85bb1f170b /print/cjk-lyx/patches
parent53d2dc0f02f295f7123a0f1c6573bb9c91bfa13a (diff)
downloadpkgsrc-2edb0610b9f6afaddc62c0c6ca27c7da3b6d567c.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-ah12
-rw-r--r--print/cjk-lyx/patches/patch-ai13
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;