You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.7 KiB
44 lines
1.7 KiB
14 years ago
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
|
#
|
||
|
# Filename: package/.../valgrind/valgrind-3.6.1-linux-3.0.patch
|
||
|
# Copyright (C) 2011 The OpenSDE Project
|
||
|
#
|
||
|
# More information can be found in the files COPYING and README.
|
||
|
#
|
||
|
# This patch file is dual-licensed. It is available under the license the
|
||
|
# patched project is licensed under, as long as it is an OpenSource license
|
||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||
|
# of the GNU General Public License as published by the Free Software
|
||
|
# Foundation; either version 2 of the License, or (at your option) any later
|
||
|
# version.
|
||
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
||
|
|
||
|
Description: Treat linux kernel version 3.0.x like 2.6.x
|
||
|
|
||
|
--- valgrind-3.6.1/configure.in.orig 2011-08-25 15:48:46.820081892 +0200
|
||
|
+++ valgrind-3.6.1/configure.in 2011-08-25 16:03:30.736082030 +0200
|
||
|
@@ -220,9 +220,9 @@
|
||
|
kernel=`uname -r`
|
||
|
|
||
|
case "${kernel}" in
|
||
|
- 2.6.*)
|
||
|
+ 2.6.*|3.0.*)
|
||
|
AC_MSG_RESULT([2.6 family (${kernel})])
|
||
|
- AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x])
|
||
|
+ AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x or 3.0.x])
|
||
|
;;
|
||
|
|
||
|
2.4.*)
|
||
|
--- valgrind-3.6.1/configure.orig 2011-08-25 15:50:04.188082157 +0200
|
||
|
+++ valgrind-3.6.1/configure 2011-08-25 16:03:42.704082138 +0200
|
||
|
@@ -5356,7 +5356,7 @@
|
||
|
kernel=`uname -r`
|
||
|
|
||
|
case "${kernel}" in
|
||
|
- 2.6.*)
|
||
|
+ 2.6.*|3.0.*)
|
||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.6 family (${kernel})" >&5
|
||
|
$as_echo "2.6 family (${kernel})" >&6; }
|
||
|
|