Fix build with -fno-common

This commit is contained in:
Stefan Eßer 2020-09-29 22:19:57 +00:00
parent 474d4677eb
commit 95612db9f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550631
2 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= siproxd
PORTVERSION= 0.8.2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF

View File

@ -0,0 +1,11 @@
--- src/accessctl.c.orig 2015-09-13 08:43:04 UTC
+++ src/accessctl.c
@@ -34,7 +34,7 @@
static char const ident[]="$Id: accessctl.c 521 2015-09-13 08:43:04Z hb9xar $";
/* configuration storage */
-struct siproxd_config configuration;
+extern struct siproxd_config configuration;
/*