summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-03-19 21:21:44 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-03-19 21:23:12 +0300
commit88da919fb87989caa7ab863ee3fa75bf09672c40 (patch)
treee9254ac53a8ffd1ebc5c187793feeb0b9dd47c2d /dev-libs/opensc/files
parentwww-client/microsoft-edge-dev: remove old (diff)
downloadgentoo-88da919fb87989caa7ab863ee3fa75bf09672c40.tar.gz
gentoo-88da919fb87989caa7ab863ee3fa75bf09672c40.tar.bz2
gentoo-88da919fb87989caa7ab863ee3fa75bf09672c40.zip
dev-libs/opensc: drop old
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'dev-libs/opensc/files')
-rw-r--r--dev-libs/opensc/files/opensc-0.20.0-gcc10.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/dev-libs/opensc/files/opensc-0.20.0-gcc10.patch b/dev-libs/opensc/files/opensc-0.20.0-gcc10.patch
deleted file mode 100644
index f96a1140872e..000000000000
--- a/dev-libs/opensc/files/opensc-0.20.0-gcc10.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 5450f61681d0c46c587dbe789bf19f1cb573e794 Mon Sep 17 00:00:00 2001
-From: Jakub Jelen <jjelen@redhat.com>
-Date: Mon, 10 Feb 2020 15:09:17 +0100
-Subject: [PATCH] Unbreak build with -fno-common (default in gcc10)
-
----
- src/tests/p11test/p11test.c | 3 +++
- src/tests/p11test/p11test_common.h | 2 +-
- 2 files changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/src/tests/p11test/p11test.c b/src/tests/p11test/p11test.c
-index feecf6fb42..a16282cba3 100644
---- a/src/tests/p11test/p11test.c
-+++ b/src/tests/p11test/p11test.c
-@@ -34,6 +34,9 @@
-
- #define DEFAULT_P11LIB "../../pkcs11/.libs/opensc-pkcs11.so"
-
-+/* Global variable keeping information about token we are using */
-+token_info_t token;
-+
- void display_usage() {
- fprintf(stdout,
- " Usage:\n"
-diff --git a/src/tests/p11test/p11test_common.h b/src/tests/p11test/p11test_common.h
-index 2f3b238de0..9eb5cedecb 100644
---- a/src/tests/p11test/p11test_common.h
-+++ b/src/tests/p11test/p11test_common.h
-@@ -84,7 +84,7 @@ typedef struct {
- size_t num_keygen_mechs;
- } token_info_t;
-
--token_info_t token;
-+extern token_info_t token;
-
- #endif /* P11TEST_COMMON_H */
-