Reorganize the templates directory for possible future changes.
Now every template uses its own directory. Patches, prepost* files and other related stuff are stored there. --HG-- extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
This commit is contained in:
11
templates/gkrellm/gkrellm-fix-sensors.diff
Normal file
11
templates/gkrellm/gkrellm-fix-sensors.diff
Normal 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;
|
||||
Reference in New Issue
Block a user