1 |
robbat2 10/04/23 19:35:04 |
2 |
|
3 |
Added: 1.1.0-libudev.patch |
4 |
Log: |
5 |
Bug #316571: Bring in libudev for devmapper. |
6 |
(Portage version: 2.2_rc67/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sys-fs/cryptsetup/files/1.1.0-libudev.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cryptsetup/files/1.1.0-libudev.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cryptsetup/files/1.1.0-libudev.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: 1.1.0-libudev.patch |
15 |
=================================================================== |
16 |
diff -ur cryptsetup-1.1.0.orig/configure.in cryptsetup-1.1.0/configure.in |
17 |
--- cryptsetup-1.1.0.orig/configure.in 2010-04-23 21:39:29.000000000 +0300 |
18 |
+++ cryptsetup-1.1.0/configure.in 2010-04-23 21:38:18.000000000 +0300 |
19 |
@@ -62,6 +62,11 @@ |
20 |
|
21 |
dnl ========================================================================== |
22 |
|
23 |
+saved_LIBS=$LIBS |
24 |
+AC_CHECK_LIB([udev], [udev_queue_get_udev_is_active]) |
25 |
+AC_SUBST(UDEV_LIBS, $LIBS) |
26 |
+LIBS=$saved_LIBS |
27 |
+ |
28 |
AC_ARG_ENABLE(shared-library, |
29 |
[ --disable-shared-library |
30 |
disable building of shared cryptsetup library],, |
31 |
diff -ur cryptsetup-1.1.0.orig/lib/Makefile.am cryptsetup-1.1.0/lib/Makefile.am |
32 |
--- cryptsetup-1.1.0.orig/lib/Makefile.am 2009-12-30 18:29:28.000000000 +0200 |
33 |
+++ cryptsetup-1.1.0/lib/Makefile.am 2010-04-23 21:41:34.000000000 +0300 |
34 |
@@ -33,6 +33,7 @@ |
35 |
libcryptsetup_la_LIBADD = \ |
36 |
@UUID_LIBS@ \ |
37 |
@DEVMAPPER_LIBS@ \ |
38 |
+ @UDEV_LIBS@ \ |
39 |
@LIBGCRYPT_LIBS@ \ |
40 |
../luks/libluks.la |