OpenSDE Packages Database (without history before r20070)
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.

43 lines
1.7 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../valgrind/valgrind-3.6.1-linux-3.0.patch
  5. # Copyright (C) 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Description: Treat linux kernel version 3.0.x like 2.6.x
  17. --- valgrind-3.6.1/configure.in.orig 2011-08-25 15:48:46.820081892 +0200
  18. +++ valgrind-3.6.1/configure.in 2011-08-25 16:03:30.736082030 +0200
  19. @@ -220,9 +220,9 @@
  20. kernel=`uname -r`
  21. case "${kernel}" in
  22. - 2.6.*)
  23. + 2.6.*|3.0.*)
  24. AC_MSG_RESULT([2.6 family (${kernel})])
  25. - AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x])
  26. + AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x or 3.0.x])
  27. ;;
  28. 2.4.*)
  29. --- valgrind-3.6.1/configure.orig 2011-08-25 15:50:04.188082157 +0200
  30. +++ valgrind-3.6.1/configure 2011-08-25 16:03:42.704082138 +0200
  31. @@ -5356,7 +5356,7 @@
  32. kernel=`uname -r`
  33. case "${kernel}" in
  34. - 2.6.*)
  35. + 2.6.*|3.0.*)
  36. { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.6 family (${kernel})" >&5
  37. $as_echo "2.6 family (${kernel})" >&6; }