aboutsummaryrefslogtreecommitdiffstats
path: root/main/dahdi-linux-grsec/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-19 12:17:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-19 12:25:16 +0000
commiteafaf07e8659fad3be7d2d274ce56de338d23e9a (patch)
treeb7a67f27c677b268b7fbe993963364de1bc521d6 /main/dahdi-linux-grsec/APKBUILD
parentdb39e00d746029b5a8b5a683be67074edb735c5e (diff)
downloadaports-eafaf07e8659fad3be7d2d274ce56de338d23e9a.tar.bz2
aports-eafaf07e8659fad3be7d2d274ce56de338d23e9a.tar.xz
main/linux-dahdi-linux-{grsec,vserver}: fix warning from zaphfc driver
Patch from tteras. ref #410
Diffstat (limited to 'main/dahdi-linux-grsec/APKBUILD')
-rw-r--r--main/dahdi-linux-grsec/APKBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/main/dahdi-linux-grsec/APKBUILD b/main/dahdi-linux-grsec/APKBUILD
index 4885faca1a..cedaec5c4a 100644
--- a/main/dahdi-linux-grsec/APKBUILD
+++ b/main/dahdi-linux-grsec/APKBUILD
@@ -17,7 +17,7 @@ pkgname=${_realname}-${_flavor}
pkgver=$pkgver
# when chaning _dahdiver we *must* bump _mypkgrel
_dahdiver=2.3.0.1
-_mypkgrel=3
+_mypkgrel=4
pkgrel=$(( $_kpkgrel + $_mypkgrel ))
pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver"
url="http://www.asterisk.org"
@@ -33,13 +33,18 @@ source="http://downloads.digium.com/pub/telephony/dahdi-linux/releases/${_realna
dahdi-bri_dchan.patch
dahdi-zaphfc.patch
zaphfc-dahdi-flortz.diff
+ dahdi-zaphfc2.patch
"
prepare() {
cd "$srcdir/$_realname-$_dahdiver"
- for i in ../*.patch ../*.diff; do
- msg "Applying $i"
- patch -p1 < $i || return 1;
+ for i in $source; do
+ case $i in
+ *.patch|*.diff)
+ msg "Applying $i"
+ patch -p1 -i "$srcdir"/$i || return 1
+ ;;
+ esac
done
}
@@ -72,4 +77,5 @@ md5sums="ac454f91d7e1267655ecd698832da414 dahdi-linux-2.3.0.1.tar.gz
c78fb8d80f9efdffd950297c88ff9273 dahdi-depmod.patch
4b41a82ff390ac64c08092c5a3eab6a8 dahdi-bri_dchan.patch
a822c092f0548cd13f5e8d8cba053af6 dahdi-zaphfc.patch
-291c5c44c86ab02443a742415461ddca zaphfc-dahdi-flortz.diff"
+291c5c44c86ab02443a742415461ddca zaphfc-dahdi-flortz.diff
+854008afc44b7a5c920f4ae4a2860e3b dahdi-zaphfc2.patch"