pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/spice-protocol



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Apr 21 16:51:40 UTC 2021

Modified Files:
        pkgsrc/sysutils/spice-protocol: buildlink3.mk

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/spice-protocol/buildlink3.mk

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

Modified files:

Index: pkgsrc/sysutils/spice-protocol/buildlink3.mk
diff -u pkgsrc/sysutils/spice-protocol/buildlink3.mk:1.1 pkgsrc/sysutils/spice-protocol/buildlink3.mk:1.2
--- pkgsrc/sysutils/spice-protocol/buildlink3.mk:1.1    Mon Jun  3 11:21:03 2013
+++ pkgsrc/sysutils/spice-protocol/buildlink3.mk        Wed Apr 21 16:51:40 2021
@@ -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_DEPMETHOD.spice-protocol?=   bui
 
 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