diff options
author | lawrance <lawrance@FreeBSD.org> | 2005-08-01 11:10:28 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2005-08-01 11:10:28 +0800 |
commit | 009673ec54971c9b5705f73a0e21d4d813cde2b5 (patch) | |
tree | 438dda5be4a5de9fb16e428ce2ed35b0415c1b81 /databases/postgresql73-server | |
parent | 58249b56f71405689b90906a963f0d006f3c4646 (diff) | |
download | freebsd-ports-gnome-009673ec54971c9b5705f73a0e21d4d813cde2b5.tar.gz freebsd-ports-gnome-009673ec54971c9b5705f73a0e21d4d813cde2b5.tar.zst freebsd-ports-gnome-009673ec54971c9b5705f73a0e21d4d813cde2b5.zip |
Fix build on 6
Approved by: girgen (maintainer) is away
Obtained from: mjl on #bsdports
Diffstat (limited to 'databases/postgresql73-server')
-rw-r--r-- | databases/postgresql73-server/files/patch-src-interfaces-libpq-fe-auth.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/databases/postgresql73-server/files/patch-src-interfaces-libpq-fe-auth.c b/databases/postgresql73-server/files/patch-src-interfaces-libpq-fe-auth.c new file mode 100644 index 000000000000..b006e905a948 --- /dev/null +++ b/databases/postgresql73-server/files/patch-src-interfaces-libpq-fe-auth.c @@ -0,0 +1,19 @@ +--- src/interfaces/libpq/fe-auth.c.orig Mon Aug 1 11:19:56 2005 ++++ src/interfaces/libpq/fe-auth.c Mon Aug 1 11:21:00 2005 +@@ -454,14 +454,13 @@ + struct iovec iov; + struct msghdr msg; + +-#ifdef HAVE_STRUCT_CMSGCRED ++#if defined(HAVE_STRUCT_CMSGCRED) + /* Prevent padding */ + char cmsgmem[sizeof(struct cmsghdr) + sizeof(struct cmsgcred)]; + + /* Point to start of first structure */ + struct cmsghdr *cmsg = (struct cmsghdr *) cmsgmem; +-#endif +-#ifdef HAVE_STRUCT_SOCKCRED ++#elif defined(HAVE_STRUCT_SOCKCRED) + /* Prevent padding */ + char cmsgmem[sizeof(struct cmsghdr) + sizeof(struct sockcred)]; + |