r673 - in lvm2/trunk/debian: . patches

Bastian Blank waldi at alioth.debian.org
Sat Feb 28 09:38:14 UTC 2009


Author: waldi
Date: Sat Feb 28 09:38:14 2009
New Revision: 673

Log:
* debian/changelog: Update.
* debian/patches/implicit-pointer.patch: Add.
* debian/patches/libs-cleanup.patch: Remove ncurses check.
* debian/patches/series: Add new patch.


Added:
   lvm2/trunk/debian/patches/implicit-pointer.patch
Modified:
   lvm2/trunk/debian/changelog
   lvm2/trunk/debian/patches/libs-cleanup.patch
   lvm2/trunk/debian/patches/series

Modified: lvm2/trunk/debian/changelog
==============================================================================
--- lvm2/trunk/debian/changelog	(original)
+++ lvm2/trunk/debian/changelog	Sat Feb 28 09:38:14 2009
@@ -1,3 +1,10 @@
+lvm2 (2.02.44-2) UNRELEASED; urgency=low
+
+  * Fix implicit pointer conversion. (closes: #516867)
+  * Drop unused ncurses dependency.
+
+ -- Bastian Blank <waldi at debian.org>  Sat, 28 Feb 2009 10:28:16 +0100
+
 lvm2 (2.02.44-1) unstable; urgency=low
 
   * New upstream version.

Added: lvm2/trunk/debian/patches/implicit-pointer.patch
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/patches/implicit-pointer.patch	Sat Feb 28 09:38:14 2009
@@ -0,0 +1,12 @@
+--- a/tools/lvm.c
++++ b/tools/lvm.c
+@@ -25,9 +25,6 @@
+ 
+ #  include <readline/readline.h>
+ #  include <readline/history.h>
+-#  ifndef HAVE_RL_COMPLETION_MATCHES
+-#    define rl_completion_matches(a, b) completion_matches((char *)a, b)
+-#  endif
+ 
+ static struct cmdline_context *_cmdline;
+ 

Modified: lvm2/trunk/debian/patches/libs-cleanup.patch
==============================================================================
--- lvm2/trunk/debian/patches/libs-cleanup.patch	(original)
+++ lvm2/trunk/debian/patches/libs-cleanup.patch	Sat Feb 28 09:38:14 2009
@@ -8,16 +8,32 @@
  		LIB_SUFFIX=so
  		DEVMAPPER=yes
  		ODIRECT=yes
-@@ -482,7 +481,7 @@
- dnl -- Check for termcap (Shamelessly copied from parted 1.4.17)
- if test x$READLINE != xno; then
- 	AC_SEARCH_LIBS([tgetent], [tinfo ncurses curses termcap termlib],
+@@ -479,24 +478,6 @@
+ fi;
+ 
+ ################################################################################
+-dnl -- Check for termcap (Shamelessly copied from parted 1.4.17)
+-if test x$READLINE != xno; then
+-	AC_SEARCH_LIBS([tgetent], [tinfo ncurses curses termcap termlib],
 -	  [tg_found=yes], [tg_found=no])
-+	  [tg_found=yes; LIBS_READLINE="$LIBS"; LIBS=""], [tg_found=no])
- 	test x$READLINE:$tg_found = xyes:no &&
- 	  AC_MSG_ERROR(
- termcap could not be found which is required for the
-@@ -527,34 +526,9 @@
+-	test x$READLINE:$tg_found = xyes:no &&
+-	  AC_MSG_ERROR(
+-termcap could not be found which is required for the
+---enable-readline option (which is enabled by default).  Either disable readline
+-support with --disable-readline or download and install termcap from:
+-	ftp.gnu.org/gnu/termcap
+-Note: if you are using precompiled packages you will also need the development
+-  package as well (which may be called termcap-devel or something similar).
+-Note: (n)curses also seems to work as a substitute for termcap.  This was
+-  not found either - but you could try installing that as well.
+-)
+-fi
+-
+-################################################################################
+ dnl -- Check for dlopen
+ AC_CHECK_LIB(dl, dlopen, HAVE_LIBDL=yes, HAVE_LIBDL=no)
+ 
+@@ -527,34 +508,9 @@
  ################################################################################
  dnl -- Check for selinux
  if test x$SELINUX = xyes; then
@@ -55,7 +71,7 @@
  fi
  
  ################################################################################
-@@ -578,7 +552,7 @@
+@@ -578,7 +534,7 @@
  dnl -- Check for readline (Shamelessly copied from parted 1.4.17)
  if test x$READLINE != xno; then
  	rl_found=yes
@@ -64,7 +80,7 @@
  	test x$READLINE:$rl_found = xyes:no &&
  	  AC_MSG_ERROR(
  GNU Readline could not be found which is required for the
-@@ -755,6 +729,9 @@
+@@ -755,6 +711,9 @@
  AC_SUBST(JOBS)
  AC_SUBST(LDDEPS)
  AC_SUBST(LIBS)
@@ -74,7 +90,7 @@
  AC_SUBST(LIB_SUFFIX)
  AC_SUBST(LOCALEDIR)
  AC_SUBST(LVM1)
-@@ -769,7 +746,6 @@
+@@ -769,7 +728,6 @@
  AC_SUBST(SNAPSHOTS)
  AC_SUBST(STATICDIR)
  AC_SUBST(STATIC_LINK)

Modified: lvm2/trunk/debian/patches/series
==============================================================================
--- lvm2/trunk/debian/patches/series	(original)
+++ lvm2/trunk/debian/patches/series	Sat Feb 28 09:38:14 2009
@@ -10,3 +10,4 @@
 libdm-atomic.patch
 dmsetup-export.patch
 rules-subdir.patch
+implicit-pointer.patch



More information about the pkg-lvm-commits mailing list