Fix the build on sparc64 (and presumably other base-gcc arches)

by specifying "-std=gnu99" and patching to remove "-Werror"

Input from aja

ok jca@

(Last commit was mistakenly done from within "patches", thus missing
Makefile)
This commit is contained in:
kmos 2020-04-23 14:39:39 +00:00
parent 9d40bb6ba2
commit 569478bf86

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.45 2020/04/03 10:32:09 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.46 2020/04/23 14:39:39 kmos Exp $
COMMENT= GTK client and libraries for SPICE remote desktop servers
@ -65,4 +65,7 @@ CONFIGURE_ARGS += -Dpolkit=disabled
# XXX requires the makecontext function (ucontext)
CONFIGURE_ARGS += -Dcoroutine=gthread
# base-gcc doesn't default to c99
CFLAGS += -std=gnu99
.include <bsd.port.mk>