diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2007-03-29 09:14:24 +0000 |
---|---|---|
committer | Philipp Zabel <philipp.zabel@gmail.com> | 2007-03-29 09:14:24 +0000 |
commit | 29ecffc666e166906ccaa73f65c2e12ea17a1769 (patch) | |
tree | c07be1632f86e3e46ffeeec943911102c2e71047 /packages/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch | |
parent | e2090647014fc0efe067f38b84e8369e61859fe9 (diff) |
gpe-conf: fix for http://bugs.linuxtogo.org/show_bug.cgi?id=42 by Manuel Teira
Diffstat (limited to 'packages/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch')
-rw-r--r-- | packages/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch b/packages/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch new file mode 100644 index 0000000000..7a953c25ec --- /dev/null +++ b/packages/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch @@ -0,0 +1,11 @@ +--- gpe-conf-0.2.5/modules/screen/brightness.c~brightness ++++ gpe-conf-0.2.5/modules/screen/brightness.c +@@ -216,7 +216,7 @@ + FILE *f_power; + gint value = SYS_STATE_ON; + +- f_power = fopen(SYS_BRIGHTNESS, "r"); ++ f_power = fopen(SYS_POWER, "r"); + if (f_power != NULL) + { + fscanf(f_power,"%i", &value); |