summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2013-05-30 23:21:24 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2013-05-30 23:21:24 +0000
commit086937ae84a00dfe773c4212400dac1d4e3e0eea (patch)
tree3eb710eac3f54e0a0c0d55556c5b31e61b4d46d4 /net-mail/vpopmail
parentpropagate static-libs use dep to libunwind (diff)
downloadgentoo-2-086937ae84a00dfe773c4212400dac1d4e3e0eea.tar.gz
gentoo-2-086937ae84a00dfe773c4212400dac1d4e3e0eea.tar.bz2
gentoo-2-086937ae84a00dfe773c4212400dac1d4e3e0eea.zip
Fix build with new automake/aclocal. Also bug #343341: _FORTIFY_SOURCE.
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-mail/vpopmail')
-rw-r--r--net-mail/vpopmail/ChangeLog7
-rw-r--r--net-mail/vpopmail/vpopmail-5.4.33.ebuild14
2 files changed, 17 insertions, 4 deletions
diff --git a/net-mail/vpopmail/ChangeLog b/net-mail/vpopmail/ChangeLog
index 1b9e7e1ef640..df8a035ae090 100644
--- a/net-mail/vpopmail/ChangeLog
+++ b/net-mail/vpopmail/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/vpopmail
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/vpopmail/ChangeLog,v 1.108 2012/02/09 03:50:00 jer Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/vpopmail/ChangeLog,v 1.109 2013/05/30 23:21:24 robbat2 Exp $
+
+ 30 May 2013; Robin H. Johnson <robbat2@gentoo.org> vpopmail-5.4.33.ebuild:
+ Fix build with new automake/aclocal. Also bug #343341: _FORTIFY_SOURCE.
09 Feb 2012; Jeroen Roovers <jer@gentoo.org> vpopmail-5.4.33.ebuild:
Stable for HPPA (bug #378371).
diff --git a/net-mail/vpopmail/vpopmail-5.4.33.ebuild b/net-mail/vpopmail/vpopmail-5.4.33.ebuild
index afac37b8d7fd..cb6aac82c44f 100644
--- a/net-mail/vpopmail/vpopmail-5.4.33.ebuild
+++ b/net-mail/vpopmail/vpopmail-5.4.33.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/vpopmail/vpopmail-5.4.33.ebuild,v 1.7 2012/02/09 03:50:00 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/vpopmail/vpopmail-5.4.33.ebuild,v 1.8 2013/05/30 23:21:24 robbat2 Exp $
EAPI=4
@@ -58,6 +58,16 @@ src_prepare() {
sed -i -e '/printf.*vpopmail/s:vpopmail (:(:' \
vdelivermail.c vpopbull.c vqmaillocal.c || die
+ # automake/autoconf
+ mv -f "${S}"/configure.{in,ac} || die
+ sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' \
+ configure.ac || die
+
+ # _FORTIFY_SOURCE
+ sed -i \
+ -e 's/\(snprintf(\s*\(LI->[a-zA-Z_]\+\),\s*\)[a-zA-Z_]\+,/\1 sizeof(\2),/' \
+ vlistlib.c || die
+
eautoreconf
ht_fix_file cdb/Makefile
}