SOURCES: gkrellm-lm_sensors.patch (NEW) - look only for sensors.h; ...

draenog draenog at pld-linux.org
Fri Oct 26 01:50:46 CEST 2007


Author: draenog                      Date: Thu Oct 25 23:50:46 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- look only for sensors.h; sensors.conf may be not present on builder

---- Files affected:
SOURCES:
   gkrellm-lm_sensors.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gkrellm-lm_sensors.patch
diff -u /dev/null SOURCES/gkrellm-lm_sensors.patch:1.1
--- /dev/null	Fri Oct 26 01:50:46 2007
+++ SOURCES/gkrellm-lm_sensors.patch	Fri Oct 26 01:50:41 2007
@@ -0,0 +1,22 @@
+--- gkrellm-2.3.0.orig/src/configure	2007-10-26 00:12:06.000000000 +0200
++++ gkrellm-2.3.0/src/configure	2007-10-26 01:37:14.000000000 +0200
+@@ -125,19 +125,10 @@
+ echo "Checking for libsensors... " 1>& 5
+ 
+ cat << EOF > test.c
+-#include <stdio.h>
+ #include <sensors/sensors.h>
+ 
+ int main()
+ 	{
+-	FILE	*f;
+-
+-	f = fopen("/etc/sensors.conf", "r");
+-	if (!f)
+-		return 1;
+-	if (sensors_init(f) != 0)
+-		return 1;
+-	fclose(f);
+ 	return 0;
+ 	}
+ EOF
================================================================


More information about the pld-cvs-commit mailing list