diff options
author | kbowling <kbowling@FreeBSD.org> | 2018-09-13 06:15:53 +0800 |
---|---|---|
committer | kbowling <kbowling@FreeBSD.org> | 2018-09-13 06:15:53 +0800 |
commit | 85bc1436758354ac6122e079b90e108dd5285e92 (patch) | |
tree | 7380816f5744d89f082813e91860e830afd58995 /databases/timescaledb/files | |
parent | 6de3d1f31ccb51e0da1de7daeeed64c32f4985ad (diff) | |
download | freebsd-ports-gnome-85bc1436758354ac6122e079b90e108dd5285e92.tar.gz freebsd-ports-gnome-85bc1436758354ac6122e079b90e108dd5285e92.tar.zst freebsd-ports-gnome-85bc1436758354ac6122e079b90e108dd5285e92.zip |
databases/timescaledb: Update to 0.12.0
Approved by: krion (mentor)
Differential Revision: https://reviews.freebsd.org/D17129
Diffstat (limited to 'databases/timescaledb/files')
-rw-r--r-- | databases/timescaledb/files/patch-src_net_conn__plain.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/timescaledb/files/patch-src_net_conn__plain.c b/databases/timescaledb/files/patch-src_net_conn__plain.c new file mode 100644 index 000000000000..a6b9a7edeb18 --- /dev/null +++ b/databases/timescaledb/files/patch-src_net_conn__plain.c @@ -0,0 +1,22 @@ +--- src/net/conn_plain.c.orig 2018-09-12 05:10:16 UTC ++++ src/net/conn_plain.c +@@ -2,6 +2,10 @@ + #include <postgres.h> + #include <pg_config.h> + ++#ifndef WIN32 ++#include <sys/socket.h> ++#endif ++ + #include "conn_internal.h" + #include "conn_plain.h" + +@@ -25,7 +29,7 @@ plain_connect(Connection *conn, const char *host, cons + char strport[6]; + struct addrinfo *ainfo, + hints = { +- .ai_family = PF_UNSPEC, ++ .ai_family = AF_UNSPEC, + .ai_socktype = SOCK_STREAM, + }; + int ret; |