aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-23 03:12:45 +0800
committerStefan Eßer <se@FreeBSD.org>2020-09-23 03:12:45 +0800
commit66b4b33fabf63ca96ad63275e68708ec8118bc54 (patch)
tree0cc412f01d64e9375499e2ac6ed285a283c20c96
parented1a1fd78bc574df61552980328c1bfcd32ed05f (diff)
downloadfreebsd-ports-gnome-66b4b33fabf63ca96ad63275e68708ec8118bc54.tar.gz
freebsd-ports-gnome-66b4b33fabf63ca96ad63275e68708ec8118bc54.tar.zst
freebsd-ports-gnome-66b4b33fabf63ca96ad63275e68708ec8118bc54.zip
Fix build with -fno-common
-rw-r--r--net/gnu-radius/Makefile2
-rw-r--r--net/gnu-radius/files/patch-gnu_argp-ba.c8
2 files changed, 9 insertions, 1 deletions
diff --git a/net/gnu-radius/Makefile b/net/gnu-radius/Makefile
index 30f0cde1b873..09b0eaf04ab3 100644
--- a/net/gnu-radius/Makefile
+++ b/net/gnu-radius/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gnu-radius
PORTVERSION= 1.6.1
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= net
MASTER_SITES= GNU/radius
DISTNAME= radius-${PORTVERSION}
diff --git a/net/gnu-radius/files/patch-gnu_argp-ba.c b/net/gnu-radius/files/patch-gnu_argp-ba.c
new file mode 100644
index 000000000000..8c17bd0e1361
--- /dev/null
+++ b/net/gnu-radius/files/patch-gnu_argp-ba.c
@@ -0,0 +1,8 @@
+--- gnu/argp-ba.c.orig 2008-12-15 08:05:24 UTC
++++ gnu/argp-ba.c
+@@ -23,4 +23,4 @@
+ the ARGP_HELP_BUG_ADDR flag is set (as it is by various standard help
+ messages), embedded in a sentence that says something like `Report bugs to
+ ADDR.'. */
+-const char *argp_program_bug_address;
++extern const char *argp_program_bug_address;