summaryrefslogtreecommitdiff
path: root/extra/zsh
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-20 23:03:55 +0000
committerroot <root@rshg047.dnsready.net>2011-06-20 23:03:55 +0000
commitf02c28de0bbcb85e152fc19d0008805021fe1a33 (patch)
tree0cb0a135fbbb06d2e31fe64ff2caad474dcc3813 /extra/zsh
parent5457eacc747fc3f91e10a1f452230b1feac39eff (diff)
Mon Jun 20 23:03:54 UTC 2011
Diffstat (limited to 'extra/zsh')
-rw-r--r--extra/zsh/PKGBUILD11
-rw-r--r--extra/zsh/modules.patch11
2 files changed, 18 insertions, 4 deletions
diff --git a/extra/zsh/PKGBUILD b/extra/zsh/PKGBUILD
index 0f80af66a..027b192d2 100644
--- a/extra/zsh/PKGBUILD
+++ b/extra/zsh/PKGBUILD
@@ -1,20 +1,23 @@
-# $Id: PKGBUILD 126178 2011-06-02 11:13:57Z pierre $
+# $Id: PKGBUILD 127893 2011-06-19 11:12:41Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=zsh
pkgver=4.3.12
-pkgrel=1
+pkgrel=2
pkgdesc='A very advanced and programmable command interpreter (shell) for UNIX'
arch=('i686' 'x86_64')
url='http://www.zsh.org/'
license=('custom')
depends=('pcre' 'libcap' 'gdbm')
install=zsh.install
-source=("ftp://ftp.zsh.org/pub/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('7a82c0bf0635e046ca4e9ec1bdef3811')
+source=("ftp://ftp.zsh.org/pub/${pkgname}-${pkgver}.tar.bz2" 'modules.patch')
+md5sums=('7a82c0bf0635e046ca4e9ec1bdef3811'
+ 'b367c1398b60242f7044a93a837227f9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # upstream patch to fix handling of compressed kernel modules
+ patch -p1 -i ${srcdir}/modules.patch
# FS#16360
sed -i 's/init.d/rc.d/g' Doc/Zsh/compsys.yo \
Doc/zsh.texi \
diff --git a/extra/zsh/modules.patch b/extra/zsh/modules.patch
new file mode 100644
index 000000000..315d40b98
--- /dev/null
+++ b/extra/zsh/modules.patch
@@ -0,0 +1,11 @@
+--- a/Completion/Linux/Command/_modutils
++++ b/Completion/Linux/Command/_modutils
+@@ -107,7 +107,7 @@ case "$state" in
+ ! _retrieve_cache modules-$kver;
+ then
+ # 2011-01-02 gi1242: Do we need .o files? Or is .ko enough?
+- modules=( $modules_dir/$kver/(*~(source|build))/**/*.(o|ko)(.:t:r) )
++ modules=( $modules_dir/$kver/(*~(source|build))/**/*.(o|ko|ko.gz)(.:t:r:r) )
+ _store_cache modules-$kver modules
+ fi
+