Hello community,

here is the log from the commit of package valgrind for openSUSE:Factory 
checked in at 2015-04-27 22:07:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/valgrind (Old)
 and      /work/SRC/openSUSE:Factory/.valgrind.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "valgrind"

Changes:
--------
--- /work/SRC/openSUSE:Factory/valgrind/valgrind.changes        2015-04-06 
00:25:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.valgrind.new/valgrind.changes   2015-04-27 
22:08:42.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Apr 24 07:08:01 UTC 2015 - [email protected]
+
+- Add valgrind-linux-4.0.patch: Fix build with linux kernel 4.0+.
+  Taken from svn, rev 14955.
+
+-------------------------------------------------------------------

New:
----
  valgrind-linux-4.0.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ valgrind.spec ++++++
--- /var/tmp/diff_new_pack.pj6Zkf/_old  2015-04-27 22:08:43.000000000 +0200
+++ /var/tmp/diff_new_pack.pj6Zkf/_new  2015-04-27 22:08:43.000000000 +0200
@@ -38,6 +38,7 @@
 Patch2:         armv6-support.diff
 Patch3:         glibc-version.patch
 Patch4:         gcc-version.patch
+Patch5:         valgrind-linux-4.0.patch
 BuildRequires:  automake
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  docbook_4
@@ -113,6 +114,7 @@
 %patch2
 %patch3 -p1
 %patch4
+%patch5
 
 %build
 %ifarch %arm

++++++ valgrind-linux-4.0.patch ++++++
Index: configure.ac
===================================================================
--- configure.ac        (revision 14954)
+++ configure.ac        (revision 14955)
@@ -325,20 +325,14 @@
         kernel=`uname -r`
 
         case "${kernel}" in
-             2.6.*|3.*) 
-                   AC_MSG_RESULT([2.6.x/3.x family (${kernel})])
-                   AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using 
Linux 2.6.x or Linux 3.x])
+             0.*|1.*|2.0.*|2.1.*|2.2.*|2.3.*|2.4.*|2.5.*) 
+                   AC_MSG_RESULT([unsupported (${kernel})])
+                   AC_MSG_ERROR([Valgrind needs a Linux kernel >= 2.6])
                    ;;
 
-             2.4.*) 
-                   AC_MSG_RESULT([2.4 family (${kernel})])
-                   AC_DEFINE([KERNEL_2_4], 1, [Define to 1 if you're using 
Linux 2.4.x])
-                   ;;
-
-             *) 
-                   AC_MSG_RESULT([unsupported (${kernel})])
-                   AC_MSG_ERROR([Valgrind works on kernels 2.4, 2.6])
-                   ;;
+             *)
+                   AC_MSG_RESULT([2.6 or later (${kernel})])
+                    ;;
         esac
 
         ;;

Reply via email to