mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
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@irbisnet.com
This commit is contained in:
parent
9bc5e0522a
commit
fc02e3fd43
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494778
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user