diff options
Diffstat (limited to 'recipes/prismstumbler')
-rw-r--r-- | recipes/prismstumbler/prismstumbler_0.7.3+0.7.4pre1.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/prismstumbler/prismstumbler_0.7.3+0.7.4pre1.bb b/recipes/prismstumbler/prismstumbler_0.7.3+0.7.4pre1.bb index b7c71002af..bc23824e42 100644 --- a/recipes/prismstumbler/prismstumbler_0.7.3+0.7.4pre1.bb +++ b/recipes/prismstumbler/prismstumbler_0.7.3+0.7.4pre1.bb @@ -9,9 +9,11 @@ DEPENDS = "libpcap gtk+ wireless-tools sqlite zlib dbus-glib gpsd" RDEPENDS = "wireless-tools" RRECOMMENDS = "gpsd" +# wireless.patch is required for linux-libc-headers == 2.6.23 +# but breaks build with linux-libc-headers >= 2.6.30. SRC_URI = "http://projects.linuxtogo.org/frs/download.php/14/${PN}-0.7.4pre1.tar.gz \ file://gpsapi.patch;patch=1 \ - file://wireless.patch;patch=1 \ + ${@['', 'file://wireless.patch;patch=1'][bb.data.getVar('PREFERRED_VERSION_linux-libc-headers', d, 1) and bb.data.getVar('PREFERRED_VERSION_linux-libc-headers', d, 1).split('.')[2] < '30']} \ file://fix-includes.patch;patch=1;pnum=0" S = "${WORKDIR}/${PN}-0.7.4pre1" |