From 0e9c70d2b64bb593c8101052054ee1e12174064c Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 21 Oct 2003 18:09:25 +0000 Subject: [PATCH] - let it know Linux 2.6 Changed files: valgrind-linux26.patch -> 1.1 valgrind.spec -> 1.28 --- valgrind-linux26.patch | 11 +++++++++++ valgrind.spec | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 valgrind-linux26.patch diff --git a/valgrind-linux26.patch b/valgrind-linux26.patch new file mode 100644 index 0000000..b12617a --- /dev/null +++ b/valgrind-linux26.patch @@ -0,0 +1,11 @@ +--- valgrind-20031012/configure.in.orig 2003-10-13 00:31:53.000000000 +0200 ++++ valgrind-20031012/configure.in 2003-10-21 19:56:45.411847328 +0200 +@@ -97,7 +97,7 @@ + kernel=`uname -r` + + case "${kernel}" in +- 2.5.*) ++ 2.[[56]].*) + AC_MSG_RESULT([2.5 family (${kernel})]) + AC_DEFINE([KERNEL_2_5], 1, [Define to 1 if you're using Linux 2.5.x]) + ;; diff --git a/valgrind.spec b/valgrind.spec index a0987a5..7c12139 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -10,6 +10,7 @@ Source0: http://developer.kde.org/~sewardj/%{name}-%{snap}.tar.bz2 # Source0-md5: 4a3d02cb9972af801651cf3effb005eb #Source0: %{name}-%{snap}.tar.bz2 Patch0: %{name}-sockios.patch +Patch1: %{name}-linux26.patch URL: http://developer.kde.org/~sewardj/ BuildRequires: autoconf BuildRequires: automake @@ -58,9 +59,9 @@ Standardowo dostarczone jest kilka u %prep %setup -q -n %{name}-%{snap} %patch0 -p1 +%patch1 -p1 %build -rm -f missing %{__aclocal} %{__autoheader} %{__autoconf} -- 2.43.0