diff options
author | jperkin <jperkin@pkgsrc.org> | 2021-09-28 12:55:59 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2021-09-28 12:55:59 +0000 |
commit | ecdbd574ecd762f7b24079b1a489d89554d39dcd (patch) | |
tree | 8970eadd68c2309bf7eb8637db283d2de853d5f1 | |
parent | b11839e6e1747fe8c7ff68d91f1d6da006090d99 (diff) | |
download | pkgsrc-ecdbd574ecd762f7b24079b1a489d89554d39dcd.tar.gz |
libv4l: Support GCC >= 10.
-rw-r--r-- | graphics/libv4l/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/libv4l/Makefile b/graphics/libv4l/Makefile index b8e1cd91d43..37f4d25dcd2 100644 --- a/graphics/libv4l/Makefile +++ b/graphics/libv4l/Makefile @@ -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 |