summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-04-13 22:51:15 +0200
committerDavid Seifert <soap@gentoo.org>2020-04-13 22:51:15 +0200
commitb68b79a1a751dec9be9b1e292a137c0c0acf9cd0 (patch)
treeb7beef185b5ec1153bb62e1aa69e0e1e67e3e6dc /sys-auth/ykpers/files
parentx11-misc/py3status: version bump (diff)
downloadgentoo-b68b79a1a751dec9be9b1e292a137c0c0acf9cd0.tar.gz
gentoo-b68b79a1a751dec9be9b1e292a137c0c0acf9cd0.tar.bz2
gentoo-b68b79a1a751dec9be9b1e292a137c0c0acf9cd0.zip
sys-auth/ykpers: Fix building with -fno-common
Closes: https://bugs.gentoo.org/706848 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Seifert <soap@gentoo.org>
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,