summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-04-07 11:41:00 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-04-07 11:41:00 +0000
commitb27f0a12bb5330ec553c1eda5a2fd022deaa5c3d (patch)
tree39f3a2d21c33be915247e1f650b1d3ce8e8ee767 /mail-filter
parent[bump] dev-perl/CDB_File-0.970.0 (diff)
downloadhistorical-b27f0a12bb5330ec553c1eda5a2fd022deaa5c3d.tar.gz
historical-b27f0a12bb5330ec553c1eda5a2fd022deaa5c3d.tar.bz2
historical-b27f0a12bb5330ec553c1eda5a2fd022deaa5c3d.zip
Fix build with gcc-4.6.0. Bug #362047
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/spamdyke/ChangeLog6
-rw-r--r--mail-filter/spamdyke/Manifest15
-rw-r--r--mail-filter/spamdyke/files/spamdyke-4.2.0-gcc46.patch10
-rw-r--r--mail-filter/spamdyke/spamdyke-4.2.0.ebuild5
4 files changed, 32 insertions, 4 deletions
diff --git a/mail-filter/spamdyke/ChangeLog b/mail-filter/spamdyke/ChangeLog
index 64d8ddf05b40..c194a9787bc7 100644
--- a/mail-filter/spamdyke/ChangeLog
+++ b/mail-filter/spamdyke/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/spamdyke
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamdyke/ChangeLog,v 1.18 2011/02/25 08:08:46 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamdyke/ChangeLog,v 1.19 2011/04/07 11:41:00 tupone Exp $
+
+ 07 Apr 2011; Alfredo Tupone <tupone@gentoo.org> spamdyke-4.2.0.ebuild,
+ +files/spamdyke-4.2.0-gcc46.patch:
+ Fix build with gcc-4.6.0. Bug #362047 by Diego Elio Pettenò
*spamdyke-4.2.0 (25 Feb 2011)
diff --git a/mail-filter/spamdyke/Manifest b/mail-filter/spamdyke/Manifest
index dc8a5c7807a4..f2917e082c5c 100644
--- a/mail-filter/spamdyke/Manifest
+++ b/mail-filter/spamdyke/Manifest
@@ -1,7 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX spamdyke-4.2.0-gcc46.patch 237 RMD160 05a2a81616687c108c0630c770bfee60535f7c33 SHA1 342c3bc8d8e8ed3ba323315c6cbec9c694436950 SHA256 608dec91f87afbec072f7fbc9c7a937beee3f25c81a6970bb33271315e160f1e
DIST spamdyke-4.0.10.tgz 454117 RMD160 2f31c939c949038265039c10704dfed3cea68802 SHA1 69a94678a78ab845030177fa2916438b0ee98d9e SHA256 daacc661c149f41fe12229da805f849c0dae2595f7b051c5091589502f8341f3
DIST spamdyke-4.2.0.tgz 502879 RMD160 eb325e06f69de48934ade4140da30adff5b5dd60 SHA1 8434906f761e5d81337150e77c4a9291a49bf5e3 SHA256 eb5fd04893f12bc6613c7afd9d7884f1d66eaaed17c4af58abc567e9de6ab416
EBUILD spamdyke-4.0.10-r1.ebuild 2178 RMD160 6a9e324c43de72675e216609ba90a82374dbf629 SHA1 430ee0201cec5be910fa3add9e820f9151db6c42 SHA256 3fc74d61795056de7d16160f7a79bc7ee039d7aabf5179f119605f42c7401211
EBUILD spamdyke-4.0.10.ebuild 2234 RMD160 5bcc520cbce7c68bf9579588ba32491c47d96bac SHA1 909c0253d6ae977bf89b17c91f88c9da97ce3b1f SHA256 5818d31706c4822ac3b4620ba3f0bbd737bfbd7fcc41ed33d49272083dfd9e98
-EBUILD spamdyke-4.2.0.ebuild 2198 RMD160 e9c574a86d938dc42b887e5e1de980bedd47d02b SHA1 432a7b4ff8c5d36d724be9af7982a03ccc6f17be SHA256 b06314809a6d4c5427976f3acf353243f36b2684a0aed9c94d0f532f49bc5663
-MISC ChangeLog 2604 RMD160 05a516596d5459b84ced5ee9dfaee6007aa251a2 SHA1 fd44335c524eba8d37160a854d1f550cf4594ae4 SHA256 e64c7f0906decf3c225f2f8b156700d0ce7086520b0554989f30ac43f17d87ec
+EBUILD spamdyke-4.2.0.ebuild 2275 RMD160 a70aa9d420995291cb527ab485bed5c6d6471726 SHA1 d923141ecce4d2c1a246b196349b8d3780163ee6 SHA256 9b7173cfad38e6c0a650de7f9e6179cfd04c883186bbcbae8e694934803bfc8d
+MISC ChangeLog 2778 RMD160 04f578b9f40b4346a18a09e81bb894a42dff2419 SHA1 693225ca464877317b40a30dfd05318a286d9260 SHA256 b5a4da8af2d3fc8fea5544929c3f74883727d90081258f44cbbd8f8413dc3c25
MISC metadata.xml 779 RMD160 9b025454580ef303ffa5acd0dcc5baaa1d323a6b SHA1 b5e1fa8bb45cb34876e3b6207d37efc0156a03a9 SHA256 99a5ee30cac08fd1556678c111df83f027e54c71a5dc0884887787d21a5fe17c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk2dotYACgkQIY77eQFFFC0niwCdF0l/Hp4mEFT+644C3qbNQeF2
+EoEAoMO7NZ3t1QCGwnlPZdh2cN64f73o
+=e8F3
+-----END PGP SIGNATURE-----
diff --git a/mail-filter/spamdyke/files/spamdyke-4.2.0-gcc46.patch b/mail-filter/spamdyke/files/spamdyke-4.2.0-gcc46.patch
new file mode 100644
index 000000000000..f9428bee6bf0
--- /dev/null
+++ b/mail-filter/spamdyke/files/spamdyke-4.2.0-gcc46.patch
@@ -0,0 +1,10 @@
+--- configure.ac.old 2011-04-07 09:37:58.000000000 +0200
++++ configure.ac 2011-04-07 09:38:12.000000000 +0200
+@@ -22,7 +22,6 @@
+ AC_CONFIG_HEADER([config.h])
+
+ AC_LANG_WERROR
+-CFLAGS=-Wall
+
+ # Checks for programs.
+ AC_PROG_CC([[gcc]])
diff --git a/mail-filter/spamdyke/spamdyke-4.2.0.ebuild b/mail-filter/spamdyke/spamdyke-4.2.0.ebuild
index a21fdf5d0d7f..ea09c254e1f2 100644
--- a/mail-filter/spamdyke/spamdyke-4.2.0.ebuild
+++ b/mail-filter/spamdyke/spamdyke-4.2.0.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamdyke/spamdyke-4.2.0.ebuild,v 1.1 2011/02/25 08:08:46 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamdyke/spamdyke-4.2.0.ebuild,v 1.2 2011/04/07 11:41:00 tupone Exp $
EAPI="2"
+inherit eutils autotools
DESCRIPTION="A drop-in connection-time spam filter for qmail"
HOMEPAGE="http://www.spamdyke.org/"
@@ -20,6 +21,7 @@ RDEPEND="${DEPEND}
S=${WORKDIR}/${P}/${PN}
src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc46.patch
echo "# Configuration option for ${PN}" > ${PN}.conf
if use tls; then
echo "tls-certificate-file=/var/qmail/control/clientcert.pem" \
@@ -34,6 +36,7 @@ src_prepare() {
sed -i \
-e "/STRIP_CMD/d" \
Makefile.in || die "sed on Makefile.in failed"
+ eautoreconf
}
src_configure() {