diff options
author | Paul Eggleton <bluelightning@bluelightning.org> | 2008-11-19 00:10:25 +0000 |
---|---|---|
committer | Paul Eggleton <bluelightning@bluelightning.org> | 2008-11-19 00:10:25 +0000 |
commit | bcb48afbd66deb9e07ce29bfff00f1cddcf5a3e1 (patch) | |
tree | 49cc61abc36e47d631d1eb9e7afa19cffe7a71a5 /packages | |
parent | 5903d69cb914e46951b6db47d37b06de570a53dc (diff) |
cumulus: fix do_compile and do_install
* Fix compile for gcc removal of OPEN_MAX macro
* Fix install for missing bin path creation
Diffstat (limited to 'packages')
-rw-r--r-- | packages/cumulus/cumulus/open_max.patch | 11 | ||||
-rw-r--r-- | packages/cumulus/cumulus_1.2.1.bb | 8 |
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 |