From b50b64fd8379e70fd63b0573f52b4a4a1a27c72e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 1 Dec 2014 08:59:41 +0000 Subject: main/strace: fix arm build --- main/strace/APKBUILD | 12 ++++++++---- main/strace/arm.patch | 13 +++++++++++++ 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 main/strace/arm.patch (limited to 'main') diff --git a/main/strace/APKBUILD b/main/strace/APKBUILD index d8b1200c0f..ed0ec1d74a 100644 --- a/main/strace/APKBUILD +++ b/main/strace/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa 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 0000000000..f615f8fbcd --- /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 + #endif + ++#if defined(ARM) ++# include ++#endif ++ + #if defined(POWERPC) + # include + #endif -- cgit v1.2.3