summaryrefslogtreecommitdiff
path: root/libre/memtest86+/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-06 08:27:33 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-06 08:27:33 -0300
commitaad2599218650cb9a5f1f93f4a6dc4198c1f1b55 (patch)
tree9f1604d75b05fdd6eb71ca696dd9f3ed679f796e /libre/memtest86+/PKGBUILD
parentfaf3e30fd2a9dadef13a3b5c0875d24049b99966 (diff)
downloadabslibre-aad2599218650cb9a5f1f93f4a6dc4198c1f1b55.tar.gz
abslibre-aad2599218650cb9a5f1f93f4a6dc4198c1f1b55.tar.bz2
abslibre-aad2599218650cb9a5f1f93f4a6dc4198c1f1b55.zip
memtest86+: import patches from Debian
Diffstat (limited to 'libre/memtest86+/PKGBUILD')
-rw-r--r--libre/memtest86+/PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/libre/memtest86+/PKGBUILD b/libre/memtest86+/PKGBUILD
index 76c3bb3b7..245e611c3 100644
--- a/libre/memtest86+/PKGBUILD
+++ b/libre/memtest86+/PKGBUILD
@@ -13,20 +13,26 @@ license=('GPL2')
makedepends_x86_64=('gcc-multilib' 'lib32-glibc')
source=("http://www.memtest.org/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"
'60_memtest86+'
+ 'doc-serialconsole.patch'
'multiboot.patch'
"${pkgname}-5.01-O0.patch"
- "${pkgname}-5.01-array-size.patch")
+ "${pkgname}-5.01-array-size.patch"
+ 'gcc-5.patch')
sha1sums=('eb4b6d70114db3c9ed320785da44c0ba8349c10c'
'2aa2deeb7d7dc56f389aa1487b7a57b0d44ce559'
+ '31dc513de83e207e8e160b9f43c67c7f6dda48f2'
'53d3c0106644e6e085b8576e48e9981e5ccc3145'
'83e20932625bb38137b01c0cbe1b8528629e0a76'
- '04654951868e73b53a67ce3288f2bd1843b40870')
+ '04654951868e73b53a67ce3288f2bd1843b40870'
+ '225895ea59684a8d6a14c40d92db527dce8187c4')
prepare() {
cd ${pkgname}-${pkgver}
+ patch -p1 -i ${srcdir}/doc-serialconsole.patch
patch -p1 -i ${srcdir}/multiboot.patch
patch -p1 -i ${srcdir}/${pkgname}-5.01-O0.patch
patch -p1 -i ${srcdir}/${pkgname}-5.01-array-size.patch
+ patch -p1 -i ${srcdir}/gcc-5.patch
sed -i 's|CC[=]gcc|CC=gcc -I/usr/include|
s|[-]fno[-]stack[-]protector|-fno-stack-protector -fno-aggressive-loop-optimizations|
\|scp memtest[.]bin|d