summaryrefslogtreecommitdiff
path: root/network/hostapd/hostapd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/hostapd/hostapd.SlackBuild')
-rw-r--r--network/hostapd/hostapd.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/network/hostapd/hostapd.SlackBuild b/network/hostapd/hostapd.SlackBuild
index ebfe7e330b..ae7e86ca5c 100644
--- a/network/hostapd/hostapd.SlackBuild
+++ b/network/hostapd/hostapd.SlackBuild
@@ -28,7 +28,7 @@
PRGNAM=hostapd
VERSION=${VERSION:-2.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -75,6 +75,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+(cd ../src/
+for i in $CWD/patches/*.patch; do
+ patch -p2 < "$i"
+done)
+
# Edit the defconfig to enable additional features
cat $CWD/hostapd.defconfig > .config