pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/libv4l



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Sep 28 12:55:59 UTC 2021

Modified Files:
        pkgsrc/graphics/libv4l: Makefile

Log Message:
libv4l: Support GCC >= 10.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/graphics/libv4l/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/libv4l/Makefile
diff -u pkgsrc/graphics/libv4l/Makefile:1.20 pkgsrc/graphics/libv4l/Makefile:1.21
--- pkgsrc/graphics/libv4l/Makefile:1.20        Fri Nov 20 18:25:07 2020
+++ pkgsrc/graphics/libv4l/Makefile     Tue Sep 28 12:55:59 2021
@@ -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 @@ PLIST_VARS=   needs_videoio
 
 .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