Accepting request 285066 from devel:tools
1 OBS-URL: https://build.opensuse.org/request/show/285066 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/valgrind?expand=0&rev=91
This commit is contained in:
commit
aec57bdd1c
18
glibc-version.patch
Normal file
18
glibc-version.patch
Normal file
@ -0,0 +1,18 @@
|
||||
Index: valgrind-3.10.0/configure.ac
|
||||
===================================================================
|
||||
--- valgrind-3.10.0.orig/configure.ac
|
||||
+++ valgrind-3.10.0/configure.ac
|
||||
@@ -1018,6 +1018,13 @@ case "${GLIBC_VERSION}" in
|
||||
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
;;
|
||||
+ 2.21)
|
||||
+ AC_MSG_RESULT(2.21 family)
|
||||
+ AC_DEFINE([GLIBC_2_21], 1, [Define to 1 if you're using glibc 2.21.x])
|
||||
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
+ ;;
|
||||
darwin)
|
||||
AC_MSG_RESULT(Darwin)
|
||||
AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 9 13:41:38 UTC 2015 - schwab@suse.de
|
||||
|
||||
- glibc-version.patch: Add support for glibc 2.21.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 16 15:39:34 UTC 2014 - schwab@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package valgrind
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -40,6 +40,7 @@ Source0: http://valgrind.org/downloads/%{name}-%{version}.tar.bz2
|
||||
# svn di svn://svn.valgrind.org/vex/tags/VEX_3_5_0 svn://svn.valgrind.org/vex/branches/VEX_3_5_BRANCH > VEX_3_5_BRANCH.diff
|
||||
Patch1: jit-register-unregister.diff
|
||||
Patch2: armv6-support.diff
|
||||
Patch3: glibc-version.patch
|
||||
# during building the major version of glibc is built into the suppression file
|
||||
%define glibc_main_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f1)
|
||||
%define glibc_major_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f2)
|
||||
@ -136,6 +137,7 @@ Authors:
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
%ifarch %arm
|
||||
|
Loading…
Reference in New Issue
Block a user