Accepting request 285793 from home:rguenther:branches:devel:tools

- gcc-version.patch: Add support for GCC 5.

OBS-URL: https://build.opensuse.org/request/show/285793
OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=126
This commit is contained in:
Richard Biener 2015-02-12 12:08:31 +00:00 committed by Git OBS Bridge
parent 92b6f5980a
commit 9b1f907d2d
3 changed files with 21 additions and 1 deletions

13
gcc-version.patch Normal file
View File

@ -0,0 +1,13 @@
Index: configure.ac
===================================================================
--- configure.ac.orig 2015-02-12 12:44:54.171760724 +0100
+++ configure.ac 2015-02-12 12:45:05.779894998 +0100
@@ -138,7 +138,7 @@ case "${is_clang}-${gcc_version}" in
notclang-4.*)
AC_MSG_RESULT([ok (${gcc_version})])
;;
- notclang-5.*)
+ notclang-5*)
AC_MSG_RESULT([ok (${gcc_version})])
;;
clang-2.9|clang-3.*|clang-4.*)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 12 11:46:20 UTC 2015 - rguenther@suse.com
- gcc-version.patch: Add support for GCC 5.
-------------------------------------------------------------------
Mon Feb 9 13:41:38 UTC 2015 - schwab@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package valgrind
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,6 +41,7 @@ Source0: http://valgrind.org/downloads/%{name}-%{version}.tar.bz2
Patch1: jit-register-unregister.diff
Patch2: armv6-support.diff
Patch3: glibc-version.patch
Patch4: gcc-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)
@ -138,6 +139,7 @@ Authors:
%patch1
%patch2
%patch3 -p1
%patch4
%build
%ifarch %arm