gpe-conf: make it build with wireless includes changes - close #2095
authorManuel Teira <manuel.teira@telefonica.net>
Wed, 2 May 2007 09:57:07 +0000 (09:57 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Wed, 2 May 2007 09:57:07 +0000 (09:57 +0000)
packages/gpe-conf/gpe-conf-0.2.5/wireless.patch [new file with mode: 0644]
packages/gpe-conf/gpe-conf_0.2.5.bb

diff --git a/packages/gpe-conf/gpe-conf-0.2.5/wireless.patch b/packages/gpe-conf/gpe-conf-0.2.5/wireless.patch
new file mode 100644 (file)
index 0000000..4e52f8b
--- /dev/null
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- gpe-conf-0.2.5/modules/sysinfo.c~wireless
++++ gpe-conf-0.2.5/modules/sysinfo.c
+@@ -28,6 +28,8 @@
+ #include <sys/utsname.h>
+ #include <sys/socket.h>
++#include <linux/types.h>
++#include <linux/if.h>
+ #include <linux/wireless.h>
+ #include <sys/ioctl.h> 
+       
index 6bd9620..8cb2d61 100644 (file)
@@ -10,7 +10,7 @@ RDEPENDS_gpe-conf-panel = "gpe-conf"
 RPROVIDES_${PN} += " bl"
 RCONFLICTS_${PN} = "bl"
 
-PR = "r3"
+PR = "r4"
 
 GPE_TARBALL_SUFFIX = "bz2"
 
@@ -23,4 +23,5 @@ FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps \
                 ${datadir}/gpe-conf"
 FILES_gpe-conf-panel = "${datadir}/applications/gpe-conf.desktop"
 
-SRC_URI += "file://backlight-bugfix.patch;patch=1"
+SRC_URI += "file://backlight-bugfix.patch;patch=1 \
+            file://wireless.patch;patch=1"