[SCM] KDE Base Workspace module packaging branch, master, updated. debian/4.11.11-1-13-g7178fa8

Maximiliano Curia maxy at moszumanska.debian.org
Sun Sep 21 20:03:29 UTC 2014


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-sc/kde-workspace.git;a=commitdiff;h=08ab5eb

The following commit has been merged in the master branch:
commit 08ab5ebab0d93d4244bbb09593319c3d24871a66
Author: Maximiliano Curia <maxy at debian.org>
Date:   Sun Sep 21 16:20:58 2014 +0200

    New patch: ksysguardd_acpi_valgrind_complain
---
 debian/changelog                                 |  1 +
 debian/patches/ksysguardd_acpi_valgrind_complain | 13 +++++++++++++
 debian/patches/series                            |  1 +
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6b17238..7c152bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ kde-workspace (4:4.11.12-1~) UNRELEASED; urgency=medium
 
   * New upstream release (4.11.12).
   * New patch: check_if_SensorMgr
+  * New patch: ksysguardd_acpi_valgrind_complain
 
  -- Maximiliano Curia <maxy at debian.org>  Fri, 12 Sep 2014 20:36:27 +0200
 
diff --git a/debian/patches/ksysguardd_acpi_valgrind_complain b/debian/patches/ksysguardd_acpi_valgrind_complain
new file mode 100644
index 0000000..07b6b8f
--- /dev/null
+++ b/debian/patches/ksysguardd_acpi_valgrind_complain
@@ -0,0 +1,13 @@
+Index: kde-workspace/ksysguard/ksysguardd/Linux/acpi.c
+===================================================================
+--- kde-workspace.orig/ksysguard/ksysguardd/Linux/acpi.c	2014-09-21 16:12:31.822568934 +0200
++++ kde-workspace/ksysguard/ksysguardd/Linux/acpi.c	2014-09-21 16:20:05.548506199 +0200
+@@ -316,7 +316,7 @@
+ static int getSysFileValue(const char *group, int value, const char *file) {
+     static int shownError = 0;
+     char th_file[ ACPIFILENAMELENGTHMAX ];
+-    char input_buf[ 100 ];
++    char input_buf[ 100 ] = { 0 };
+     snprintf(th_file, sizeof(th_file), "/sys/class/thermal/%s%d/%s",group, value, file);
+     int fd = open(th_file, O_RDONLY);
+     if (fd < 0) {
diff --git a/debian/patches/series b/debian/patches/series
index 31a6367..2d9d5e7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -25,3 +25,4 @@ effect_gles_link_against_gles
 unlink_testsock
 kubuntu_avoid_zic_and_deep_copy_timezone_data.diff
 check_if_SensorMgr
+ksysguardd_acpi_valgrind_complain

-- 
KDE Base Workspace module packaging



More information about the pkg-kde-commits mailing list