summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krelin <hacker@klever.net>2007-05-01 20:38:39 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-05-01 20:38:39 +0000
commite0aa33a2a1d0e9ba561d390c9d1e4b77c6ae8b97 (patch)
treefeb9fd8dcd7c8e75d2836a79c190ada047ca8b02
parent05a8150421df8f7bd450b5d8c943403cab3658da (diff)
opie-networksettings cvs: Fix compilation with latest linux-headers.
* Closes #2197.
-rw-r--r--packages/opie-networksettings/files/.mtn2git_empty0
-rw-r--r--packages/opie-networksettings/files/wireless.patch13
-rw-r--r--packages/opie-networksettings/opie-networksettings_cvs.bb4
3 files changed, 16 insertions, 1 deletions
diff --git a/packages/opie-networksettings/files/.mtn2git_empty b/packages/opie-networksettings/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/opie-networksettings/files/.mtn2git_empty
diff --git a/packages/opie-networksettings/files/wireless.patch b/packages/opie-networksettings/files/wireless.patch
new file mode 100644
index 0000000000..5d8d42af58
--- /dev/null
+++ b/packages/opie-networksettings/files/wireless.patch
@@ -0,0 +1,13 @@
+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 @@
+ #include <qstring.h>
+
+ #include <netinet/ip.h>
++#include <linux/if.h>
++#include <linux/types.h>
+ #include <linux/wireless.h>
+
+ class WExtensions {
diff --git a/packages/opie-networksettings/opie-networksettings_cvs.bb b/packages/opie-networksettings/opie-networksettings_cvs.bb
index 47eecac791..5207b97c1d 100644
--- a/packages/opie-networksettings/opie-networksettings_cvs.bb
+++ b/packages/opie-networksettings/opie-networksettings_cvs.bb
@@ -1,8 +1,10 @@
require ${PN}.inc
PV = "${OPIE_CVS_PV}"
+PR = "r1"
SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/settings/networksettings \
${HANDHELDS_CVS};module=opie/pics \
${HANDHELDS_CVS};module=opie/apps \
- ${HANDHELDS_CVS};module=opie/root"
+ ${HANDHELDS_CVS};module=opie/root \
+ file://wireless.patch;patch=1"