From c4d0656ac1d57c86ed439262b62f4a3b1b91b5e8 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 7 Oct 2005 23:34:20 +0000 Subject: Apply patch to make wpa_supplicant and madwifi co-operate again. --- madwifi/build/madwifi.SlackBuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'madwifi') diff --git a/madwifi/build/madwifi.SlackBuild b/madwifi/build/madwifi.SlackBuild index 825517b1..dc8190d9 100755 --- a/madwifi/build/madwifi.SlackBuild +++ b/madwifi/build/madwifi.SlackBuild @@ -15,7 +15,7 @@ mkdir -p $PKG KERNELARCH=i686 KERNELVERSION=${KERNELVERSION:-`/bin/uname -r`} KERNELSRC="/lib/modules/${KERNELVERSION}/build" -VERSION=20050707 +VERSION=20051007 ARCH=i486 BUILD=2 @@ -52,10 +52,17 @@ make clean symlinks oldconfig dep cd - cd $PRGNAM +# The wpa_supplicant/madwifi/dhcp problem patch: +patch -p0 < $CWD/ieee80211_wireless.c.patch + # Build the kernel modules and the utilities # enable the SOFTLED with -DSOFTLED export COPTS="$COPTS -DSOFTLED" +# If you need another rate control module than ath_rate_sample (the default), +# you'll need to set the ATH_RATE variable before starting make. For instance, +# (read the INSTALL file why you could want this) to build ath_rate_amrr, set: +# export ATH_RATE=ath_rate/amrr make clean all KERNELPATH=${KERNELSRC} KERNELRELEASE=${KERNELVERSION} make -C tools @@ -87,8 +94,8 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh # Substitute correct versions -perl -pi -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/slack-desc -perl -pi -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/doinst.sh +sed -i -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/slack-desc +sed -i -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/doinst.sh cd $PKG makepkg -l y -c n $TMP/$PRGNAM-${VERSION}_${KERNELVERSION}-$ARCH-$BUILD.tgz -- cgit v1.2.3-79-gdb01