relocate packages on recipes-base/recipes-enigma2/recipes-wlan.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-connectivity / realtek / r8712u / strcasecmp.patch
diff --git a/meta-openvuplus/recipes-connectivity/realtek/r8712u/strcasecmp.patch b/meta-openvuplus/recipes-connectivity/realtek/r8712u/strcasecmp.patch
new file mode 100644 (file)
index 0000000..0aea6d9
--- /dev/null
@@ -0,0 +1,14 @@
+diff --git a/ioctl/rtl871x_ioctl_linux.c b/ioctl/rtl871x_ioctl_linux.c
+index 6f707de..561c50f 100755
+--- a/ioctl/rtl871x_ioctl_linux.c
++++ b/ioctl/rtl871x_ioctl_linux.c
+@@ -52,6 +52,9 @@
+ #define  iwe_stream_add_point(a, b, c, d, e)  iwe_stream_add_point(b, c, d, e)\r
+ #endif\r
\r
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22))\r
++#define  strcasecmp(s1, s2)   strcmp(s1, s2)\r
++#endif\r
\r
+ #define RTL_IOCTL_WPA_SUPPLICANT      SIOCIWFIRSTPRIV+0x1E\r
\r