summaryrefslogtreecommitdiff
path: root/recipes/gpe-conf/gpe-conf-0.2.5
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gpe-conf/gpe-conf-0.2.5')
-rw-r--r--recipes/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch11
-rw-r--r--recipes/gpe-conf/gpe-conf-0.2.5/wireless.patch16
2 files changed, 27 insertions, 0 deletions
diff --git a/recipes/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch b/recipes/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch
new file mode 100644
index 0000000000..7a953c25ec
--- /dev/null
+++ b/recipes/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);
diff --git a/recipes/gpe-conf/gpe-conf-0.2.5/wireless.patch b/recipes/gpe-conf/gpe-conf-0.2.5/wireless.patch
new file mode 100644
index 0000000000..4e52f8b092
--- /dev/null
+++ b/recipes/gpe-conf/gpe-conf-0.2.5/wireless.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- gpe-conf-0.2.5/modules/sysinfo.c~wireless
++++ gpe-conf-0.2.5/modules/sysinfo.c
+@@ -28,6 +28,8 @@
+ #include <sys/utsname.h>
+
+ #include <sys/socket.h>
++#include <linux/types.h>
++#include <linux/if.h>
+ #include <linux/wireless.h>
+ #include <sys/ioctl.h>
+