From 42820afa7caf90d3333169aca1b27189ac0c9b3b Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 24 Apr 2005 13:42:00 +0000 Subject: [PATCH] - missing -ldl with dynamic libreiser support, use just libtinfo for readline Changed files: parted-link.patch -> 1.1 --- parted-link.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 parted-link.patch diff --git a/parted-link.patch b/parted-link.patch new file mode 100644 index 0000000..dfcc418 --- /dev/null +++ b/parted-link.patch @@ -0,0 +1,31 @@ +--- parted-1.6.22/configure.in.orig 2005-03-19 22:47:12.000000000 +0100 ++++ parted-1.6.22/configure.in 2005-04-24 15:35:55.738042232 +0200 +@@ -213,9 +213,11 @@ + fi + CFLAGS="$CFLAGS -DLOCALEDIR=\"\\\"$datadir/locale\\\"\"" + ++REISER_LIBS="" + dnl Check for libdl, if we are doing dynamic loading + if test "$enable_dynamic_loading" = yes; then + AC_CHECK_LIB(dl, dlopen, ++ REISER_LIBS="-ldl" + PARTED_LIBS="$PARTED_LIBS -ldl" + AC_DEFINE(DYNAMIC_LOADING, 1, [Lazy linking to fs libs]), + AC_MSG_ERROR( +@@ -243,7 +245,6 @@ + AC_SUBST(UUID_LIBS) + + dnl Check for libreiserfs +-REISER_LIBS="" + if test "$enable_dynamic_loading" = no -a "$enable_discover_only" = no; then + OLD_LIBS="$LIBS" + AC_CHECK_LIB(dal, dal_equals, +@@ -264,7 +265,7 @@ + if test "$with_readline" = yes; then + OLD_LIBS="$LIBS" + LIBS="" +- AC_SEARCH_LIBS(tgetent, ncurses curses termcap termlib, ++ AC_SEARCH_LIBS(tgetent, tinfo ncurses curses termcap termlib, + PARTED_LIBS="$PARTED_LIBS $LIBS", + AC_MSG_ERROR( + termcap could not be found which is required for the -- 2.44.0