summaryrefslogtreecommitdiff
path: root/geography/opencpn/patches/patch-src_printtable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'geography/opencpn/patches/patch-src_printtable.cpp')
-rw-r--r--geography/opencpn/patches/patch-src_printtable.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/geography/opencpn/patches/patch-src_printtable.cpp b/geography/opencpn/patches/patch-src_printtable.cpp
new file mode 100644
index 00000000000..a9d70a3e89f
--- /dev/null
+++ b/geography/opencpn/patches/patch-src_printtable.cpp
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_printtable.cpp,v 1.3 2017/09/25 22:31:25 joerg Exp $
+
+Repeat after me: I don't know what 3rd party headers are doing, so I
+won't inflict my namespace decisions on them.
+
+--- src/printtable.cpp.orig 2017-09-25 20:13:02.634455468 +0000
++++ src/printtable.cpp
+@@ -28,7 +28,6 @@
+ #include <sstream>
+ #include <vector>
+ #include <algorithm>
+-using namespace std;
+
+ #include "wx/wxprec.h"
+
+@@ -74,6 +73,8 @@ using namespace std;
+
+ #include "printtable.h"
+
++using namespace std;
++
+ void PrintCell::Init( const wxString& _content, wxDC* _dc, int _width, int _cellpadding, bool _bold_font )
+ {
+ bold_font = _bold_font;