summaryrefslogtreecommitdiff
path: root/packages/libqpe/libqpe-opie
diff options
context:
space:
mode:
authorPaul Eggleton <bluelightning@bluelightning.org>2008-05-26 17:17:33 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-05-26 17:17:33 +0000
commit7f8090999bf4f28a686442e76f1c8131151c3e25 (patch)
tree602bacf986ec2d752012851635e74450d1c87267 /packages/libqpe/libqpe-opie
parent5e83c12050f4e24f480ae6eef06b732997ce7ad2 (diff)
libqpe: recognize SD cards under 2.6 kernels. Fixes 4317.
* commit by Laibsch
Diffstat (limited to 'packages/libqpe/libqpe-opie')
-rw-r--r--packages/libqpe/libqpe-opie/fix-sd-card-path.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/libqpe/libqpe-opie/fix-sd-card-path.patch b/packages/libqpe/libqpe-opie/fix-sd-card-path.patch
new file mode 100644
index 0000000000..32be5d2e7c
--- /dev/null
+++ b/packages/libqpe/libqpe-opie/fix-sd-card-path.patch
@@ -0,0 +1,17 @@
+Index: library/storage.cpp
+===================================================================
+RCS file: /cvs/opie/library/storage.cpp,v
+retrieving revision 1.25
+retrieving revision 1.26
+diff -U3 -r1.25 -r1.26
+--- library/storage.cpp 7 Mar 2005 14:32:58 -0000 1.25
++++ library/storage.cpp 29 Dec 2007 02:14:09 -0000 1.26
+@@ -307,7 +307,7 @@
+ bool hasMmc=false;
+ if( deviceTab("/dev/mmc/part"))
+ hasMmc=true;
+- if( deviceTab("/dev/mmcd"))
++ else if( deviceTab("/dev/mmcblk"))
+ hasMmc=true;
+ return hasMmc;
+ }