Hello community,
here is the log from the commit of package valgrind for openSUSE:Factory
checked in at Mon Aug 22 11:15:39 CEST 2011.
--------
--- valgrind/valgrind.changes 2011-07-05 15:10:02.000000000 +0200
+++ /mounts/work_src_done/STABLE/valgrind/valgrind.changes 2011-08-19 19:24:55.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Aug 19 19:24:37 CEST 2011 - dmueller@suse.de
+
+- fix build against glibc 2.14
+- require the right version of glibc at runtime
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
glibc-2.14.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ valgrind.spec ++++++
--- /var/tmp/diff_new_pack.zHjTeI/_old 2011-08-22 11:13:17.000000000 +0200
+++ /var/tmp/diff_new_pack.zHjTeI/_new 2011-08-22 11:13:17.000000000 +0200
@@ -28,7 +28,7 @@
Summary: Memory Management Debugger
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 3.6.1
-Release: 9
+Release: 11
Source0: %{name}-%{version}.tar.bz2
# svn di svn://svn.valgrind.org/valgrind/tags/VALGRIND_3_5_0 svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_5_BRANCH > 3_5_BRANCH.diff
# 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
@@ -52,6 +52,11 @@
Patch43: vg_bug270856_r2136.patch
Patch44: vg_bug270851_r2148.patch
Patch45: valgrind-3.6.1-kernel3.patch
+Patch46: glibc-2.14.diff
+# hack around stupid rebuilding on openSUSE Factory
+# during building the major version of glibc is built into the suppression file
+# so we do require the exact same major version to be installed
+Requires: glibc = %(getconf GNU_LIBC_VERSION | cut -d' ' -f2)
%if %suse_version <= 1100
Provides: valgrind-devel = %version
@@ -166,7 +171,8 @@
%patch42
%patch43
%patch44
-%patch45 -p1
+%patch45
+%patch46
%build
export CFLAGS="$RPM_OPT_FLAGS"
++++++ glibc-2.14.diff ++++++
------------------------------------------------------------------------
r11800 | tom | 2011-06-07 23:52:26 +0200 (Di, 07. Jun 2011) | 2 Zeilen
Add glibc 2.14 support. Patch from Dmitry Djachenko