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/.../pam/hack-survive_autoconf.patch.cross
  5. # Copyright (C) 2009 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. when make is called it calls auto* automatically because our version is
  17. newer than the one used by them.
  18. sadly the definition of LIBCRYPT relies on ac_lib which is not present
  19. when ac_cv_search_crypt is cached
  20. --- ./configure.in.orig 2009-04-10 22:53:41.000000000 +0300
  21. +++ ./configure.in 2009-04-10 22:55:02.000000000 +0300
  22. @@ -358,7 +358,7 @@
  23. [test "x$HAVE_AUDIT_TTY_STATUS" = xyes])
  24. BACKUP_LIBS=$LIBS
  25. -AC_SEARCH_LIBS([crypt],[xcrypt crypt], LIBCRYPT="-l$ac_lib", LIBCRYPT="")
  26. +AC_SEARCH_LIBS([crypt],[xcrypt crypt], [test "$ac_res" = "none required" || LIBCRYPT="$ac_res"], LIBCRYPT="")
  27. AC_CHECK_FUNCS(crypt_r)
  28. LIBS=$BACKUP_LIBS
  29. AC_SUBST(LIBCRYPT)
  30. --- ./configure.orig 2009-03-02 17:12:08.000000000 +0200
  31. +++ ./configure 2009-04-10 22:55:25.000000000 +0300
  32. @@ -14863,7 +14863,7 @@
  33. ac_res=$ac_cv_search_crypt
  34. if test "$ac_res" != no; then
  35. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  36. - LIBCRYPT="-l$ac_lib"
  37. + test "$ac_res" = "none required" || LIBCRYPT="$ac_res"
  38. else
  39. LIBCRYPT=""
  40. fi