nosex-libtirpc-underlinking.patch 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --- Linux-PAM-1.1.6-orig/configure 2012-08-17 11:51:46.000000000 +0300
  2. +++ Linux-PAM-1.1.6/configure 2013-01-23 05:11:03.262654565 +0200
  3. @@ -780,8 +780,6 @@
  4. LIBSELINUX
  5. NIS_LIBS
  6. NIS_CFLAGS
  7. -libtirpc_LIBS
  8. -libtirpc_CFLAGS
  9. PKG_CONFIG
  10. HAVE_LIBDB_FALSE
  11. HAVE_LIBDB_TRUE
  12. @@ -976,9 +974,7 @@
  13. CPP
  14. YACC
  15. YFLAGS
  16. -PKG_CONFIG
  17. -libtirpc_CFLAGS
  18. -libtirpc_LIBS'
  19. +PKG_CONFIG'
  20. # Initialize some variables set by options.
  21. @@ -1672,10 +1668,6 @@
  22. This script will default YFLAGS to the empty string to avoid a
  23. default value of `-d' given by some make applications.
  24. PKG_CONFIG path to pkg-config utility
  25. - libtirpc_CFLAGS
  26. - C compiler flags for libtirpc, overriding pkg-config
  27. - libtirpc_LIBS
  28. - linker flags for libtirpc, overriding pkg-config
  29. Use these variables to override the choices made by `configure' or to help
  30. it to find libraries and programs with nonstandard names/locations.
  31. --- Linux-PAM-1.1.6-orig/configure.in 2012-08-17 11:48:24.000000000 +0300
  32. +++ Linux-PAM-1.1.6/configure.in 2013-01-23 05:13:10.113650173 +0200
  33. @@ -452,13 +452,6 @@
  34. CFLAGS=$old_CFLAGS
  35. LIBS=$old_LIBS
  36. - dnl if there's libtirpc available, prefer that over the system
  37. - dnl implementation.
  38. - PKG_CHECK_MODULES([libtirpc], [libtirpc], [
  39. - CFLAGS="$CFLAGS $libtirpc_CFLAGS"
  40. - LIBS="$LIBS $libtirpc_LIBS"
  41. - ], [:;])
  42. -
  43. AC_SEARCH_LIBS([yp_get_default_domain], [nsl])
  44. AC_CHECK_FUNCS([yp_get_default_domain yperr_string yp_master yp_bind yp_match yp_unbind])
  45. --- Linux-PAM-1.1.6-orig/Makefile.in 2012-08-17 11:51:46.000000000 +0300
  46. +++ Linux-PAM-1.1.6/Makefile.in 2013-01-23 05:16:56.147642347 +0200
  47. @@ -263,8 +263,6 @@
  48. libc_cv_fpie = @libc_cv_fpie@
  49. libdir = @libdir@
  50. libexecdir = @libexecdir@
  51. -libtirpc_CFLAGS = @libtirpc_CFLAGS@
  52. -libtirpc_LIBS = @libtirpc_LIBS@
  53. localedir = @localedir@
  54. localstatedir = @localstatedir@
  55. lt_ECHO = @lt_ECHO@