gentoo/www-apache/mod_auth_xradius/files/mod_auth_xradius-0.4.6-clang16.patch
Ionen Wolkens 04cfb64931
www-apache/mod_auth_xradius: fix build with upcoming clang16
Revbump shouldn't mean much for gcc here, but do it anyway in case.

Closes: https://bugs.gentoo.org/870841
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2022-10-05 20:33:31 -04:00

20 lines
387 B
Diff

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