[sparc64/base-gcc] Fix build of graphics/azpainter

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[sparc64/base-gcc] Fix build of graphics/azpainter

Kurt Mosiejczuk-9
azpainter fails to build with base-gcc unless "-std=gnu99" is
specified.  This patch does that and fixed the build.

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/azpainter/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile 20 May 2020 17:06:29 -0000 1.2
+++ Makefile 22 May 2020 14:20:23 -0000
@@ -29,6 +29,8 @@ RUN_DEPENDS = devel/desktop-file-utils \
 CONFIGURE_STYLE = simple
 CONFIGURE_ARGS = CC="${CC}"
 
+CFLAGS += -std=gnu99
+
 USE_GMAKE = Yes
 
 NO_TEST = Yes