summaryrefslogtreecommitdiff
path: root/openwrt/package/xsupplicant/patches
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/xsupplicant/patches')
-rw-r--r--openwrt/package/xsupplicant/patches/001-no-lfl.patch24
-rw-r--r--openwrt/package/xsupplicant/patches/002-cardif_madwifi_driver_h.patch11
2 files changed, 35 insertions, 0 deletions
diff --git a/openwrt/package/xsupplicant/patches/001-no-lfl.patch b/openwrt/package/xsupplicant/patches/001-no-lfl.patch
new file mode 100644
index 0000000..9f0ed94
--- /dev/null
+++ b/openwrt/package/xsupplicant/patches/001-no-lfl.patch
@@ -0,0 +1,24 @@
+diff -ruN xsupplicant-1.2.2-old/configure xsupplicant-1.2.2-new/configure
+--- xsupplicant-1.2.2-old/configure 2005-09-14 05:34:54.000000000 +0200
++++ xsupplicant-1.2.2-new/configure 2005-10-20 06:24:23.000000000 +0200
+@@ -3316,7 +3316,7 @@
+ fi
+ if test -n "$LEX"; then
+ LFLAGS="$LFLAGS -i"
+- MORELIBS="${MORELIBS} -lfl"
++
+ fi
+
+ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
+diff -ruN xsupplicant-1.2.2-old/configure.in xsupplicant-1.2.2-new/configure.in
+--- xsupplicant-1.2.2-old/configure.in 2005-09-14 05:34:54.000000000 +0200
++++ xsupplicant-1.2.2-new/configure.in 2005-10-20 06:23:38.000000000 +0200
+@@ -17,7 +17,7 @@
+ AM_PROG_LEX
+ if test -n "$LEX"; then
+ LFLAGS="$LFLAGS -i"
+- MORELIBS="${MORELIBS} -lfl"
++
+ fi
+
+ AC_C_BIGENDIAN([big_endian=true;AC_DEFINE(BIGENDIAN)],[big_endian=false;AC_DEFINE(LILENDIAN)])
diff --git a/openwrt/package/xsupplicant/patches/002-cardif_madwifi_driver_h.patch b/openwrt/package/xsupplicant/patches/002-cardif_madwifi_driver_h.patch
new file mode 100644
index 0000000..4333d34
--- /dev/null
+++ b/openwrt/package/xsupplicant/patches/002-cardif_madwifi_driver_h.patch
@@ -0,0 +1,11 @@
+diff -ruN xsupplicant-1.2.2-old/src/cardif/linux/cardif_madwifi_driver.h xsupplicant-1.2.2-new/src/cardif/linux/cardif_madwifi_driver.h
+--- xsupplicant-1.2.2-old/src/cardif/linux/cardif_madwifi_driver.h 2005-04-06 04:21:53.000000000 +0200
++++ xsupplicant-1.2.2-new/src/cardif/linux/cardif_madwifi_driver.h 2005-10-17 22:03:19.000000000 +0200
+@@ -21,6 +21,7 @@
+ int cardif_madwifi_driver_set_key(char *, int, unsigned char *, int, int,
+ char *, int, char *, int);
+ int cardif_madwifi_driver_wpa_state(struct interface_data *, char);
++void cardif_madwifi_driver_associate(struct interface_data *, char *);
+ int cardif_madwifi_driver_disassociate(struct interface_data *, int);
+
+ #endif // _CARDIF_MADWIFI_DRIVER_H_