Control: tags 984298 + patch
Control: tags 984298 + pending
--

Dear maintainer,

I've prepared an NMU for psensor (versioned as 1.1.5-1.4) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

-- 
Regards
Sudip

diff -Nru psensor-1.1.5/debian/changelog psensor-1.1.5/debian/changelog
--- psensor-1.1.5/debian/changelog      2021-02-06 19:50:55.000000000 +0000
+++ psensor-1.1.5/debian/changelog      2022-09-02 23:33:53.000000000 +0100
@@ -1,3 +1,10 @@
+psensor (1.1.5-1.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc-11. (Closes: #984298)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Fri, 02 Sep 2022 23:33:53 
+0100
+
 psensor (1.1.5-1.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru psensor-1.1.5/debian/patches/fix-ftbfs.patch 
psensor-1.1.5/debian/patches/fix-ftbfs.patch
--- psensor-1.1.5/debian/patches/fix-ftbfs.patch        1970-01-01 
01:00:00.000000000 +0100
+++ psensor-1.1.5/debian/patches/fix-ftbfs.patch        2022-09-02 
23:32:48.000000000 +0100
@@ -0,0 +1,20 @@
+Description: Fix FTBFS with gcc-11
+ Fix the indentation while keeping the logic same as before.
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+---
+
+Bug-Debian: https://bugs.debian.org/984298
+Forwarded: no
+
+--- psensor-1.1.5.orig/src/lib/pudisks2.c
++++ psensor-1.1.5/src/lib/pudisks2.c
+@@ -83,7 +83,7 @@ static void smart_update(struct psensor
+                       PROVIDER_NAME,
+                       data->path);
+ 
+-              data->last_smart_update = t;
++      data->last_smart_update = t;
+ }
+ 
+ void udisks2_psensor_list_update(struct psensor **sensors)
diff -Nru psensor-1.1.5/debian/patches/series 
psensor-1.1.5/debian/patches/series
--- psensor-1.1.5/debian/patches/series 2021-02-06 19:50:55.000000000 +0000
+++ psensor-1.1.5/debian/patches/series 2022-09-02 23:33:02.000000000 +0100
@@ -1,3 +1,4 @@
 0001-Update-rsensor.c-drop-is_error-macro-definition.patch
 14.patch
 ayatana-appindicator.patch
+fix-ftbfs.patch

Reply via email to