base-gcc does not like "-Wpedantic". This patch removes it from CFLAGS.
Fixes the build on sparc64 (and presumably other base-gcc arches).

(cc maintainer)

--Kurt

Index: patches/patch-Makefile
===================================================================
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-Makefile      12 Apr 2020 02:38:54 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+base-gcc doesn't like -Wpedantic
+
+Index: Makefile
+--- Makefile.orig
++++ Makefile
+@@ -2,7 +2,7 @@
+ 
+ PREFIX=/usr/local
+ MANDIR=$(PREFIX)/share/man
+-ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra -Wpedantic
++ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra
+ OBJ=\
+       build.o\
+       deps.o\

Reply via email to