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.

42 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../heimdal/heimdal-1.3.3-linux3-pthread.patch
  5. # Copyright (C) 2012 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. From 0b3c720c014d6813aa4f14d4800b7e57f34380de Mon Sep 17 00:00:00 2001
  17. From: Jelmer Vernooij <jelmer@samba.org>
  18. Date: Fri, 22 Jul 2011 14:19:34 +0200
  19. Subject: [PATCH] cf: Also enable pthreads on Linux 3.
  20. Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
  21. ---
  22. cf/pthreads.m4 | 2 +-
  23. 1 files changed, 1 insertions(+), 1 deletions(-)
  24. diff --git a/cf/pthreads.m4 b/cf/pthreads.m4
  25. index 7ce7310..209e4f3 100644
  26. --- a/cf/pthreads.m4
  27. +++ b/cf/pthreads.m4
  28. @@ -41,7 +41,7 @@ case "$host" in
  29. ;;
  30. *-*-linux* | *-*-linux-gnu)
  31. case `uname -r` in
  32. - 2.*)
  33. + 2.*|3.*)
  34. native_pthread_support=yes
  35. PTHREAD_CFLAGS=-pthread
  36. PTHREAD_LIBADD=-pthread
  37. --
  38. 1.6.5.GIT