aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-08-20 19:27:39 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-08-20 19:27:39 +0000
commitc9e57b4d417794df127aa0de4074a6dc54fadb6f (patch)
treecf1bcbcfbe951bfc38fc1fd9432a50ec1676a5c5 /security
parent21b9a645280ff3a7cb75973c3a8031291c4317a6 (diff)
downloadports-c9e57b4d417794df127aa0de4074a6dc54fadb6f.tar.gz
ports-c9e57b4d417794df127aa0de4074a6dc54fadb6f.zip
MFH: r545467
security/ykpers: Fix build with -fno-common Add a patch from upstream to fix the build with -fno-common, which is the default with llvm 11. Approved by: ports-secteam (joenum)
Notes
Notes: svn path=/branches/2020Q3/; revision=545555
Diffstat (limited to 'security')
-rw-r--r--security/ykpers/files/patch-09ea16d9.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/ykpers/files/patch-09ea16d9.c b/security/ykpers/files/patch-09ea16d9.c
new file mode 100644
index 000000000000..685416fbba65
--- /dev/null
+++ b/security/ykpers/files/patch-09ea16d9.c
@@ -0,0 +1,15 @@
+diff --git a/ykpers-args.h b/ykpers-args.h
+index 2a63268..9ff455a 100644
+--- ykpers-args.h
++++ ykpers-args.h
+@@ -33,8 +33,8 @@
+
+ #include "ykpers.h"
+
+-const char *usage;
+-const char *optstring;
++extern const char *usage;
++extern const char *optstring;
+
+ int args_to_config(int argc, char **argv, YKP_CONFIG *cfg, char *oathid,
+ size_t oathid_len, const char **infname,