summaryrefslogtreecommitdiff
path: root/emulators/vba/patches/patch-src_expr.cpp
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-03-26 02:35:31 +0000
committerjoerg <joerg@pkgsrc.org>2020-03-26 02:35:31 +0000
commit2899bb537c00f2e2666c8c87b3a72a0a9df40328 (patch)
tree53485d1d40c1b381ef6557f50564392872565bb0 /emulators/vba/patches/patch-src_expr.cpp
parent49d8f735fb046f5948d55f3423c31cdd4ec27bcb (diff)
downloadpkgsrc-2899bb537c00f2e2666c8c87b3a72a0a9df40328.tar.gz
Deal with const issues. Do not put C headers into a namespace.
Diffstat (limited to 'emulators/vba/patches/patch-src_expr.cpp')
-rw-r--r--emulators/vba/patches/patch-src_expr.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/emulators/vba/patches/patch-src_expr.cpp b/emulators/vba/patches/patch-src_expr.cpp
new file mode 100644
index 00000000000..66bd5114a81
--- /dev/null
+++ b/emulators/vba/patches/patch-src_expr.cpp
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_expr.cpp,v 1.1 2020/03/26 02:35:31 joerg Exp $
+
+--- src/expr.cpp.orig 2020-03-26 02:01:18.613760749 +0000
++++ src/expr.cpp
+@@ -14,12 +14,10 @@
+
+ #line 1 "expr.y"
+
+-namespace std {
+ #include <stdio.h>
+ #include <memory.h>
+ #include <stdlib.h>
+ #include <string.h>
+-}
+
+ using namespace std;
+