summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/cumulus/cumulus/open_max.patch11
-rw-r--r--packages/cumulus/cumulus_1.2.1.bb8
2 files changed, 16 insertions, 3 deletions
diff --git a/packages/cumulus/cumulus/open_max.patch b/packages/cumulus/cumulus/open_max.patch
new file mode 100644
index 0000000000..0a7cfccdbf
--- /dev/null
+++ b/packages/cumulus/cumulus/open_max.patch
@@ -0,0 +1,11 @@
+--- cumulus/gpscon.cpp.old 2008-11-18 23:39:12.000000000 +0000
++++ cumulus/gpscon.cpp 2008-11-18 23:43:32.000000000 +0000
+@@ -416,7 +416,7 @@
+
+ if( maxOpenFds == -1 ) // call failed
+ {
+- maxOpenFds = OPEN_MAX; // normal default from limits.h
++ maxOpenFds = sysconf(_SC_OPEN_MAX);
+ }
+ else
+ {
diff --git a/packages/cumulus/cumulus_1.2.1.bb b/packages/cumulus/cumulus_1.2.1.bb
index 1bafeb9d9b..dec0b51e9e 100644
--- a/packages/cumulus/cumulus_1.2.1.bb
+++ b/packages/cumulus/cumulus_1.2.1.bb
@@ -5,9 +5,10 @@ LICENSE = "GPL"
APPTYPE = "binary"
APPNAME = "cumulus"
APPDESKTOP = "${S}"
-PR = "r0"
+PR = "r1"
-SRC_URI = "http://www.kflog.org/fileadmin/user_upload/cumulus_downloads/${PV}/cumulus-${PV}.src.tar.bz2"
+SRC_URI = "http://www.kflog.org/fileadmin/user_upload/cumulus_downloads/${PV}/cumulus-${PV}.src.tar.bz2 \
+ file://open_max.patch;patch=1"
S = "${WORKDIR}/cumulus_${PV}/cumulus"
inherit opie
@@ -29,7 +30,8 @@ do_compile() {
do_install() {
install -d ${D}${palmtopdir}/pics/mapicons \
${D}${palmtopdir}/pics/mapicons/small \
- ${D}${palmtopdir}/pics/mapicons/windarrows
+ ${D}${palmtopdir}/pics/mapicons/windarrows \
+ ${D}${palmtopdir}/bin
install -m 0644 ../cumulus.png ${D}${palmtopdir}/pics/cumulus.png
install -m 0644 map-icons/*.png ${D}${palmtopdir}/pics/mapicons
install -m 0644 map-icons/*.xpm ${D}${palmtopdir}/pics/mapicons