base-gcc needs to be told to use c99 for geary to build.

This fixes the build of geary on sparc64 (and presumably other base-gcc
arches).

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/geary/Makefile,v
retrieving revision 1.59
diff -u -r1.59 Makefile
--- Makefile    14 May 2020 14:54:45 -0000      1.59
+++ Makefile    9 Jun 2020 20:39:07 -0000
@@ -31,6 +31,8 @@
                        
-Diso_639_xml=${LOCALBASE}/share/xml/iso-codes/iso_639.xml \
                        
-Diso_3166_xml=${LOCALBASE}/share/xml/iso-codes/iso_3166.xml
 
+CFLAGS +=              -std=gnu99
+
 RUN_DEPENDS=           devel/iso-codes
 
 BUILD_DEPENDS=         devel/appstream-glib \

Reply via email to