summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-26 10:39:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-26 10:39:10 +0000
commit602e274c8e0e0cef46f916b9565600d561e35df6 (patch)
treebbf99664722b3f611d3ba2018665137be40194b1 /main
parent5d0a30573ed0bad25ae1f251135c93aba52b9c6d (diff)
downloadaports-602e274c8e0e0cef46f916b9565600d561e35df6.tar.bz2
aports-602e274c8e0e0cef46f916b9565600d561e35df6.tar.xz
main/strace: another musl fix
Diffstat (limited to 'main')
-rw-r--r--main/strace/APKBUILD8
-rw-r--r--main/strace/strace-musl.patch10
2 files changed, 14 insertions, 4 deletions
diff --git a/main/strace/APKBUILD b/main/strace/APKBUILD
index 329ba7f5f..c654bb6a8 100644
--- a/main/strace/APKBUILD
+++ b/main/strace/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=strace
pkgver=4.8
-pkgrel=2
+pkgrel=3
pkgdesc="A useful diagnositic, instructional, and debugging tool"
url="http://sourceforge.net/projects/strace/"
arch="all"
@@ -44,8 +44,8 @@ package() {
make -j1 DESTDIR="$pkgdir" install
}
md5sums="c575ef43829586801f514fd91bfe7575 strace-4.8.tar.xz
-5b712a014ae68e6c3de4b6c0d0429a10 strace-musl.patch"
+41e03d475f6db117177463a4be14b6f7 strace-musl.patch"
sha256sums="f492291f07a7c805c07a8395cce1ea054a6401ad414f4cc12185672215e1d7f8 strace-4.8.tar.xz
-b244c17727758aff25a21675828cbbc2a662329985c8bd8ee770c222435aa115 strace-musl.patch"
+07518bec47f2c68d85849029e13df39d225bbc85b8577885467b5c195c8df41f strace-musl.patch"
sha512sums="c3316382f60cd4d02eec1eef46a0ef2d000afbccf2c176a6fec652e1b3391685f0e33f184497cb3ccf54d72d460471a4945d3a864fb5bce1f45f32fdf132cfe3 strace-4.8.tar.xz
-3cb76721e34c8412955c4533a4ba6ce1a7d17941f968db710233017dffce3ae793a888cf1e81a9d4301f79cfdfe2f9c510b31e042536aa930bfd47f4ca37ad28 strace-musl.patch"
+fb87b9a5317cb162e2ebf8f303b9f169de366ef4b8aee1d17ce595bd42a551960e42e84df75d2dcc4d779945e366d4c7dcc6f612bf66f1ed50bb6e9fd38ac169 strace-musl.patch"
diff --git a/main/strace/strace-musl.patch b/main/strace/strace-musl.patch
index 48f2c58b1..703ec5cfe 100644
--- a/main/strace/strace-musl.patch
+++ b/main/strace/strace-musl.patch
@@ -165,3 +165,13 @@
else if (sev.sigev_notify == SIGEV_THREAD)
tprintf("{%p, %p}", sev.sigev_notify_function,
sev.sigev_notify_attributes);
+--- ./resource.c.orig
++++ ./resource.c
+@@ -31,6 +31,7 @@
+ #include "defs.h"
+ #include <sys/resource.h>
+ #include <sys/times.h>
++#include <sys/sysinfo.h>
+ #include <linux/kernel.h>
+
+ static const struct xlat resources[] = {