pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/haproxy haproxy: Don't set _XOPEN_SOURCE_EXTENDED=1
details: https://anonhg.NetBSD.org/pkgsrc/rev/edd8c7523b64
branches: trunk
changeset: 443299:edd8c7523b64
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Dec 10 09:34:21 2020 +0000
description:
haproxy: Don't set _XOPEN_SOURCE_EXTENDED=1
This breaks the _XOPEN_SOURCE logic, forcing XPG4v2 to be selected regardless
of what _XOPEN_SOURCE is set to. Fixes SunOS build.
diffstat:
net/haproxy/distinfo | 6 +++---
net/haproxy/patches/patch-src_haproxy.c | 5 ++---
net/haproxy/patches/patch-src_sock.c | 5 ++---
3 files changed, 7 insertions(+), 9 deletions(-)
diffs (66 lines):
diff -r 35f56b1b9586 -r edd8c7523b64 net/haproxy/distinfo
--- a/net/haproxy/distinfo Thu Dec 10 09:20:08 2020 +0000
+++ b/net/haproxy/distinfo Thu Dec 10 09:34:21 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.63 2020/12/06 17:42:28 otis Exp $
+$NetBSD: distinfo,v 1.64 2020/12/10 09:34:21 jperkin Exp $
SHA1 (haproxy-2.3.2.tar.gz) = 12de35c18989b92ec27ec560ab51ce40993c601d
RMD160 (haproxy-2.3.2.tar.gz) = fb4c5fce40e3e428433a310800e1323fad9c2c49
@@ -6,6 +6,6 @@
Size (haproxy-2.3.2.tar.gz) = 2903983 bytes
SHA1 (patch-Makefile) = fcb2de85189526ae42ccf0b789789ee9b834f375
SHA1 (patch-src_cli.c) = 4bc5cf0116df121ac4c3c38b8f962c3a62d536e5
-SHA1 (patch-src_haproxy.c) = f0cd9d00f7d970bd3efa751b1584657ed14bcb7d
+SHA1 (patch-src_haproxy.c) = a466acb853b5018b70571d0a03b9d28ed9245d06
SHA1 (patch-src_proto__sockpair.c) = 4d389c1f12d060517b8038ada9f0f4b5c87cf519
-SHA1 (patch-src_sock.c) = a27ab68da8f8c26881fd61ce8ffffed2bf251e32
+SHA1 (patch-src_sock.c) = fd573e97669cfc02ed446f99d84464f251253f06
diff -r 35f56b1b9586 -r edd8c7523b64 net/haproxy/patches/patch-src_haproxy.c
--- a/net/haproxy/patches/patch-src_haproxy.c Thu Dec 10 09:20:08 2020 +0000
+++ b/net/haproxy/patches/patch-src_haproxy.c Thu Dec 10 09:34:21 2020 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_haproxy.c,v 1.3 2020/12/06 17:42:28 otis Exp $
+$NetBSD: patch-src_haproxy.c,v 1.4 2020/12/10 09:34:21 jperkin Exp $
Special handling for XPG4_2 on SunOS.
--- src/haproxy.c.orig 2020-11-28 15:51:33.000000000 +0000
+++ src/haproxy.c
-@@ -26,6 +26,14 @@
+@@ -26,6 +26,13 @@
*/
#define _GNU_SOURCE
@@ -14,7 +14,6 @@
+# else
+#define _XOPEN_SOURCE 600
+# endif
-+#define _XOPEN_SOURCE_EXTENDED 1
+#endif
#include <stdio.h>
#include <stdlib.h>
diff -r 35f56b1b9586 -r edd8c7523b64 net/haproxy/patches/patch-src_sock.c
--- a/net/haproxy/patches/patch-src_sock.c Thu Dec 10 09:20:08 2020 +0000
+++ b/net/haproxy/patches/patch-src_sock.c Thu Dec 10 09:34:21 2020 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_sock.c,v 1.1 2020/12/06 17:42:28 otis Exp $
+$NetBSD: patch-src_sock.c,v 1.2 2020/12/10 09:34:21 jperkin Exp $
Special handling for XPG4_2 on SunOS.
--- src/sock.c.orig 2020-11-28 15:51:33.000000000 +0000
+++ src/sock.c
-@@ -11,6 +11,14 @@
+@@ -11,6 +11,13 @@
*/
#define _GNU_SOURCE
@@ -14,7 +14,6 @@
+# else
+#define _XOPEN_SOURCE 600
+# endif
-+#define _XOPEN_SOURCE_EXTENDED 1
+#endif
#include <ctype.h>
#include <errno.h>
Home |
Main Index |
Thread Index |
Old Index