diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
commit | feb0daf81d888e9160f9f94502de09b66f2a63fd (patch) | |
tree | b6e5c40ce2abef3da27ed50a023153f475e0ddef /dev-util/comparator/files | |
parent | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff) |
gentoo resync : 21.06.2020
Diffstat (limited to 'dev-util/comparator/files')
-rw-r--r-- | dev-util/comparator/files/comparator-2.12-gcc10.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/comparator/files/comparator-2.12-gcc10.patch b/dev-util/comparator/files/comparator-2.12-gcc10.patch new file mode 100644 index 000000000000..8ba6914129f8 --- /dev/null +++ b/dev-util/comparator/files/comparator-2.12-gcc10.patch @@ -0,0 +1,26 @@ +From c7fdc67aefb67851a1210c7d5adfc7287c4b6572 Mon Sep 17 00:00:00 2001 +From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com> +Date: Mon, 15 Jun 2020 01:14:24 +0300 +Subject: [PATCH] Fix compilation with GCC10 + +Fix compilation with -fno-common, which is enabled by default in GCC10. +--- + shred.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/shred.h b/shred.h +index d7eeb93..0e35b28 100644 +--- a/shred.h ++++ b/shred.h +@@ -100,7 +100,7 @@ extern int shredfile(struct filehdr_t *, + extern void sort_hashes(struct sorthash_t *hashlist, int hashcount); + + /* linebyline.c feature analyzer */ +-struct analyzer_t linebyline; ++extern struct analyzer_t linebyline; + + /* shredcompare.c functions */ + extern int merge_compare(struct sorthash_t *obarray, int hashcount); +-- +2.26.2 + |