libgdiplus fails to compile with base-gcc. There are a bunch of warnings
talking about C99 inline functions, but adding -std=gnu99 to CFLAGS does
*not* fix the build. Moving to ports-gcc does though. This fixes the build
for sparc64 (and presumably other base-gcc architectures)

ok?

(cc maintainer)

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/libgdiplus/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile    12 Jun 2020 14:57:07 -0000      1.29
+++ Makefile    25 Jul 2020 21:17:52 -0000
@@ -24,6 +24,9 @@ WANTLIB += lzma zstd
 
 MASTER_SITES=  http://download.mono-project.com/sources/libgdiplus/
 
+COMPILER=      base-clang ports-gcc ports-clang
+COMPILER_LANGS =       c
+
 LIB_DEPENDS=   devel/gettext,-runtime \
                graphics/cairo \
                graphics/tiff \

Reply via email to