aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2009-11-22 01:05:14 +0100
committerAndrea Adami <andrea.adami@gmail.com>2009-11-22 01:05:14 +0100
commit157c888f6c6e289dacad6f19e596b4557bea9646 (patch)
tree70afe150c624eb34f293f0be924ce6f2c6095cd6
parent80402d4b6d357070c93fa541f50f2466b2a3e7b9 (diff)
downloadopenembedded-157c888f6c6e289dacad6f19e596b4557bea9646.tar.gz
openembedded-157c888f6c6e289dacad6f19e596b4557bea9646.tar.bz2
openembedded-157c888f6c6e289dacad6f19e596b4557bea9646.zip
opie-networksettings: unbreak builds against *actual* linux-2.6.31
headers. Acked-by: Paul Eggleton <bluelightning@bluelightning.org>
-rw-r--r--recipes/opie-networksettings/files/wireless.patch16
-rw-r--r--recipes/opie-networksettings/opie-networksettings.inc2
2 files changed, 9 insertions, 9 deletions
diff --git a/recipes/opie-networksettings/files/wireless.patch b/recipes/opie-networksettings/files/wireless.patch
index 5d8d42af58..001a310ed4 100644
--- a/recipes/opie-networksettings/files/wireless.patch
+++ b/recipes/opie-networksettings/files/wireless.patch
@@ -1,13 +1,11 @@
-diff --git a/wlan/wextensions.h b/wlan/wextensions.h
-index a89e33a..356aada 100644
---- a/wlan/wextensions.h
-+++ b/wlan/wextensions.h
-@@ -4,6 +4,8 @@
+--- a/wlan/wextensions.h 2009-11-22 00:29:50.000000000 +0100
++++ b/wlan/wextensions.h 2009-11-07 00:53:29.000000000 +0100
+@@ -3,7 +3,7 @@
+
#include <qstring.h>
+-#include <net/if.h>
++//#include <net/if.h>
#include <netinet/ip.h>
-+#include <linux/if.h>
-+#include <linux/types.h>
+ #include <linux/types.h>
#include <linux/wireless.h>
-
- class WExtensions {
diff --git a/recipes/opie-networksettings/opie-networksettings.inc b/recipes/opie-networksettings/opie-networksettings.inc
index e84f9da144..8bda9f0b59 100644
--- a/recipes/opie-networksettings/opie-networksettings.inc
+++ b/recipes/opie-networksettings/opie-networksettings.inc
@@ -5,6 +5,8 @@ LICENSE = "GPL"
PROVIDES = "opie-networksettings-pppplugin opie-networksettings-wlanplugin"
APPNAME = "networksettings"
+SRC_URI_append = " file://wireless.patch;patch=1"
+
S = "${WORKDIR}/${APPNAME}"
inherit opie