Added gkrellm-2.3.2 template. YES, IT WORKS!!!

--HG--
extra : convert_revision : 0af07729a7e7df1564846952ae2a60253c2d1fa8
This commit is contained in:
Juan RP 2008-10-10 07:38:56 +02:00
parent e12127b861
commit b76fe58826
3 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- src/sysdeps/netbsd.c.orig 2008-10-10 07:31:19.000000000 +0200
+++ src/sysdeps/netbsd.c 2008-10-10 07:31:46.000000000 +0200
@@ -505,7 +505,7 @@ gkrellm_sys_battery_read_data(void)
#endif
}
- fd = open(SENSORS_DIR, O_RDONLY);
+ fd = open(SENSORS_DIR, O_RDWR);
if (fd < 0) return;
data.sensor = battery_acpi_data[0].on_line_index;