SOURCES: lvm2-as-needed.patch (NEW) - fixes for --as-needed

sparky sparky at pld-linux.org
Wed Aug 2 01:02:27 CEST 2006


Author: sparky                       Date: Tue Aug  1 23:02:27 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixes for --as-needed

---- Files affected:
SOURCES:
   lvm2-as-needed.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/lvm2-as-needed.patch
diff -u /dev/null SOURCES/lvm2-as-needed.patch:1.1
--- /dev/null	Wed Aug  2 01:02:27 2006
+++ SOURCES/lvm2-as-needed.patch	Wed Aug  2 01:02:22 2006
@@ -0,0 +1,24 @@
+diff -Nur LVM2.2.02.07/configure.in LVM2.2.02.07.as-needed/configure.in
+--- LVM2.2.02.07/configure.in	2006-05-16 18:48:30.000000000 +0200
++++ LVM2.2.02.07.as-needed/configure.in	2006-08-02 01:01:14.000000000 +0200
+@@ -395,7 +395,7 @@
+ ################################################################################
+ dnl -- Check for termcap (Shamelessly copied from parted 1.4.17)
+ if test x$READLINE = xyes; then
+-	AC_SEARCH_LIBS(tgetent, ncurses curses termcap termlib, ,
++	AC_SEARCH_LIBS(tgetent, tinfo ncurses curses termcap termlib, ,
+ 		AC_MSG_ERROR(
+ termcap could not be found which is required for the
+ --enable-readline option (which is enabled by default).  Either disable readline
+diff -Nur LVM2.2.02.07/tools/fsadm/Makefile.in LVM2.2.02.07.as-needed/tools/fsadm/Makefile.in
+--- LVM2.2.02.07/tools/fsadm/Makefile.in	2004-06-15 19:29:20.000000000 +0200
++++ LVM2.2.02.07.as-needed/tools/fsadm/Makefile.in	2006-08-02 01:01:14.000000000 +0200
+@@ -23,7 +23,7 @@
+ include $(top_srcdir)/make.tmpl
+ 
+ fsadm: $(OBJECTS)
+-	$(CC) -o $@ $(OBJECTS) -rdynamic
++	$(CC) $(LDFLAGS) -o $@ $(OBJECTS) -rdynamic
+ 
+ install: fsadm
+ 	$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) fsadm \
================================================================


More information about the pld-cvs-commit mailing list