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.

46 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../ocfs2-tools/ocfs2-tools-1.2.2-configure-readline.patch
  5. # Copyright (C) 2006 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. Submitted by: Christian Wiese (morfoh at opensde dot org)
  17. Date: 2006-12-02
  18. Initial Package Version: 1.2.2
  19. Upstream Status: not submitted yet
  20. Origin: ocfs2-tools-1.2.2-configure-readline.patch by Christian Wiese made for
  21. the Open System Development Environment (OpenSDE - http://opensde.org)
  22. Description: while running configure ocfs2-tools is not able to find the
  23. readline libraries. (http://trac.opensde.org/ticket/198)
  24. diff -ruN ocfs2-tools-1.2.2.orig/configure ocfs2-tools-1.2.2/configure
  25. --- ocfs2-tools-1.2.2.orig/configure 2006-10-19 20:11:25.000000000 +0300
  26. +++ ocfs2-tools-1.2.2/configure 2006-12-02 18:32:53.000000000 +0200
  27. @@ -3821,7 +3821,7 @@
  28. saved_LDFLAGS="$LDFLAGS"
  29. -LDFLAGS="$LDFLAGS -lncurses"
  30. +LDFLAGS="$LDFLAGS"
  31. READLINE_LIBS=
  32. echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
  33. echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
  34. @@ -3829,7 +3829,7 @@
  35. echo $ECHO_N "(cached) $ECHO_C" >&6
  36. else
  37. ac_check_lib_save_LIBS=$LIBS
  38. -LIBS="-lreadline $LIBS"
  39. +LIBS="-lreadline $NCURSES_LIBS $LIBS"
  40. cat >conftest.$ac_ext <<_ACEOF
  41. /* confdefs.h. */
  42. _ACEOF