From owner-svn-ports-all@freebsd.org Wed Mar 6 06:53:55 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D614152DE0C; Wed, 6 Mar 2019 06:53:55 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E31A1779BF; Wed, 6 Mar 2019 06:53:54 +0000 (UTC) (envelope-from matthew@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D81A027E16; Wed, 6 Mar 2019 06:53:54 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x266rsri042206; Wed, 6 Mar 2019 06:53:54 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x266rsFd042205; Wed, 6 Mar 2019 06:53:54 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <201903060653.x266rsFd042205@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Wed, 6 Mar 2019 06:53:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r494778 - in head/databases/pglogical: . files X-SVN-Group: ports-head X-SVN-Commit-Author: matthew X-SVN-Commit-Paths: in head/databases/pglogical: . files X-SVN-Commit-Revision: 494778 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E31A1779BF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.94)[-0.937,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2019 06:53:55 -0000 Author: matthew Date: Wed Mar 6 06:53:54 2019 New Revision: 494778 URL: https://svnweb.freebsd.org/changeset/ports/494778 Log: Fix compilation with postgresql11. With previous versions of postgresql, was included automatically as part of the postgres module building environment. But it needs to be included explicitly for the most recent postgres. Submitted by: andriy@irbisnet.com Added: head/databases/pglogical/files/extra-patch-pglogical__apply__spi.c (contents, props changed) Modified: head/databases/pglogical/Makefile Modified: head/databases/pglogical/Makefile ============================================================================== --- head/databases/pglogical/Makefile Wed Mar 6 06:46:24 2019 (r494777) +++ head/databases/pglogical/Makefile Wed Mar 6 06:53:54 2019 (r494778) @@ -36,6 +36,10 @@ PLIST_SUB+= PGSQL94="" PLIST_SUB+= PGSQL94="@comment " .endif +.if ${PGSQL_VER} >= 11 +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-pglogical__apply__spi.c +.endif + # FFI #TEST_DEPENDS= pg_regress:databases/postgresql${PGSQL_VER_NODOT}-pg_regress #TEST_TARGET= do-test Added: head/databases/pglogical/files/extra-patch-pglogical__apply__spi.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pglogical/files/extra-patch-pglogical__apply__spi.c Wed Mar 6 06:53:54 2019 (r494778) @@ -0,0 +1,10 @@ +--- pglogical_apply_spi.c.orig 2019-03-06 06:44:31 UTC ++++ pglogical_apply_spi.c +@@ -16,6 +16,7 @@ + */ + #include + #include ++#include + + #include "postgres.h" +