]> git.pld-linux.org Git - packages/device-mapper.git/commitdiff
- workaround not to require Linux >= 2.6.16 headers for klibc
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 22 Apr 2006 22:12:48 +0000 (22:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    device-mapper.spec -> 1.50

device-mapper.spec

index b5968b55240b7dc115e31e2f7e04a3fe36db958b..d8dd234b25c0471d0695806f2f08cef8ae20258c 100644 (file)
@@ -115,6 +115,10 @@ Dodatkowe skrypty.
 %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}
This page took 0.055414 seconds and 4 git commands to generate.