Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/strace/files: strace-4.5.18-arm-cache.patch
Date: Sat, 30 May 2009 00:17:45
Message-Id: E1MACGd-0007j4-Qt@stork.gentoo.org
1 vapier 09/05/30 00:17:43
2
3 Added: strace-4.5.18-arm-cache.patch
4 Log:
5 Fix build failure on arm due to missing cachectl.h #266014 by Pinky.
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-util/strace/files/strace-4.5.18-arm-cache.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/strace/files/strace-4.5.18-arm-cache.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/strace/files/strace-4.5.18-arm-cache.patch?rev=1.1&content-type=text/plain
13
14 Index: strace-4.5.18-arm-cache.patch
15 ===================================================================
16 http://bugs.gentoo.org/266014
17
18 ARM defines SYS_cacheflush but does not have asm/cachectl.h
19
20 --- a/system.c
21 +++ b/system.c
22 @@ -70,7 +70,7 @@
23 #include <linux/capability.h>
24 #endif
25
26 -#ifdef SYS_cacheflush
27 +#if defined(SYS_cacheflush) && !defined(ARM)
28 #include <asm/cachectl.h>
29 #endif