From 22ef0b29c2b1dbc9e94c9aad3a3c93aa6bc6c7c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Glo=C3=9Fner?= Date: Sat, 9 Aug 2008 01:46:57 +0200 Subject: [PATCH] cryptsetup: patch for udev; thanks to tilman --- cryptsetup/.md5sum | 1 + cryptsetup/Pkgfile | 5 ++++- cryptsetup/cryptsetup.diff | 12 ++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 cryptsetup/cryptsetup.diff diff --git a/cryptsetup/.md5sum b/cryptsetup/.md5sum index a9ae17672..602595c3f 100644 --- a/cryptsetup/.md5sum +++ b/cryptsetup/.md5sum @@ -1 +1,2 @@ 00d452eb7a76e39f5749545d48934a10 cryptsetup-1.0.6.tar.bz2 +265837dfc393a41f17a7e533d3470ed9 cryptsetup.diff diff --git a/cryptsetup/Pkgfile b/cryptsetup/Pkgfile index aff3700bb..ef425105f 100644 --- a/cryptsetup/Pkgfile +++ b/cryptsetup/Pkgfile @@ -6,10 +6,13 @@ name=cryptsetup version=1.0.6 release=1 -source=(http://luks.endorphin.org/source/$name-$version.tar.bz2) +source=(http://luks.endorphin.org/source/$name-$version.tar.bz2 + $name.diff) build() { cd $name-$version + + patch -Np1 -i $SRC/$name.diff touch m4/Makefile.in diff --git a/cryptsetup/cryptsetup.diff b/cryptsetup/cryptsetup.diff new file mode 100644 index 000000000..433c165f3 --- /dev/null +++ b/cryptsetup/cryptsetup.diff @@ -0,0 +1,12 @@ +diff -aur cryptsetup-1.0.6.orig/lib/libdevmapper.c cryptsetup-1.0.6/lib/libdevmapper.c +--- cryptsetup-1.0.6.orig/lib/libdevmapper.c 2007-10-25 09:11:19.000000000 +0200 ++++ cryptsetup-1.0.6/lib/libdevmapper.c 2008-08-03 11:42:44.076356162 +0200 +@@ -18,7 +18,7 @@ + + #define CRYPT_TARGET "crypt" + +-#define UDEVSETTLE "/sbin/udevsettle" ++#define UDEVSETTLE "/sbin/udevadm settle" + + static void run_udevsettle(void) + {