1 |
axs 13/08/01 00:10:36 |
2 |
|
3 |
Added: lvm2-2.02.97-udev-static.patch |
4 |
Log: |
5 |
fixed compile error when building with USE='static udev', bug 370217 |
6 |
|
7 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sys-fs/lvm2/files/lvm2-2.02.97-udev-static.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/lvm2/files/lvm2-2.02.97-udev-static.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/lvm2/files/lvm2-2.02.97-udev-static.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: lvm2-2.02.97-udev-static.patch |
16 |
=================================================================== |
17 |
--- a/LVM2.2.02.98/make.tmpl.in 2013-07-31 18:36:16.313390582 -0400 |
18 |
+++ b/LVM2.2.02.98/make.tmpl.in 2013-07-31 18:35:26.524389673 -0400 |
19 |
@@ -32,7 +32,7 @@ |
20 |
|
21 |
LIBS = @LIBS@ |
22 |
# Extra libraries always linked with static binaries |
23 |
-STATIC_LIBS = $(SELINUX_LIBS) $(UDEV_LIBS) |
24 |
+STATIC_LIBS = $(SELINUX_LIBS) $(UDEV_STATIC_LIBS) |
25 |
DEFS += @DEFS@ |
26 |
CFLAGS += @CFLAGS@ |
27 |
CLDFLAGS += @CLDFLAGS@ |
28 |
@@ -47,6 +47,7 @@ |
29 |
READLINE_LIBS = @READLINE_LIBS@ |
30 |
SELINUX_LIBS = @SELINUX_LIBS@ |
31 |
UDEV_LIBS = @UDEV_LIBS@ |
32 |
+UDEV_STATIC_LIBS = @UDEV_STATIC_LIBS@ |
33 |
TESTING = @TESTING@ |
34 |
|
35 |
# Setup directory variables |
36 |
--- a/LVM2.2.02.98/configure.in 2013-07-31 18:36:16.291390582 -0400 |
37 |
+++ b/LVM2.2.02.98/configure.in 2013-07-31 18:32:18.849386248 -0400 |
38 |
@@ -930,9 +930,11 @@ |
39 |
if test x$PKGCONFIG_INIT != x1; then |
40 |
pkg_config_init |
41 |
fi |
42 |
PKG_CHECK_MODULES(UDEV, libudev >= 143, [UDEV_PC="libudev"]) |
43 |
+ UDEV_STATIC_LIBS=`$PKG_CONFIG --static --libs libudev` |
44 |
AC_DEFINE([UDEV_SYNC_SUPPORT], 1, [Define to 1 to enable synchronisation with udev processing.]) |
45 |
fi |
46 |
+AC_SUBST(UDEV_STATIC_LIBS) |
47 |
|
48 |
dnl -- Enable udev rules |
49 |
AC_MSG_CHECKING(whether to enable installation of udev rules required for synchronisation) |