forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
ab0131b
commit b68b79a
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
sys-auth/ykpers/files/ykpers-1.20.0-fix-gcc10-fno-common.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters