pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/php-sockets php-sockets: Support GCC >= 10.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f480593a516
branches:  trunk
changeset: 459009:2f480593a516
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 28 12:57:56 2021 +0000

description:
php-sockets: Support GCC >= 10.

diffstat:

 net/php-sockets/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b9b03957e690 -r 2f480593a516 net/php-sockets/Makefile
--- a/net/php-sockets/Makefile  Tue Sep 28 12:57:17 2021 +0000
+++ b/net/php-sockets/Makefile  Tue Sep 28 12:57:56 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2019/11/03 11:45:49 rillig Exp $
+# $NetBSD: Makefile,v 1.17 2021/09/28 12:57:56 jperkin Exp $
 
 MODNAME=               sockets
 CATEGORIES+=           net
@@ -14,7 +14,7 @@
 
 .include "../../mk/compiler.mk"
 
-.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*)
+.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(CC_VERSION:Mgcc-1[0-9].*)
 CFLAGS.SunOS+=         -D_XOPEN_SOURCE=600
 .else
 CFLAGS.SunOS+=         -D_XOPEN_SOURCE=500     # msghdr extensions



Home | Main Index | Thread Index | Old Index