FreeBSD just added -fcommon, but this doesn't look too bad.
Tests pass on my laptop.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/quagga/Makefile,v
retrieving revision 1.62
diff -u -p -r1.62 Makefile
--- Makefile 22 Jan 2021 15:58:13 -0000 1.62
+++ Makefile 3 Feb 2021 23:30:22 -0000
@@ -3,7 +3,7 @@
COMMENT= multi-threaded routing daemon
DISTNAME= quagga-1.2.4
-REVISION= 1
+REVISION= 2
CATEGORIES= net
.for i in ospf ospfapiclient zebra fpm_pb quagga_pb
Index: patches/patch-pimd_pim_version_h
===================================================================
RCS file: patches/patch-pimd_pim_version_h
diff -N patches/patch-pimd_pim_version_h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-pimd_pim_version_h 3 Feb 2021 23:31:18 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+Fix for -fno-common
+
+Index: pimd/pim_version.h
+--- pimd/pim_version.h.orig
++++ pimd/pim_version.h
+@@ -25,6 +25,6 @@
+
+ #define PIMD_VERSION_STR "0.166"
+
+-const char * const PIMD_VERSION;
++extern const char * const PIMD_VERSION;
+
+
No comments:
Post a Comment