summaryrefslogtreecommitdiff
path: root/databases/postgresql-plv8js/files/patch-plv8_func.cc
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-04-30 04:34:35 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-04-30 04:34:35 +0000
commit85dfccf0f626741f6e830beea072959a642a2bd6 (patch)
tree50eed44c0de27f4a1650b6c063f35d1b90c1424b /databases/postgresql-plv8js/files/patch-plv8_func.cc
parentgraphics/inventor: Fix build with libc++ 3.8.0 (diff)
databases/postgresql-plv8js: Fix build with libc++ 3.8.0
PR: 208526 Submitted by: dim Approved by: vanilla (maintainer)
Notes
Notes: svn path=/head/; revision=414328
Diffstat (limited to 'databases/postgresql-plv8js/files/patch-plv8_func.cc')
-rw-r--r--databases/postgresql-plv8js/files/patch-plv8_func.cc26
1 files changed, 26 insertions, 0 deletions
diff --git a/databases/postgresql-plv8js/files/patch-plv8_func.cc b/databases/postgresql-plv8js/files/patch-plv8_func.cc
new file mode 100644
index 000000000000..656f27398989
--- /dev/null
+++ b/databases/postgresql-plv8js/files/patch-plv8_func.cc
@@ -0,0 +1,26 @@
+--- plv8_func.cc.orig 2015-05-26 19:46:56.000000000 +0200
++++ plv8_func.cc 2016-04-04 17:11:11.341047000 +0200
+@@ -10,11 +10,6 @@
+ #include <sstream>
+
+ extern "C" {
+-#define delete delete_
+-#define namespace namespace_
+-#define typeid typeid_
+-#define typename typename_
+-#define using using_
+
+ #include "access/xact.h"
+ #include "catalog/pg_type.h"
+@@ -23,11 +18,6 @@ extern "C" {
+ #include "utils/builtins.h"
+ #include "utils/lsyscache.h"
+
+-#undef delete
+-#undef namespace
+-#undef typeid
+-#undef typename
+-#undef using
+ } // extern "C"
+
+ using namespace v8;