OBS User unknown 2009-06-12 15:58:59 +00:00 committed by Git OBS Bridge
parent 6e6b18d12d
commit 95a37e8513
3 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 11 21:36:28 CEST 2009 - coolo@novell.com
- fix compile with glibc 2.10
-------------------------------------------------------------------
Thu Apr 2 09:33:22 CEST 2009 - lnussel@suse.de

View File

@ -30,7 +30,7 @@ License: BSD 3-Clause; GPL v2 only; GPL v2 or later
Group: System/Base
AutoReqProv: on
Version: 1.0.5_SVNr46
Release: 63
Release: 64
Summary: Set Up dm-crypt Based Encrypted Block Devices
Source: cryptsetup-%{version}.tar.bz2
Source1: hashalot-%haver.tar.bz2
@ -45,6 +45,7 @@ Patch12: hashalot-ctrl-d.diff
Patch13: hashalot-timeout.diff
Patch14: hashalot-manpage.diff
Patch15: bug-476290_hashalot-hashlen.diff
Patch16: hashalot-glibc210.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: aaa_base:/etc/init.d/boot.crypto
Obsoletes: util-linux-crypto <= 2.12r
@ -122,6 +123,7 @@ pushd ../hashalot-%haver
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
popd
%build
@ -223,6 +225,8 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libcryptsetup.so
%changelog
* Thu Jun 11 2009 coolo@novell.com
- fix compile with glibc 2.10
* Thu Apr 02 2009 lnussel@suse.de
- boot.crypto:
* resolve symlinks when searching for loop devices (bnc#490170)

12
hashalot-glibc210.diff Normal file
View File

@ -0,0 +1,12 @@
Index: hashalot-0.3/hashalot.c
===================================================================
--- hashalot-0.3.orig/hashalot.c
+++ hashalot-0.3/hashalot.c
@@ -22,6 +22,7 @@
#include <unistd.h>
#include <assert.h>
#include <signal.h>
+#include <limits.h>
#include <sys/types.h>
#include <sys/mman.h>