Accepting request 221833 from home:Andreas_Schwab:Factory

- glibc-2.19.patch: add support for glibc 2.19

OBS-URL: https://build.opensuse.org/request/show/221833
OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=102
This commit is contained in:
Marcus Meissner 2014-02-11 14:39:02 +00:00 committed by Git OBS Bridge
parent 18c6c09d2d
commit 429fb00f01
3 changed files with 25 additions and 0 deletions

18
glibc-2.19.patch Normal file
View File

@ -0,0 +1,18 @@
Index: valgrind-3.9.0/configure.ac
===================================================================
--- valgrind-3.9.0.orig/configure.ac
+++ valgrind-3.9.0/configure.ac
@@ -918,6 +918,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.19)
+ AC_MSG_RESULT(2.19 family)
+ AC_DEFINE([GLIBC_2_19], 1, [Define to 1 if you're using glibc 2.19.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])

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 11 11:28:45 UTC 2014 - schwab@suse.de
- glibc-2.19.patch: add support for glibc 2.19
-------------------------------------------------------------------
Mon Jan 13 09:12:21 UTC 2014 - normand@linux.vnet.ibm.com

View File

@ -42,6 +42,7 @@ Patch1: jit-register-unregister.diff
Patch2: armv6-support.diff
Patch3: valgrind-3.9.0-merge.patches.from.Paul.McKenney.patch
Patch4: valgrind-3.9.0-ppc64le-abiv2.patch
Patch5: glibc-2.19.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)
@ -142,6 +143,7 @@ cd ..
%patch2
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
%ifarch %arm