psensor: port fix ftbfs psensor with gcc-11 on aramo.
This commit is contained in:
parent
05a3f2aa37
commit
ee91cb691d
2 changed files with 35 additions and 0 deletions
32
helpers/DATA/psensor/fix-ftbfs-debian-patch.patch
Normal file
32
helpers/DATA/psensor/fix-ftbfs-debian-patch.patch
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
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.mukherjee@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
|
||||
Loading…
Add table
Add a link
Reference in a new issue