ykpers/ykpers-args-extern.patch
Maxim Burgerhout f21f4e9169 Fixing build error
Updating to release 5 and including a patch to 'extern' the definitions
of usage and optstring in ykpers-args.h to fix a build error on gcc10
2020-02-14 14:22:55 +01:00

13 lines
382 B
Diff

--- ykpers-args.h 2019-02-19 13:29:54.000000000 +0100
+++ ykpers-args.h.patch 2020-02-14 13:27:53.624129087 +0100
@@ -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,