Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/valgrind/files: valgrind-3.7.0-non-exec-darwin.patch
Date: Tue, 01 May 2012 13:03:41
Message-Id: 20120501130329.3EDFE2004C@flycatcher.gentoo.org
1 blueness 12/05/01 13:03:29
2
3 Added: valgrind-3.7.0-non-exec-darwin.patch
4 Log:
5 Add OSX support, bug #359993
6
7 (Portage version: 2.1.10.49/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-util/valgrind/files/valgrind-3.7.0-non-exec-darwin.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/files/valgrind-3.7.0-non-exec-darwin.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/files/valgrind-3.7.0-non-exec-darwin.patch?rev=1.1&content-type=text/plain
14
15 Index: valgrind-3.7.0-non-exec-darwin.patch
16 ===================================================================
17 --- files/valgrind-3.7.0-non-exec-stack.patch.orig 2011-11-11 02:40:06.000000000 +0100
18 +++ files/valgrind-3.7.0-non-exec-stack.patch 2012-03-23 20:11:36.000000000 +0100
19 @@ -40,7 +40,7 @@
20 m_syswrap/syswrap-main.c \
21 m_syswrap/syswrap-generic.c \
22 m_syswrap/syswrap-linux.c \
23 -@@ -361,6 +343,24 @@
24 +@@ -361,6 +343,29 @@
25 m_ume/main.c \
26 m_ume/script.c
27
28 @@ -56,11 +56,16 @@
29 +
30 +if VGCONF_OS_IS_DARWIN
31 +COREGRIND_SOURCES_COMMON += \
32 -+ m_start-@VGCONF_ARCH_PRI@-darwin.S \
33 -+ m_start-@VGCONF_ARCH_SEC@-darwin.S \
34 -+ m_mach/mach_traps-@VGCONF_ARCH_PRI@-darwin.S \
35 ++ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-darwin.S \
36 ++ m_syswrap/syscall-@VGCONF_ARCH_PRI@-darwin.S \
37 ++ m_mach/mach_traps-@VGCONF_ARCH_PRI@-darwin.S
38 ++if VGCONF_HAVE_PLATFORM_SEC
39 ++COREGRIND_SOURCES_COMMON += \
40 ++ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-darwin.S \
41 ++ m_syswrap/syscall-@VGCONF_ARCH_SEC@-darwin.S \
42 + m_mach/mach_traps-@VGCONF_ARCH_SEC@-darwin.S
43 +endif
44 ++endif
45 +
46 libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
47 $(COREGRIND_SOURCES_COMMON)