SPECS: device-mapper.spec - workaround not to require Linux >= 2.6...

qboosh qboosh at pld-linux.org
Sun Apr 23 00:12:54 CEST 2006


Author: qboosh                       Date: Sat Apr 22 22:12:53 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- workaround not to require Linux >= 2.6.16 headers for klibc

---- Files affected:
SPECS:
   device-mapper.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: SPECS/device-mapper.spec
diff -u SPECS/device-mapper.spec:1.49 SPECS/device-mapper.spec:1.50
--- SPECS/device-mapper.spec:1.49	Sat Apr 22 20:56:23 2006
+++ SPECS/device-mapper.spec	Sun Apr 23 00:12:48 2006
@@ -116,6 +116,10 @@
 %patch1 -p1
 %patch2 -p1
 
+# klcc puts its own -I before any options, so klibc's <linux/*>
+# overrides include/linux/*, requiring very fresh kernel headers
+sed -i -e 's,<linux/dm-ioctl.h>,"../../kernel/ioctl/dm-ioctl.h",' lib/ioctl/libdm-iface.c
+
 %build
 cp -f /usr/share/automake/config.sub autoconf
 %{__aclocal}
@@ -214,6 +218,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2006/04/22 22:12:48  qboosh
+- workaround not to require Linux >= 2.6.16 headers for klibc
+
 Revision 1.49  2006/04/22 18:56:23  arekm
 - builds
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/device-mapper.spec?r1=1.49&r2=1.50&f=u



More information about the pld-cvs-commit mailing list