summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel <dilfridge@gentoo.org>2021-01-01 12:28:10 +0200
committerAndreas K. Huettel <dilfridge@gentoo.org>2021-01-01 12:28:38 +0200
commite47ebc6c160cad1de9f7484eabb0bd750d00d0e1 (patch)
treefb70feafe2935c4a1053f8746ee1aba2c2542d4e /app-misc/fdutils/files
parentnet-wireless/bladerf: Fix build with gcc-10 (diff)
downloadgentoo-e47ebc6c160cad1de9f7484eabb0bd750d00d0e1.tar.gz
gentoo-e47ebc6c160cad1de9f7484eabb0bd750d00d0e1.tar.bz2
gentoo-e47ebc6c160cad1de9f7484eabb0bd750d00d0e1.zip
app-misc/fdutils: Fix build with gcc-10
Closes: https://bugs.gentoo.org/706822 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>
Diffstat (limited to 'app-misc/fdutils/files')
-rw-r--r--app-misc/fdutils/files/fdutils-5.5.20060227-gcc10.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-misc/fdutils/files/fdutils-5.5.20060227-gcc10.patch b/app-misc/fdutils/files/fdutils-5.5.20060227-gcc10.patch
new file mode 100644
index 000000000000..2bda41e11255
--- /dev/null
+++ b/app-misc/fdutils/files/fdutils-5.5.20060227-gcc10.patch
@@ -0,0 +1,20 @@
+Description: Fix ftbfs with GCC-10
+
+Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
+Bug-Debian: https://bugs.debian.org/957200
+Forwarded: no
+
+---
+
+--- fdutils-5.5-20060227.orig/src/superformat.h
++++ fdutils-5.5-20060227/src/superformat.h
+@@ -97,7 +97,7 @@ int compute_all_sequences(struct params
+ void compute_track0_sequence(struct params *fd);
+ int calc_skews(struct params *fd0, struct params *fd, int n);
+ extern int verbosity;
+-int header_size;
+-int index_size;
++extern int header_size;
++extern int index_size;
+
+ #endif