Changed files:
dl-dlsym.patch -> 1.1
lvm2.spec -> 1.155
--- /dev/null
+--- 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)
+ {
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
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
%if %{with initrd}