diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-05-29 20:49:05 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-07 10:08:08 -0500 |
commit | a6b7d25bd68b330b63e5d9471346a3f39d1eac0d (patch) | |
tree | 7fcaebee56fb29019dd71a524f680a31360ff44b /user/yubikey-personalization/gcc10.patch | |
parent | 803468584d029d1948fbedf8d1f44df0647ce19a (diff) | |
download | packages-a6b7d25bd68b330b63e5d9471346a3f39d1eac0d.tar.gz packages-a6b7d25bd68b330b63e5d9471346a3f39d1eac0d.tar.bz2 packages-a6b7d25bd68b330b63e5d9471346a3f39d1eac0d.tar.xz packages-a6b7d25bd68b330b63e5d9471346a3f39d1eac0d.zip |
user/yubikey-personalization: Patches
* Update for GCC 10 compatibility.
* Memory safety issues.
Diffstat (limited to 'user/yubikey-personalization/gcc10.patch')
-rw-r--r-- | user/yubikey-personalization/gcc10.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/user/yubikey-personalization/gcc10.patch b/user/yubikey-personalization/gcc10.patch new file mode 100644 index 000000000..0e09e821e --- /dev/null +++ b/user/yubikey-personalization/gcc10.patch @@ -0,0 +1,25 @@ +From 09ea16d9e2030e4da6ad00c1e5147e962aa7ff84 Mon Sep 17 00:00:00 2001 +From: Klas Lindfors <klas@yubico.com> +Date: Mon, 17 Feb 2020 08:58:33 +0100 +Subject: [PATCH] make header declarations extern + +fixes #155 +--- + ykpers-args.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/ykpers-args.h b/ykpers-args.h +index 2a63268d..9ff455a7 100644 +--- 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, |