http://build-failures.rhaalovely.net/sparc64/2020-07-20/x11/gtk+4,-cups.log

Using base-gcc gives lots of "redundant declaration of " errors.
Using ports-gcc and adding -Wno-error fixes the build.

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/gtk+4/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile    19 May 2020 12:00:40 -0000      1.25
+++ Makefile    27 Jul 2020 20:40:03 -0000
@@ -36,6 +36,9 @@ MODULES=              devel/dconf \
                        lang/python \
                        x11/gnome
 
+COMPILER=              base-clang ports-gcc ports-clang
+COMPILER_LANGS=                c
+
 MODGNOME_TOOLS=                docbook gobject-introspection 
gtk-update-icon-cache \
                        desktop-file-utils
 
@@ -90,6 +93,8 @@ CONFIGURE_ARGS=               -Dwayland-backend=false
                        -Dprint-backends=file,cups,lpr \
                        -Dvulkan=no \
                        -Dman-pages=true
+
+CFLAGS +=              -Wno-error
 
 # sync with devel/spidermonkey60 (ONLY_FOR_ARCHS):
 # colord -> polkit -> spidermonkey60

Reply via email to