summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2009-03-08 22:11:45 +0000
committerHanno Böck <hanno@gentoo.org>2009-03-08 22:11:45 +0000
commit12cf0b49b0ca9f28e8f05a8cbc639f2637b6bc32 (patch)
tree8d934e9f1abc97a76a7d5a257bc82860d2c73c90 /app-crypt/luks-tools
parentFix implicit decl errors on 64bit systems. (diff)
downloadgentoo-2-12cf0b49b0ca9f28e8f05a8cbc639f2637b6bc32.tar.gz
gentoo-2-12cf0b49b0ca9f28e8f05a8cbc639f2637b6bc32.tar.bz2
gentoo-2-12cf0b49b0ca9f28e8f05a8cbc639f2637b6bc32.zip
luks-tools: don't use -Werror
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/luks-tools')
-rw-r--r--app-crypt/luks-tools/ChangeLog9
-rw-r--r--app-crypt/luks-tools/files/luks-tools-0.0.12-disable-werror.patch11
-rw-r--r--app-crypt/luks-tools/luks-tools-0.0.12-r1.ebuild10
3 files changed, 24 insertions, 6 deletions
diff --git a/app-crypt/luks-tools/ChangeLog b/app-crypt/luks-tools/ChangeLog
index 5de39b21dca4..3d73c0b4443f 100644
--- a/app-crypt/luks-tools/ChangeLog
+++ b/app-crypt/luks-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-crypt/luks-tools
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/luks-tools/ChangeLog,v 1.6 2008/04/14 18:42:19 cardoe Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/luks-tools/ChangeLog,v 1.7 2009/03/08 22:11:45 hanno Exp $
+
+ 08 Mar 2009; Hanno Boeck <hanno@gentoo.org>
+ +files/luks-tools-0.0.12-disable-werror.patch,
+ luks-tools-0.0.12-r1.ebuild:
+ Don't use -Werror.
14 Apr 2008; Doug Goldstein <cardoe@gentoo.org> luks-tools-0.0.12.ebuild,
luks-tools-0.0.12-r1.ebuild:
diff --git a/app-crypt/luks-tools/files/luks-tools-0.0.12-disable-werror.patch b/app-crypt/luks-tools/files/luks-tools-0.0.12-disable-werror.patch
new file mode 100644
index 000000000000..ad545df6efec
--- /dev/null
+++ b/app-crypt/luks-tools/files/luks-tools-0.0.12-disable-werror.patch
@@ -0,0 +1,11 @@
+--- luks-tools-0.0.12-1/src/Makefile.am 2006-09-10 23:04:50.000000000 +0200
++++ luks-tools-0.0.12/src/Makefile.am 2009-03-08 23:05:16.000000000 +0100
+@@ -33,7 +33,7 @@
+
+ EXTRA_DIST = gnome-luks-format.glade common.h
+
+-AM_CFLAGS = $(GLIB_CFLAGS) -Werror
++AM_CFLAGS = $(GLIB_CFLAGS)
+
+ clean-local :
+ rm -f *~
diff --git a/app-crypt/luks-tools/luks-tools-0.0.12-r1.ebuild b/app-crypt/luks-tools/luks-tools-0.0.12-r1.ebuild
index ac97d4e3c93d..c494fb7c77cc 100644
--- a/app-crypt/luks-tools/luks-tools-0.0.12-r1.ebuild
+++ b/app-crypt/luks-tools/luks-tools-0.0.12-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/luks-tools/luks-tools-0.0.12-r1.ebuild,v 1.3 2008/04/14 18:42:19 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/luks-tools/luks-tools-0.0.12-r1.ebuild,v 1.4 2009/03/08 22:11:45 hanno Exp $
-inherit eutils
+inherit eutils autotools
DESCRIPTION="GUI frontend for dm-crypt/luks."
HOMEPAGE="http://www.flyn.org/projects/luks-tools/"
@@ -21,7 +21,9 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/luks-tools-0.0.12-pam-config.patch"
+ epatch "${FILESDIR}/${P}-pam-config.patch" || die "epatch failed"
+ epatch "${FILESDIR}/${P}-disable-werror.patch" || die "epatch failed"
+ eautoreconf || die "eautoreconf failed"
}
src_compile() {