pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/spice-protocol Fix build on platforms where t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bab0c2f02907
branches:  trunk
changeset: 450802:bab0c2f02907
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Apr 21 16:51:40 2021 +0000

description:
Fix build on platforms where the default compiler is GCC < 6

diffstat:

 sysutils/spice-protocol/buildlink3.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r d0aaa3d38474 -r bab0c2f02907 sysutils/spice-protocol/buildlink3.mk
--- a/sysutils/spice-protocol/buildlink3.mk     Wed Apr 21 15:48:03 2021 +0000
+++ b/sysutils/spice-protocol/buildlink3.mk     Wed Apr 21 16:51:40 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2013/06/03 11:21:03 rodent Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2021/04/21 16:51:40 pho Exp $
 
 BUILDLINK_TREE+=       spice-protocol
 
@@ -9,6 +9,11 @@
 
 BUILDLINK_API_DEPENDS.spice-protocol+= spice-protocol>=0.12.5
 BUILDLINK_PKGSRCDIR.spice-protocol?=   ../../sysutils/spice-protocol
+
+# spice/enums.h uses __attribute__(__deprecated__) on enums, which is
+# only available on GCC 6 or later.
+GCC_REQD+=     6
+
 .endif # SPICE_PROTOCOL_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -spice-protocol



Home | Main Index | Thread Index | Old Index