summaryrefslogtreecommitdiff
path: root/openwrt/package/xsupplicant/patches
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-10-20 05:05:26 +0000
committerNicolas Thill <nico@openwrt.org>2005-10-20 05:05:26 +0000
commit3881fcbbe0e4ef3506d9dc55dbb696139f0e5d02 (patch)
tree5c84086a8bba7ef8dfdd4cba46e18753e63066b4 /openwrt/package/xsupplicant/patches
parentdaec54c8466a775d1d944fd15551dbc5f3c8086d (diff)
downloadmtk-20170518-3881fcbbe0e4ef3506d9dc55dbb696139f0e5d02.zip
mtk-20170518-3881fcbbe0e4ef3506d9dc55dbb696139f0e5d02.tar.gz
mtk-20170518-3881fcbbe0e4ef3506d9dc55dbb696139f0e5d02.tar.bz2
add xsupplicant package (thanks to Florian Fainelli)
SVN-Revision: 2188
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_