pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/screen screen: Support GCC >= 10.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b705d3bdbe4
branches:  trunk
changeset: 459003:5b705d3bdbe4
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 28 12:51:06 2021 +0000

description:
screen: Support GCC >= 10.

diffstat:

 misc/screen/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a648e95dd3a2 -r 5b705d3bdbe4 misc/screen/Makefile
--- a/misc/screen/Makefile      Tue Sep 28 12:50:01 2021 +0000
+++ b/misc/screen/Makefile      Tue Sep 28 12:51:06 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.119 2021/03/13 07:24:04 kim Exp $
+# $NetBSD: Makefile,v 1.120 2021/09/28 12:51:06 jperkin Exp $
 
 DISTNAME=      screen-4.8.0
 PKGREVISION=   4
@@ -46,7 +46,7 @@
 .include "../../mk/compiler.mk"
 
 .if ${OPSYS} == "SunOS"
-.  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].*)
 CPPFLAGS+=     -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
 .  else
 CPPFLAGS+=     -D_XOPEN_SOURCE=500 -D__EXTENSIONS__



Home | Main Index | Thread Index | Old Index