Control: tags 957327 + patch
Control: tags 957327 + pending

Dear maintainer,

I've prepared an NMU for hardinfo (versioned as 0.5.1+git20180227-2.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

--
Regards
Sudip

diff -Nru hardinfo-0.5.1+git20180227/debian/changelog 
hardinfo-0.5.1+git20180227/debian/changelog
--- hardinfo-0.5.1+git20180227/debian/changelog 2018-12-24 05:56:13.000000000 
+0000
+++ hardinfo-0.5.1+git20180227/debian/changelog 2020-08-09 22:16:41.000000000 
+0100
@@ -1,3 +1,10 @@
+hardinfo (0.5.1+git20180227-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957327)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Sun, 09 Aug 2020 22:16:41 
+0100
+
 hardinfo (0.5.1+git20180227-2) unstable; urgency=medium
 
   * Change my email to tsimo...@debian.org now that I am a Debian Developer.
diff -Nru hardinfo-0.5.1+git20180227/debian/patches/fix_ftbfs.patch 
hardinfo-0.5.1+git20180227/debian/patches/fix_ftbfs.patch
--- hardinfo-0.5.1+git20180227/debian/patches/fix_ftbfs.patch   1970-01-01 
01:00:00.000000000 +0100
+++ hardinfo-0.5.1+git20180227/debian/patches/fix_ftbfs.patch   2020-08-09 
22:16:03.000000000 +0100
@@ -0,0 +1,29 @@
+Description: Fix ftbfs with GCC-10
+ The enum variable is not used, use that as the enum name to declare it.
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+Bug-Debian: https://bugs.debian.org/957327
+Forwarded: no
+
+---
+
+--- hardinfo-0.5.1+git20180227.orig/includes/benchmark.h
++++ hardinfo-0.5.1+git20180227/includes/benchmark.h
+@@ -5,7 +5,7 @@
+ 
+ extern ProgramParameters params;
+ 
+-enum {
++enum BenchmarkEntries {
+     BENCHMARK_BLOWFISH,
+     BENCHMARK_CRYPTOHASH,
+     BENCHMARK_FIB,
+@@ -15,7 +15,7 @@ enum {
+     BENCHMARK_RAYTRACE,
+     BENCHMARK_GUI,
+     BENCHMARK_N_ENTRIES
+-} BenchmarkEntries;
++};
+ 
+ void benchmark_bfish(void);
+ void benchmark_cryptohash(void);
diff -Nru hardinfo-0.5.1+git20180227/debian/patches/series 
hardinfo-0.5.1+git20180227/debian/patches/series
--- hardinfo-0.5.1+git20180227/debian/patches/series    1970-01-01 
01:00:00.000000000 +0100
+++ hardinfo-0.5.1+git20180227/debian/patches/series    2020-08-09 
22:00:12.000000000 +0100
@@ -0,0 +1 @@
+fix_ftbfs.patch

Reply via email to