packages: lvm2/lvm2.spec, lvm2/dl-dlsym.patch (NEW) - fix building with gli...

glen glen at pld-linux.org
Thu Jul 29 12:32:15 CEST 2010


Author: glen                         Date: Thu Jul 29 10:32:15 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix building with glibc initrd

---- Files affected:
packages/lvm2:
   lvm2.spec (1.154 -> 1.155) , dl-dlsym.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lvm2/lvm2.spec
diff -u packages/lvm2/lvm2.spec:1.154 packages/lvm2/lvm2.spec:1.155
--- packages/lvm2/lvm2.spec:1.154	Thu Jul 29 12:16:02 2010
+++ packages/lvm2/lvm2.spec	Thu Jul 29 12:32:09 2010
@@ -43,6 +43,7 @@
 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
@@ -232,6 +233,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %if %{with initrd}
@@ -395,6 +397,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.155  2010/07/29 10:32:09  glen
+- fix building with glibc initrd
+
 Revision 1.154  2010/07/29 10:16:02  glen
 - without diet fix, up to 2.02.72
 

================================================================
Index: packages/lvm2/dl-dlsym.patch
diff -u /dev/null packages/lvm2/dl-dlsym.patch:1.1
--- /dev/null	Thu Jul 29 12:32:15 2010
+++ packages/lvm2/dl-dlsym.patch	Thu Jul 29 12:32:09 2010
@@ -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)
+ {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lvm2/lvm2.spec?r1=1.154&r2=1.155&f=u



More information about the pld-cvs-commit mailing list