pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/libv4l libv4l: Support GCC >= 10.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8c9abe62414
branches:  trunk
changeset: 459006:a8c9abe62414
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 28 12:55:59 2021 +0000

description:
libv4l: Support GCC >= 10.

diffstat:

 graphics/libv4l/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1e6f93931a1b -r a8c9abe62414 graphics/libv4l/Makefile
--- a/graphics/libv4l/Makefile  Tue Sep 28 12:55:12 2021 +0000
+++ b/graphics/libv4l/Makefile  Tue Sep 28 12:55:59 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2020/11/20 18:25:07 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2021/09/28 12:55:59 jperkin Exp $
 
 LIBV4L_VERS=   1.20.0
 DISTNAME=      v4l-utils-${LIBV4L_VERS}
@@ -61,7 +61,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].*)
 CPPFLAGS.SunOS+=       -D_XOPEN_SOURCE=600
 .else
 CPPFLAGS.SunOS+=       -D_XOPEN_SOURCE=500



Home | Main Index | Thread Index | Old Index