summaryrefslogtreecommitdiff
path: root/community/hardinfo/fixsensors.patch
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-01-01 15:38:30 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-01-01 15:38:30 +0100
commitb63a03da360e5a18e9044e7058ae69898db5ffb0 (patch)
tree2901728a2c53e2eb590d577db1531ee2976a2cbf /community/hardinfo/fixsensors.patch
parent73346505421c2d923e13e2020dd31ddd764b8fe4 (diff)
parent26ac5932cb02318206fa6a528ed4bd82ad6af87c (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/blender/PKGBUILD community/cdfs/PKGBUILD community/cdfs/cdfs.install community/mc/PKGBUILD community/open-vm-tools-modules/PKGBUILD community/open-vm-tools-modules/modprobe.conf community/open-vm-tools-modules/open-vm-tools-modules.install community/open-vm-tools/PKGBUILD community/open-vm-tools/open-vm-tools.conf.d community/open-vm-tools/open-vm-tools.rc.d community/open-vm-tools/scripts-network-FS19541.patch community/pekwm/PKGBUILD community/r8168-lts/PKGBUILD community/simutrans/PKGBUILD community/spectrwm/PKGBUILD community/supertuxkart/PKGBUILD community/tp_smapi/PKGBUILD community/tp_smapi/tp_smapi.install community/vhba-module/PKGBUILD community/vhba-module/vhba-module.install core/gcc/PKGBUILD core/glibc/PKGBUILD extra/fcgi/PKGBUILD extra/gst-plugins-bad/PKGBUILD extra/imap/PKGBUILD extra/kdebase-runtime/PKGBUILD extra/lirc/PKGBUILD extra/lirc/lirc.install extra/llvm/PKGBUILD extra/nvidia-304xx-utils/PKGBUILD extra/ruby/PKGBUILD extra/xscreensaver/PKGBUILD
Diffstat (limited to 'community/hardinfo/fixsensors.patch')
-rw-r--r--community/hardinfo/fixsensors.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/hardinfo/fixsensors.patch b/community/hardinfo/fixsensors.patch
new file mode 100644
index 000000000..812c29458
--- /dev/null
+++ b/community/hardinfo/fixsensors.patch
@@ -0,0 +1,13 @@
+ diff -upNr hardinfo-0.4.2.2.orign/util.c hardinfo-0.4.2.2/util.c
+--- hardinfo-0.4.2.2.orign/util.c 2007-07-20 16:45:08.000000000 +0200
++++ hardinfo-0.4.2.2/util.c 2007-07-26 10:15:32.000000000 +0200
+@@ -996,7 +996,8 @@ gchar *h_strdup_cprintf(const gchar * fo
+ if (source) {
+ retn = g_strconcat(source, buffer, NULL);
+ g_free(buffer);
+- g_free(source);
++ if(strlen(source))
++ g_free(source);
+ } else {
+ retn = buffer;
+ }