> http://build-failures.rhaalovely.net/sparc64/2019-11-08/x11/libdbusmenu.log

It's broken because of glib2 deprecation notices and the port being
built with `-Werror'.

I didn't patch makefiles; the flag can be found in all of them.
Once `-Wno-error' is provided, it builds fine on macppc [0].

As it's just about removing warnings upgrade to errors, REVISION bump
is unneeded.

Comments/feedback are welcome,

Charlène.


[0] https://bin.charlenew.xyz/libdbusmenu-16.04.0p1.log


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/libdbusmenu/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile    1 Nov 2019 15:45:29 -0000       1.7
+++ Makefile    12 Nov 2019 17:38:18 -0000
@@ -41,6 +41,8 @@ BUILD_DEPENDS =       devel/gettext,-tools \
 LIB_DEPENDS =  x11/gtk+3 \
                devel/json-glib
 
+# -Werror breaks the build with gcc due to glib2 deprecation notices
+CFLAGS +=      -Wno-error
 
 .include <bsd.port.arch.mk>
 .if ${PROPERTIES:Mclang}

Reply via email to