summaryrefslogtreecommitdiff
path: root/www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-fno-common.patch
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-02-13 11:27:16 +0100
committerDavid Seifert <soap@gentoo.org>2021-02-13 11:27:16 +0100
commit2005eb90003eb96281cbbec121fb6cf6ff0955cf (patch)
treeb409f2808d343b2fac7eff7756d0b0a202293f18 /www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-fno-common.patch
parentc887d4767cbf3663bcf3b30031c41e51a9e96bb4 (diff)
downloadgentoo-2005eb90003eb96281cbbec121fb6cf6ff0955cf.tar.gz
gentoo-2005eb90003eb96281cbbec121fb6cf6ff0955cf.tar.bz2
gentoo-2005eb90003eb96281cbbec121fb6cf6ff0955cf.zip
www-apache/mod_auth_xradius: Port to EAPI 7
* Fix build with gcc-10 Closes: https://bugs.gentoo.org/707610 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-fno-common.patch')
-rw-r--r--www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-fno-common.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-fno-common.patch b/www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-fno-common.patch
new file mode 100644
index 000000000000..d4c25fad0935
--- /dev/null
+++ b/www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-fno-common.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/707610
+--- a/include/mod_auth_xradius.h.in
++++ b/include/mod_auth_xradius.h.in
+@@ -41,7 +41,7 @@
+ */
+ #define HAVE_APR_MEMCACHE @have_apr_memcache@
+
+-module AP_MODULE_DECLARE_DATA auth_xradius_module;
++extern module AP_MODULE_DECLARE_DATA auth_xradius_module;
+
+ #define MOD_AUTH_XRADIUS_VERSION "@MOD_AUTH_XRADIUS_VERSION@"
+
+--- a/src/mod_auth_xradius.c
++++ b/src/mod_auth_xradius.c
+@@ -47,6 +47,7 @@ if (rvx != 0) { \
+ goto run_cleanup; \
+ }
+
++module AP_MODULE_DECLARE_DATA auth_xradius_module;
+ apr_proc_mutex_t *gmutex;
+ static int use_mutex;
+