ports/net/quagga/patches/patch-tests_bgp_mpath_test_c

15 lines
340 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Fix for -fno-common
Index: tests/bgp_mpath_test.c
--- tests/bgp_mpath_test.c.orig
+++ tests/bgp_mpath_test.c
@@ -73,7 +73,7 @@ struct testcase_t__ {
/* need these to link in libbgp */
struct thread_master *master = NULL;
-struct zclient *zclient;
+extern struct zclient *zclient;
struct zebra_privs_t bgpd_privs =
{
.user = NULL,