Just follow larryhaja's instructions.
What I did was download the patch and slackbuilds for the madwifi-driver and tools into /home/user. And then did the following:
Code:
#tar -xvf madwifi-driver.tar.gz
#mv madwifi-0.9.4.tar.gz madwifi-driver
#mv kernel-2.6.29.patch madwifi-driver/patches
#cd madwifi-driver
#vi madwifi-driver.SlackBuild
Find the section that reads:
Code:
# Patches to build madwifi against Slacware 12.2 kernel
# Patch from: http://madwifi-project.org/changeset/3696
patch -p1 < $CWD/patches/madwifi-0.9.4_kernel_2.6.26.diff
# Patch from: http://slackware.com/~alien/slackbuilds/madwifi/build/
patch -p1 < $CWD/patches/madwifi-0.9.4_kernel_2.6.27.diff
and add the line to include the new patch you just downloaded:
Code:
# Patch from http://bugs.gentoo.org/attachment.cgi?id=188087
patch -p0 < $CWD/patches/kernel-2.6.29.patch
Save the file and then do:
Code:
#./madwifi-driver.SlackBuild
Then you get the package made and you can install the package using installpkg.
Don't forget to get the madwifi-tools slackbuild as well.