summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/freeradius-client/files/freeradius-client-1.1.7-configure-clang16.patch')
-rw-r--r--net-dialup/freeradius-client/files/freeradius-client-1.1.7-configure-clang16.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-dialup/freeradius-client/files/freeradius-client-1.1.7-configure-clang16.patch b/net-dialup/freeradius-client/files/freeradius-client-1.1.7-configure-clang16.patch
new file mode 100644
index 000000000000..58cf78c6ff23
--- /dev/null
+++ b/net-dialup/freeradius-client/files/freeradius-client-1.1.7-configure-clang16.patch
@@ -0,0 +1,17 @@
+https://src.fedoraproject.org/rpms/freeradius-client/c/12ee8b567ce2a1b6637ad01e5806a15eeef410cc?branch=rawhide
+
+Add return type to main for autoconf check for C99 compliance.
+https://github.com/FreeRADIUS/freeradius-client/issues/113
+
+--- a/configure.in
++++ b/configure.in
+@@ -212,7 +212,7 @@ then
+ AC_TRY_RUN([
+ #include <sys/utsname.h>
+
+- main(int argc, char **argv)
++ int main(int argc, char **argv)
+ {
+ struct utsname uts;
+ uts.domainname[0] = '\0';
+