summaryrefslogtreecommitdiff
path: root/packages/libopie
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libopie')
-rw-r--r--packages/libopie/libopie2/libopie2-tosa.patch14
-rw-r--r--packages/libopie/libopie2_1.2.4.bb3
2 files changed, 16 insertions, 1 deletions
diff --git a/packages/libopie/libopie2/libopie2-tosa.patch b/packages/libopie/libopie2/libopie2-tosa.patch
new file mode 100644
index 0000000000..f62c4643d1
--- /dev/null
+++ b/packages/libopie/libopie2/libopie2-tosa.patch
@@ -0,0 +1,14 @@
+Index: libopie2/opiecore/device/odevice_zaurus.cpp
+===================================================================
+--- libopie2.orig/opiecore/device/odevice_zaurus.cpp 2008-12-01 06:38:14.670256416 +0300
++++ libopie2/opiecore/device/odevice_zaurus.cpp 2008-12-01 07:47:16.045256590 +0300
+@@ -286,6 +286,9 @@ void Zaurus::init(const QString& cpu_inf
+ case Model_Zaurus_SL5500:
+ m_backlightdev = "/sys/class/backlight/locomo-bl/";
+ break;
++ case Model_Zaurus_SL6000:
++ m_backlightdev = "/sys/class/backlight/tosa_bl/";
++ break;
+ default:
+ m_backlightdev = "/sys/class/backlight/corgi-bl/";
+ }
diff --git a/packages/libopie/libopie2_1.2.4.bb b/packages/libopie/libopie2_1.2.4.bb
index ef1a4fb360..0634ad7d22 100644
--- a/packages/libopie/libopie2_1.2.4.bb
+++ b/packages/libopie/libopie2_1.2.4.bb
@@ -1,9 +1,10 @@
require ${PN}.inc
-PR = "r0"
+PR = "r1"
SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/libopie2 \
file://include.pro \
+ file://libopie2-tosa.patch;patch=1 \
file://c7x0_w100_disable.patch;patch=1"
SRC_URI_append_poodle = " file://poodle-2.6-hotkeys.patch;patch=1"