libdevmapper: update 1.02.65

This commit is contained in:
Juergen Daubert 2011-07-15 12:20:01 +02:00
parent 62e86132fc
commit c3976c2c7d
3 changed files with 5 additions and 32 deletions

View File

@ -1,3 +1,2 @@
8b4e0897ee48f02c0dff11940e44e23b LVM2.2.02.84.tgz
3b42dec4d15ad106302a35149082a20e LVM2.2.02.86.tgz
fe77537669f1aa73c1c4bcfe13036961 lvm2-static_build.patch
642f6be3c88a78aa2f57c8c46a678995 lvm2-static_udev_rt.patch

View File

@ -4,17 +4,15 @@
# Depends on: udev
name=libdevmapper
version=1.02.63
release=2
source=(ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.84.tgz
lvm2-static_udev_rt.patch
version=1.02.65
release=1
source=(ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.86.tgz
lvm2-static_build.patch)
build() {
cd LVM2.2.02.84
cd LVM2.2.02.86
patch -p1 -i $SRC/lvm2-static_build.patch
patch -p1 -i $SRC/lvm2-static_udev_rt.patch
./configure --prefix=/usr \
--exec-prefix= \

View File

@ -1,24 +0,0 @@
diff -ur LVM2.2.02.84.orig/configure LVM2.2.02.84/configure
--- LVM2.2.02.84.orig/configure 2011-02-17 13:52:46.028748001 +0100
+++ LVM2.2.02.84/configure 2011-02-19 23:40:55.753991226 +0100
@@ -8799,7 +8799,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_queue_get_udev_is_active" >&5
$as_echo "$ac_cv_lib_udev_udev_queue_get_udev_is_active" >&6; }
if test "x$ac_cv_lib_udev_udev_queue_get_udev_is_active" = x""yes; then :
- UDEV_PC="libudev"; UDEV_LIBS="-ludev"
+ UDEV_PC="libudev"; UDEV_LIBS="-ludev -lrt"
else
as_fn_error $? "bailing out... libudev library is required" "$LINENO" 5
fi
diff -ur LVM2.2.02.84.orig/configure.in LVM2.2.02.84/configure.in
--- LVM2.2.02.84.orig/configure.in 2011-02-17 13:52:46.026748001 +0100
+++ LVM2.2.02.84/configure.in 2011-02-19 23:41:42.625996529 +0100
@@ -804,7 +804,7 @@
if test x$UDEV_SYNC = xyes; then
AC_CHECK_LIB(udev, udev_queue_get_udev_is_active,
- [UDEV_PC="libudev"; UDEV_LIBS="-ludev"],
+ [UDEV_PC="libudev"; UDEV_LIBS="-ludev -lrt"],
[AC_MSG_ERROR([bailing out... libudev library is required])])
AC_DEFINE([UDEV_SYNC_SUPPORT], 1, [Define to 1 to enable synchronisation with udev processing.])
fi