diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-08-01 03:10:28 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-08-01 03:10:28 +0000 |
commit | 85f094755acbc36c009d5503aa26cc41b2a76551 (patch) | |
tree | d6e620797abfa65a9ef69e8eb605690e36b7b699 | |
parent | 22324cb70dcf17207d90243db9270d5a09bfdfca (diff) | |
download | ports-85f094755acbc36c009d5503aa26cc41b2a76551.tar.gz ports-85f094755acbc36c009d5503aa26cc41b2a76551.zip |
Fix build on 6
Approved by: girgen (maintainer) is away
Obtained from: mjl on #bsdports
Notes
Notes:
svn path=/head/; revision=140601
-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)]; + |