summaryrefslogtreecommitdiff
path: root/www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-clang16.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-clang16.patch')
-rw-r--r--www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-clang16.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-clang16.patch b/www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-clang16.patch
new file mode 100644
index 000000000000..38c7b6852f29
--- /dev/null
+++ b/www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-clang16.patch
@@ -0,0 +1,19 @@
+Need to rename the declarations in md5.h using cpp too.
+
+https://bugs.gentoo.org/870841
+--- a/libradius/porting.h
++++ b/libradius/porting.h
+@@ -15,12 +15,12 @@
+
+ #else
+
+-#include "md5.h"
+ #define MD5_DIGEST_LENGTH 16
+ #define MD5Final xrad_MD5Final
+ #define MD5Init xrad_MD5Init
+ #define MD5Pad xrad_MD5Pad
+ #define MD5Update xrad_MD5Update
++#include "md5.h"
+
+ #endif
+