From owner-svn-ports-head@freebsd.org Sat Apr 30 04:34:36 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EB4BA9DED7; Sat, 30 Apr 2016 04:34:36 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 566DD10F7; Sat, 30 Apr 2016 04:34:36 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3U4YZjB065516; Sat, 30 Apr 2016 04:34:35 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3U4YZ5t065513; Sat, 30 Apr 2016 04:34:35 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201604300434.u3U4YZ5t065513@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sat, 30 Apr 2016 04:34:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414328 - head/databases/postgresql-plv8js/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2016 04:34:36 -0000 Author: pi Date: Sat Apr 30 04:34:35 2016 New Revision: 414328 URL: https://svnweb.freebsd.org/changeset/ports/414328 Log: databases/postgresql-plv8js: Fix build with libc++ 3.8.0 PR: 208526 Submitted by: dim Approved by: vanilla (maintainer) Added: head/databases/postgresql-plv8js/files/patch-plv8.cc (contents, props changed) head/databases/postgresql-plv8js/files/patch-plv8_func.cc (contents, props changed) head/databases/postgresql-plv8js/files/patch-plv8_type.cc (contents, props changed) Added: head/databases/postgresql-plv8js/files/patch-plv8.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/postgresql-plv8js/files/patch-plv8.cc Sat Apr 30 04:34:35 2016 (r414328) @@ -0,0 +1,27 @@ +--- plv8.cc.orig 2015-05-26 19:46:56.000000000 +0200 ++++ plv8.cc 2016-04-04 17:11:11.340628000 +0200 +@@ -9,11 +9,6 @@ + #include + + extern "C" { +-#define delete delete_ +-#define namespace namespace_ +-#define typeid typeid_ +-#define typename typename_ +-#define using using_ + + #if PG_VERSION_NUM >= 90300 + #include "access/htup_details.h" +@@ -32,12 +27,6 @@ extern "C" { + #include "utils/rel.h" + #include "utils/syscache.h" + +-#undef delete +-#undef namespace +-#undef typeid +-#undef typename +-#undef using +- + PG_MODULE_MAGIC; + + PG_FUNCTION_INFO_V1(plv8_call_handler); Added: head/databases/postgresql-plv8js/files/patch-plv8_func.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/postgresql-plv8js/files/patch-plv8_func.cc Sat Apr 30 04:34:35 2016 (r414328) @@ -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 + + 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; Added: head/databases/postgresql-plv8js/files/patch-plv8_type.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/postgresql-plv8js/files/patch-plv8_type.cc Sat Apr 30 04:34:35 2016 (r414328) @@ -0,0 +1,26 @@ +--- plv8_type.cc.orig 2015-05-26 19:46:56.000000000 +0200 ++++ plv8_type.cc 2016-04-04 17:11:11.341361000 +0200 +@@ -8,11 +8,6 @@ + #include "plv8.h" + + extern "C" { +-#define delete delete_ +-#define namespace namespace_ +-#define typeid typeid_ +-#define typename typename_ +-#define using using_ + + #if PG_VERSION_NUM >= 90300 + #include "access/htup_details.h" +@@ -29,11 +24,6 @@ extern "C" { + #include "utils/syscache.h" + #include "utils/typcache.h" + +-#undef delete +-#undef namespace +-#undef typeid +-#undef typename +-#undef using + } // extern "C" + + //#define CHECK_INTEGER_OVERFLOW