pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libusb1 libusb1: require gcc>=4.7 for -std=c11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c84043d94b1
branches:  trunk
changeset: 445201:5c84043d94b1
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jan 18 09:22:19 2021 +0000

description:
libusb1: require gcc>=4.7 for -std=c11

diffstat:

 devel/libusb1/Makefile      |  4 +++-
 devel/libusb1/buildlink3.mk |  5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 425ea135e7d8 -r 5c84043d94b1 devel/libusb1/Makefile
--- a/devel/libusb1/Makefile    Sun Jan 17 23:01:53 2021 +0000
+++ b/devel/libusb1/Makefile    Mon Jan 18 09:22:19 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2020/12/18 23:06:19 nia Exp $
+# $NetBSD: Makefile,v 1.27 2021/01/18 09:22:19 nia Exp $
 
 DISTNAME=      libusb-1.0.24
 PKGNAME=       ${DISTNAME:S/libusb/libusb1/}
@@ -13,6 +13,8 @@
 COMMENT=       USB Access Library (version 1)
 LICENSE=       gnu-lgpl-v2.1
 
+GCC_REQD+=     4.7 # -std=c11
+
 # Works on Dragonfly but explicitly not wanted by DragonFly upstream;
 # see PR 47042.
 NOT_FOR_PLATFORM=      DragonFly-*-*
diff -r 425ea135e7d8 -r 5c84043d94b1 devel/libusb1/buildlink3.mk
--- a/devel/libusb1/buildlink3.mk       Sun Jan 17 23:01:53 2021 +0000
+++ b/devel/libusb1/buildlink3.mk       Mon Jan 18 09:22:19 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2020/05/25 06:47:40 plunky Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2021/01/18 09:22:19 nia Exp $
 
 BUILDLINK_TREE+=       libusb1
 
@@ -7,6 +7,9 @@
 
 BUILDLINK_API_DEPENDS.libusb1+=        libusb1>=1.0.9
 BUILDLINK_PKGSRCDIR.libusb1?=  ../../devel/libusb1
+
+GCC_REQD+=     4.7 # -std=c11
+
 .endif # LIBUSB1_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -libusb1



Home | Main Index | Thread Index | Old Index