summaryrefslogtreecommitdiff
path: root/core/bash/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/bash/PKGBUILD')
-rw-r--r--core/bash/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/core/bash/PKGBUILD b/core/bash/PKGBUILD
index e8642e15b..c6f692ac4 100644
--- a/core/bash/PKGBUILD
+++ b/core/bash/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 187018 2013-06-03 11:14:54Z allan $
+# $Id: PKGBUILD 193699 2013-08-28 09:22:56Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>
@@ -6,7 +6,7 @@ pkgname=bash
_basever=4.2
_patchlevel=045 #prepare for some patches
pkgver=$_basever.$_patchlevel
-pkgrel=4
+pkgrel=5
pkgdesc="The GNU Bourne Again shell"
arch=('i686' 'x86_64')
license=('GPL')
@@ -21,7 +21,8 @@ source=(http://ftp.gnu.org/gnu/bash/bash-$_basever.tar.gz{,.sig}
dot.bash_profile
dot.bash_logout
system.bashrc
- system.bash_logout)
+ system.bash_logout
+ bash-4.2-do-not-use-memcpy-on-overlapping-memory.patch)
if [ $_patchlevel -gt 000 ]; then
for (( p=1; p<=$((10#${_patchlevel})); p++ )); do
source=(${source[@]} http://ftp.gnu.org/gnu/bash/bash-$_basever-patches/bash${_basever//./}-$(printf "%03d" $p){,.sig})
@@ -33,8 +34,10 @@ prepare() {
for (( p=1; p<=$((10#${_patchlevel})); p++ )); do
msg "applying patch bash${_basever//./}-$(printf "%03d" $p)"
- patch -Np0 -i $srcdir/bash${_basever//./}-$(printf "%03d" $p)
+ patch -p0 -i $srcdir/bash${_basever//./}-$(printf "%03d" $p)
done
+
+ patch -p1 -i $srcdir/bash-4.2-do-not-use-memcpy-on-overlapping-memory.patch
}
build() {
@@ -81,6 +84,7 @@ md5sums=('3fb927c7c33022f1c327f14a81c0d4b0'
'42f4400ed2314bd7519c020d0187edc5'
'3546099a1b2f667adc9794f52e78e35b'
'472f536d7c9e8250dc4568ec4cfaf294'
+ '9e55d01f2d9dda4a0c96031b25d19f45'
'1100bc1dda2cdc06ac44d7e5d17864a3'
'SKIP'
'30e7948079921d3261efcc6a40722135'