aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/strace/APKBUILD12
-rw-r--r--main/strace/arm.patch13
2 files changed, 21 insertions, 4 deletions
diff --git a/main/strace/APKBUILD b/main/strace/APKBUILD
index d8b1200c0..ed0ec1d74 100644
--- a/main/strace/APKBUILD
+++ b/main/strace/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=strace
pkgver=4.9
-pkgrel=0
+pkgrel=1
pkgdesc="A useful diagnositic, instructional, and debugging tool"
url="http://sourceforge.net/projects/strace/"
arch="all"
@@ -11,6 +11,7 @@ makedepends=
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.xz
sysinfo.patch
+ arm.patch
"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -44,8 +45,11 @@ package() {
make -j1 DESTDIR="$pkgdir" install
}
md5sums="885eafadb10f6c60464a266d3929a2a4 strace-4.9.tar.xz
-ed853f7bc7b87cc598f1a2c65ca09165 sysinfo.patch"
+ed853f7bc7b87cc598f1a2c65ca09165 sysinfo.patch
+26c267d25d7f706749773d6acfd0cd3f arm.patch"
sha256sums="095bfea5c540b91d297ccac73b21b92fd54a24599fd70395db87ff9eb7fd6f65 strace-4.9.tar.xz
-727b2d56ebf4941726c21ea77bbde5b841581f4a5bde8c2954937032ee05b93b sysinfo.patch"
+727b2d56ebf4941726c21ea77bbde5b841581f4a5bde8c2954937032ee05b93b sysinfo.patch
+71391bea26114bd260e2bbab1b4248cf061a9a6f0cce53f4cb320e88cd8fd122 arm.patch"
sha512sums="70d03b74067ad03940cda72dc057a44a8a33fc55790a8a3bfffb1c4d7442c2de7f3e975a01dc7c7b0430342e492579b2f3a007242d13c8a0feba1a1989f42b7b strace-4.9.tar.xz
-d0da5ed3eb1cee04d07297253445725c86abb55f0f4b80e3e1b7587c581a8c252e895dd7d8a32f410e457c5382194d1b27682215d0304e1dd7ebc8d69cb8e4e7 sysinfo.patch"
+d0da5ed3eb1cee04d07297253445725c86abb55f0f4b80e3e1b7587c581a8c252e895dd7d8a32f410e457c5382194d1b27682215d0304e1dd7ebc8d69cb8e4e7 sysinfo.patch
+3fc4cc562ec26c664c2e7134d3148044a8b71683a670f9f50f900cc87fd627edb5146aed424fe7f232d7b6022bc56f76752c5964354728b9847d5f77da54c541 arm.patch"
diff --git a/main/strace/arm.patch b/main/strace/arm.patch
new file mode 100644
index 000000000..f615f8fbc
--- /dev/null
+++ b/main/strace/arm.patch
@@ -0,0 +1,13 @@
+--- strace-4.9.orig/defs.h
++++ strace-4.9/defs.h
+@@ -159,6 +159,10 @@
+ # include <sys/ptrace.h>
+ #endif
+
++#if defined(ARM)
++# include <asm/ptrace.h>
++#endif
++
+ #if defined(POWERPC)
+ # include <asm/ptrace.h>
+ #endif