summaryrefslogtreecommitdiff
path: root/sys-auth/ykpers/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
commit38423c67c8a23f6a1bc42038193182e2da3116eb (patch)
tree04e2cf4bd43601b77daa79fe654e409187093c5e /sys-auth/ykpers/files
parent623ee73d661e5ed8475cb264511f683407d87365 (diff)
gentoo resync : 25.04.2020
Diffstat (limited to 'sys-auth/ykpers/files')
-rw-r--r--sys-auth/ykpers/files/ykpers-1.20.0-fix-gcc10-fno-common.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-auth/ykpers/files/ykpers-1.20.0-fix-gcc10-fno-common.patch b/sys-auth/ykpers/files/ykpers-1.20.0-fix-gcc10-fno-common.patch
new file mode 100644
index 000000000000..dcff56ad0863
--- /dev/null
+++ b/sys-auth/ykpers/files/ykpers-1.20.0-fix-gcc10-fno-common.patch
@@ -0,0 +1,13 @@
+--- a/ykpers-args.h
++++ b/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,