]> git.pld-linux.org Git - packages/lvm2.git/commitdiff
- fix building with glibc initrd
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 29 Jul 2010 10:32:09 +0000 (10:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dl-dlsym.patch -> 1.1
    lvm2.spec -> 1.155

dl-dlsym.patch [new file with mode: 0644]
lvm2.spec

diff --git a/dl-dlsym.patch b/dl-dlsym.patch
new file mode 100644 (file)
index 0000000..db4c9cc
--- /dev/null
@@ -0,0 +1,18 @@
+--- LVM2.2.02.72/lib/commands/toolcontext.c~   2010-07-29 13:21:40.000000000 +0300
++++ LVM2.2.02.72/lib/commands/toolcontext.c    2010-07-29 13:21:42.552959287 +0300
+@@ -876,6 +876,7 @@
+       return 1;
+ }
++#ifdef HAVE_LIBDL
+ static int _init_single_segtype(struct cmd_context *cmd,
+                               struct segtype_library *seglib)
+ {
+@@ -893,6 +894,7 @@
+       return lvm_register_segtype(seglib, segtype);
+ }
++#endif
+ static int _init_segtypes(struct cmd_context *cmd)
+ {
index 7f666250d6ce1d77cefd07d0ec6e7adae8d17212..f03326ed866e2172cddc4e92dc90d90f4e95235b 100644 (file)
--- a/lvm2.spec
+++ b/lvm2.spec
@@ -42,6 +42,7 @@ Patch0:               %{name}-selinux.patch
 Patch1:                %{name}-diet.patch
 Patch2:                device-mapper-dmsetup-export.patch
 Patch3:                %{name}-clvmd_init.patch
+Patch4:                dl-dlsym.patch
 URL:           http://sources.redhat.com/lvm2/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -231,6 +232,7 @@ initramfs-tools.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %if %{with initrd}
This page took 0.036327 seconds and 4 git commands to generate.