parent
3fec6febc4
commit
64ea1af0e1
@ -1,11 +0,0 @@
|
|||||||
diff -ur LVM2.2.02.28/lib/filters/filter-sysfs.c LVM2.2.02.28.new/lib/filters/filter-sysfs.c
|
|
||||||
--- LVM2.2.02.28/lib/filters/filter-sysfs.c 2007-08-22 16:38:16.000000000 +0200
|
|
||||||
+++ LVM2.2.02.28.new/lib/filters/filter-sysfs.c 2011-01-13 20:45:38.751542669 +0100
|
|
||||||
@@ -15,6 +15,7 @@
|
|
||||||
#include "lib.h"
|
|
||||||
#include "filter-sysfs.h"
|
|
||||||
#include "lvm-string.h"
|
|
||||||
+#include <sys/stat.h>
|
|
||||||
|
|
||||||
#ifdef linux
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
|||||||
diff -ur LVM2.2.02.28/configure LVM2.2.02.28.new/configure
|
|
||||||
--- LVM2.2.02.28/configure 2007-08-14 20:58:30.000000000 +0200
|
|
||||||
+++ LVM2.2.02.28.new/configure 2011-01-13 20:45:08.429184861 +0100
|
|
||||||
@@ -1949,7 +1949,6 @@
|
|
||||||
CLDWHOLEARCHIVE="-Wl,-whole-archive"
|
|
||||||
CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
|
|
||||||
LDDEPS="$LDDEPS .export.sym"
|
|
||||||
- LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
|
|
||||||
LIB_SUFFIX="so"
|
|
||||||
DEVMAPPER=yes
|
|
||||||
ODIRECT=yes
|
|
||||||
diff -ur LVM2.2.02.28/configure.in LVM2.2.02.28.new/configure.in
|
|
||||||
--- LVM2.2.02.28/configure.in 2007-08-14 20:58:31.000000000 +0200
|
|
||||||
+++ LVM2.2.02.28.new/configure.in 2011-01-13 20:45:14.365688659 +0100
|
|
||||||
@@ -38,7 +38,6 @@
|
|
||||||
CLDWHOLEARCHIVE="-Wl,-whole-archive"
|
|
||||||
CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
|
|
||||||
LDDEPS="$LDDEPS .export.sym"
|
|
||||||
- LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
|
|
||||||
LIB_SUFFIX="so"
|
|
||||||
DEVMAPPER=yes
|
|
||||||
ODIRECT=yes
|
|
@ -1,37 +0,0 @@
|
|||||||
X-Gentoo-Bug: 332905
|
|
||||||
X-Patch-URL: https://bugs.gentoo.org/attachment.cgi?id=243283&action=view
|
|
||||||
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=332905
|
|
||||||
|
|
||||||
diff -ur LVM2.2.02.72.orig/daemons/dmeventd/Makefile.in LVM2.2.02.72/daemons/dmeventd/Makefile.in
|
|
||||||
--- LVM2.2.02.72.orig/daemons/dmeventd/Makefile.in 2010-05-14 16:36:56.000000000 +0300
|
|
||||||
+++ LVM2.2.02.72/daemons/dmeventd/Makefile.in 2010-08-17 03:00:24.000000000 +0300
|
|
||||||
@@ -61,7 +61,7 @@
|
|
||||||
$(DL_LIBS) $(LVMLIBS) $(LIBS) -rdynamic
|
|
||||||
|
|
||||||
dmeventd.static: $(LIB_STATIC) dmeventd.o $(interfacebuilddir)/libdevmapper.a
|
|
||||||
- $(CC) $(CFLAGS) $(LDFLAGS) -static -L. -L$(interfacebuilddir) -o $@ \
|
|
||||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,--no-export-dynamic -static -L. -L$(interfacebuilddir) -o $@ \
|
|
||||||
dmeventd.o $(DL_LIBS) $(LVMLIBS) $(LIBS) $(STATIC_LIBS)
|
|
||||||
|
|
||||||
ifeq ("@PKGCONFIG@", "yes")
|
|
||||||
diff -ur LVM2.2.02.72.orig/tools/Makefile.in LVM2.2.02.72/tools/Makefile.in
|
|
||||||
--- LVM2.2.02.72.orig/tools/Makefile.in 2010-06-25 21:23:10.000000000 +0300
|
|
||||||
+++ LVM2.2.02.72/tools/Makefile.in 2010-08-17 03:01:07.000000000 +0300
|
|
||||||
@@ -126,7 +126,7 @@
|
|
||||||
-o $@ dmsetup.o -ldevmapper $(LIBS)
|
|
||||||
|
|
||||||
dmsetup.static: dmsetup.o $(interfacebuilddir)/libdevmapper.a
|
|
||||||
- $(CC) $(CFLAGS) $(LDFLAGS) -static -L$(interfacebuilddir) \
|
|
||||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,--no-export-dynamic -static -L$(interfacebuilddir) \
|
|
||||||
-o $@ dmsetup.o -ldevmapper $(STATIC_LIBS) $(LIBS)
|
|
||||||
|
|
||||||
all: device-mapper
|
|
||||||
@@ -136,7 +136,7 @@
|
|
||||||
$(LVMLIBS) $(READLINE_LIBS) $(LIBS) -rdynamic
|
|
||||||
|
|
||||||
lvm.static: $(OBJECTS) lvm-static.o $(top_builddir)/lib/liblvm-internal.a $(interfacebuilddir)/libdevmapper.a
|
|
||||||
- $(CC) $(CFLAGS) $(LDFLAGS) -static -L$(interfacebuilddir) -o $@ \
|
|
||||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,--no-export-dynamic -static -L$(interfacebuilddir) -o $@ \
|
|
||||||
$(OBJECTS) lvm-static.o $(LVMLIBS) $(STATIC_LIBS) $(LIBS)
|
|
||||||
|
|
||||||
liblvm2cmd.a: $(top_builddir)/lib/liblvm-internal.a $(OBJECTS) lvmcmdlib.o lvm2cmd.o
|
|
@ -1,37 +0,0 @@
|
|||||||
X-Gentoo-Bug: 332905
|
|
||||||
X-Patch-URL: https://bugs.gentoo.org/attachment.cgi?id=243283&action=view
|
|
||||||
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=332905
|
|
||||||
|
|
||||||
diff -ur LVM2.2.02.72.orig/daemons/dmeventd/Makefile.in LVM2.2.02.72/daemons/dmeventd/Makefile.in
|
|
||||||
--- LVM2.2.02.72.orig/daemons/dmeventd/Makefile.in 2010-05-14 16:36:56.000000000 +0300
|
|
||||||
+++ LVM2.2.02.72/daemons/dmeventd/Makefile.in 2010-08-17 03:00:24.000000000 +0300
|
|
||||||
@@ -61,7 +61,7 @@
|
|
||||||
$(DL_LIBS) $(LVMLIBS) $(LIBS) -rdynamic
|
|
||||||
|
|
||||||
dmeventd.static: $(LIB_STATIC) dmeventd.o $(interfacebuilddir)/libdevmapper.a
|
|
||||||
- $(CC) $(CFLAGS) $(LDFLAGS) -static -L. -L$(interfacebuilddir) -o $@ \
|
|
||||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,--no-export-dynamic -static -L. -L$(interfacebuilddir) -o $@ \
|
|
||||||
dmeventd.o $(DL_LIBS) $(LVMLIBS) $(LIBS) $(STATIC_LIBS)
|
|
||||||
|
|
||||||
ifeq ("@PKGCONFIG@", "yes")
|
|
||||||
diff -ur LVM2.2.02.72.orig/tools/Makefile.in LVM2.2.02.72/tools/Makefile.in
|
|
||||||
--- LVM2.2.02.72.orig/tools/Makefile.in 2010-06-25 21:23:10.000000000 +0300
|
|
||||||
+++ LVM2.2.02.72/tools/Makefile.in 2010-08-17 03:01:07.000000000 +0300
|
|
||||||
@@ -126,7 +126,7 @@
|
|
||||||
-o $@ dmsetup.o -ldevmapper $(LIBS)
|
|
||||||
|
|
||||||
dmsetup.static: dmsetup.o $(interfacebuilddir)/libdevmapper.a
|
|
||||||
- $(CC) $(CFLAGS) $(LDFLAGS) -static -L$(interfacebuilddir) \
|
|
||||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,--no-export-dynamic -static -L$(interfacebuilddir) \
|
|
||||||
-o $@ dmsetup.o -ldevmapper $(STATIC_LIBS) $(LIBS)
|
|
||||||
|
|
||||||
all: device-mapper
|
|
||||||
@@ -136,7 +136,7 @@
|
|
||||||
$(LVMLIBS) $(READLINE_LIBS) $(LIBS) -rdynamic
|
|
||||||
|
|
||||||
lvm.static: $(OBJECTS) lvm-static.o $(top_builddir)/lib/liblvm-internal.a $(interfacebuilddir)/libdevmapper.a
|
|
||||||
- $(CC) $(CFLAGS) $(LDFLAGS) -static -L$(interfacebuilddir) -o $@ \
|
|
||||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,--no-export-dynamic -static -L$(interfacebuilddir) -o $@ \
|
|
||||||
$(OBJECTS) lvm-static.o $(LVMLIBS) $(STATIC_LIBS) $(LIBS)
|
|
||||||
|
|
||||||
liblvm2cmd.a: $(top_builddir)/lib/liblvm-internal.a $(OBJECTS) lvmcmdlib.o lvm2cmd.o
|
|
Loading…
Reference in new issue