svn commit: r494778 - in head/databases/pglogical: . files
Matthew Seaman
matthew at FreeBSD.org
Wed Mar 6 06:53:55 UTC 2019
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, <arpa/inet.h> 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 at 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 <stdio.h>
+ #include <unistd.h>
++#include <arpa/inet.h>
+
+ #include "postgres.h"
+
More information about the svn-ports-head
mailing list