From 2edb0610b9f6afaddc62c0c6ca27c7da3b6d567c Mon Sep 17 00:00:00 2001 From: hubertf Date: Thu, 18 Nov 2004 00:14:04 +0000 Subject: Make this build with latest gcc (3.x), using proper namespaces. --- print/cjk-lyx/patches/patch-ah | 12 ++++++++++++ print/cjk-lyx/patches/patch-ai | 13 +++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 print/cjk-lyx/patches/patch-ah create mode 100644 print/cjk-lyx/patches/patch-ai (limited to 'print/cjk-lyx/patches') 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; -- cgit v1.2.3