mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
Fix build with -fno-common
PR: 248880 Approved by: pi (maintainer)
This commit is contained in:
parent
f4af22b296
commit
41b5d1258f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546101
11
net-mgmt/pmacct/files/patch-src_nfacctd.c
Normal file
11
net-mgmt/pmacct/files/patch-src_nfacctd.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/nfacctd.c.orig 2020-08-24 15:07:56 UTC
|
||||
+++ src/nfacctd.c
|
||||
@@ -49,7 +49,7 @@ struct template_cache tpl_cache;
|
||||
struct host_addr debug_a;
|
||||
char debug_agent_addr[50];
|
||||
u_int16_t debug_agent_port;
|
||||
-struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */
|
||||
+extern struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */
|
||||
|
||||
/* Functions */
|
||||
void usage_daemon(char *prog_name)
|
11
net-mgmt/pmacct/files/patch-src_pmacctd.c
Normal file
11
net-mgmt/pmacct/files/patch-src_pmacctd.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/pmacctd.c.orig 2020-08-24 15:11:03 UTC
|
||||
+++ src/pmacctd.c
|
||||
@@ -41,7 +41,7 @@
|
||||
#include "jhash.h"
|
||||
|
||||
/* variables to be exported away */
|
||||
-struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */
|
||||
+extern struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */
|
||||
|
||||
/* Functions */
|
||||
void usage_daemon(char *prog_name)
|
11
net-mgmt/pmacct/files/patch-src_pmbgpd.c
Normal file
11
net-mgmt/pmacct/files/patch-src_pmbgpd.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/pmbgpd.c.orig 2020-08-24 15:02:08 UTC
|
||||
+++ src/pmbgpd.c
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "thread_pool.h"
|
||||
|
||||
/* global var */
|
||||
-struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */
|
||||
+extern struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */
|
||||
|
||||
/* Functions */
|
||||
void usage_daemon(char *prog_name)
|
11
net-mgmt/pmacct/files/patch-src_pmbmpd.c
Normal file
11
net-mgmt/pmacct/files/patch-src_pmbmpd.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/pmbmpd.c.orig 2020-08-24 14:59:55 UTC
|
||||
+++ src/pmbmpd.c
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "net_aggr.h"
|
||||
|
||||
/* global var */
|
||||
-struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */
|
||||
+extern struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */
|
||||
|
||||
/* Functions */
|
||||
void usage_daemon(char *prog_name)
|
11
net-mgmt/pmacct/files/patch-src_pmtelemetryd.c
Normal file
11
net-mgmt/pmacct/files/patch-src_pmtelemetryd.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/pmtelemetryd.c.orig 2020-08-24 15:00:31 UTC
|
||||
+++ src/pmtelemetryd.c
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "net_aggr.h"
|
||||
|
||||
/* global var */
|
||||
-struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */
|
||||
+extern struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */
|
||||
|
||||
/* Functions */
|
||||
void usage_daemon(char *prog_name)
|
11
net-mgmt/pmacct/files/patch-src_sfacctd.c
Normal file
11
net-mgmt/pmacct/files/patch-src_sfacctd.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/sfacctd.c.orig 2020-08-24 15:09:12 UTC
|
||||
+++ src/sfacctd.c
|
||||
@@ -50,7 +50,7 @@
|
||||
#endif
|
||||
|
||||
/* variables to be exported away */
|
||||
-struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */
|
||||
+extern struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */
|
||||
int sfacctd_counter_backend_methods;
|
||||
struct bgp_misc_structs *sf_cnt_misc_db;
|
||||
struct host_addr debug_a;
|
Loading…
Reference in New Issue
Block a user