[oe-commits] Stanislav Brabec : prismstumbler: Don't apply wireless. patch for linux-libc-headers >= 2.6.30.

git version control git at git.openembedded.org
Wed Sep 16 20:27:56 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: e6b1829aea56351d31ad4091a59bb334426dd5c4
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e6b1829aea56351d31ad4091a59bb334426dd5c4

Author: Stanislav Brabec <utx at penguin.cz>
Date:   Wed Sep 16 20:25:59 2009 +0000

prismstumbler: Don't apply wireless.patch for linux-libc-headers >= 2.6.30.

---

 .../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 b7c7100..bc23824 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"





More information about the Openembedded-commits mailing list