diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-04-21 04:06:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-04-21 04:06:49 +0000 |
commit | a15596cbaf4ac4e9fdd8c197d7df871682d7bd47 (patch) | |
tree | 91f8cd80f23f5a0d350430232374b3b2c71a92f1 /net-mail/mailwrapper | |
parent | version bump, remove old (diff) | |
download | historical-a15596cbaf4ac4e9fdd8c197d7df871682d7bd47.tar.gz historical-a15596cbaf4ac4e9fdd8c197d7df871682d7bd47.tar.bz2 historical-a15596cbaf4ac4e9fdd8c197d7df871682d7bd47.zip |
Fix implicit memory decls #265616.
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
Diffstat (limited to 'net-mail/mailwrapper')
-rw-r--r-- | net-mail/mailwrapper/ChangeLog | 9 | ||||
-rw-r--r-- | net-mail/mailwrapper/Manifest | 15 | ||||
-rw-r--r-- | net-mail/mailwrapper/files/mailwrapper-0.2.1-headers.patch | 12 | ||||
-rw-r--r-- | net-mail/mailwrapper/mailwrapper-0.2.1-r1.ebuild | 14 | ||||
-rw-r--r-- | net-mail/mailwrapper/mailwrapper-0.2.1.ebuild | 19 |
5 files changed, 46 insertions, 23 deletions
diff --git a/net-mail/mailwrapper/ChangeLog b/net-mail/mailwrapper/ChangeLog index 7259a0d70de3..27950e96814e 100644 --- a/net-mail/mailwrapper/ChangeLog +++ b/net-mail/mailwrapper/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-mail/mailwrapper -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailwrapper/ChangeLog,v 1.38 2008/07/09 06:41:02 tove Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailwrapper/ChangeLog,v 1.39 2009/04/21 04:06:48 vapier Exp $ + + 21 Apr 2009; Mike Frysinger <vapier@gentoo.org> + +files/mailwrapper-0.2.1-headers.patch, mailwrapper-0.2.1, + mailwrapper-0.2.1-r1: + Fix implicit memory decls #265616. 09 Jul 2008; Torsten Veller <tove@gentoo.org> metadata.xml: Remove g2boojum from metadata (#208353) diff --git a/net-mail/mailwrapper/Manifest b/net-mail/mailwrapper/Manifest index 8420e7fd17f8..e7c4aa15afc1 100644 --- a/net-mail/mailwrapper/Manifest +++ b/net-mail/mailwrapper/Manifest @@ -2,15 +2,16 @@ Hash: SHA1 AUX mailer.conf 1489 RMD160 c56497957e9fa787d9b662b373ca5d78273e765b SHA1 0dc1e74280b535be8b65a79fde1bc9b3c4d9cddf SHA256 b3ecbfee9ecc5dc9fe9d9ec74034a82c1362e0faae081d818c0489e877bfe305 +AUX mailwrapper-0.2.1-headers.patch 170 RMD160 fbd418ba3223b0b0e3d21143fa73b5dffd9ba978 SHA1 4638bfe5e11b3d2338babe40c6f4b9271e5d51ea SHA256 e2b7b4e884c104b23a6f40ffa6361538e37a74bbf911cd8e55112b884b342307 DIST mailwrapper-0.2.1.tbz2 6461 RMD160 f61d6a6de8ade7a064482210ec744f408948cd8c SHA1 7b0ed9b13efac8dd36dd6f9c85f2b51eda7b5906 SHA256 2eba38b83d2bdfe05d3ec937851657c616eacc5ec66c061cb85b870c3e575844 -EBUILD mailwrapper-0.2.1-r1.ebuild 1061 RMD160 820ddb5b9b8ad1e57eb74fee0b33b16365f98aaf SHA1 b871f38b5e2fcc14ffeb148f23c6c2f6fa0a16c6 SHA256 40ef60df31482f8bcd4ad9aafe1d527a9e7cc6aab87f9679eda3a533a9da01a2 -EBUILD mailwrapper-0.2.1.ebuild 1082 RMD160 1f3556981038a18fdbcf7c63fa56cff2ed30dd98 SHA1 c14a39d79989c679905908ec35f806972293ba3d SHA256 0a170afd6d5ba296d572c3b647408c581b4f2137b8f757062d57b4ef2ce622f0 -MISC ChangeLog 4809 RMD160 e2f1ac0958acba04bb7a73d329c4c9379b648786 SHA1 71593dca4e1c0ebb70c8570c3a93988c9b3fa083 SHA256 29368dd495f73b474e092e9f4ecb6b74ad8f100e939c4112d0cd3c495db0baca +EBUILD mailwrapper-0.2.1-r1.ebuild 1157 RMD160 e3d9947c2009012b3c5347120a5285f51265f43a SHA1 bace9e7e4f3c658d3a1c500059d9b38ea485fcb5 SHA256 f3e678b1dad24ce2fb55e1888bdf4c9b17fef022bb47d1a2f9d05da0afab21c0 +EBUILD mailwrapper-0.2.1.ebuild 1173 RMD160 9c25c91d1ca5b2cc778a41cb7c6c6a654227e053 SHA1 b193e7b3f88c15fc1b5b654efcfdc4b8234c5602 SHA256 a5d8043da5acee3e17cb4c8256c152a5731a816131443982ec6d88e9b97d811f +MISC ChangeLog 4984 RMD160 76a4a089091198844d7b941b10b95cc0e474c4f7 SHA1 2d6ee2aa4d18d0f2f1fed7f8bdc41a5f26a1d2b9 SHA256 a06e7cf7e78dfd165c0f302c819c9f04bf2a3b3408fef4cb29968e0fd2e482e8 MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAkh0XX8ACgkQV3J2n04EauzUJQCfU6o7cKhS1FUG9KK0YfQm9asT -LwUAn0MCfWgj0j8MzzRuvp+ScWhJ4KAm -=MdMn +iEYEARECAAYFAkntRmAACgkQn/5bYzqsSmFA8ACdFUnj5/amyuze9ztiTXf+h9ZN +QyMAoJboJx1E7ZUUUI5hoyx99XfB7+Pw +=9qlW -----END PGP SIGNATURE----- diff --git a/net-mail/mailwrapper/files/mailwrapper-0.2.1-headers.patch b/net-mail/mailwrapper/files/mailwrapper-0.2.1-headers.patch new file mode 100644 index 000000000000..9b4937a49a2f --- /dev/null +++ b/net-mail/mailwrapper/files/mailwrapper-0.2.1-headers.patch @@ -0,0 +1,12 @@ +http://bugs.gentoo.org/265616 + +--- a/fgetln.c ++++ b/fgetln.c +@@ -37,6 +37,7 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> + #include <string.h> + #include <errno.h> + diff --git a/net-mail/mailwrapper/mailwrapper-0.2.1-r1.ebuild b/net-mail/mailwrapper/mailwrapper-0.2.1-r1.ebuild index bdfb6b68df4a..dc6fb676d210 100644 --- a/net-mail/mailwrapper/mailwrapper-0.2.1-r1.ebuild +++ b/net-mail/mailwrapper/mailwrapper-0.2.1-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailwrapper/mailwrapper-0.2.1-r1.ebuild,v 1.11 2006/10/17 10:56:50 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailwrapper/mailwrapper-0.2.1-r1.ebuild,v 1.12 2009/04/21 04:06:48 vapier Exp $ -inherit toolchain-funcs +inherit eutils toolchain-funcs DESCRIPTION="Program to invoke an appropriate MTA based on a config file" HOMEPAGE="http://www.gentoo.org/" @@ -13,10 +13,14 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" IUSE="" -DEPEND="" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-headers.patch #265616 +} src_compile() { - $(tc-getCC) ${CFLAGS} \ + $(tc-getCC) ${CFLAGS} ${LDFLAGS} \ -o mailwrapper \ mailwrapper.c fparseln.c fgetln.c \ || die "build failed" diff --git a/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild b/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild index 2f091eeafebc..a01c373b30f1 100644 --- a/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild +++ b/net-mail/mailwrapper/mailwrapper-0.2.1.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/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild,v 1.10 2008/02/03 14:55:34 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailwrapper/mailwrapper-0.2.1.ebuild,v 1.11 2009/04/21 04:06:48 vapier Exp $ -inherit toolchain-funcs +inherit eutils toolchain-funcs DESCRIPTION="Program to invoke an appropriate MTA based on a config file" HOMEPAGE="http://www.gentoo.org/" @@ -13,10 +13,14 @@ SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" IUSE="" -DEPEND="" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-headers.patch #265616 +} src_compile() { - $(tc-getCC) ${CFLAGS} \ + $(tc-getCC) ${CFLAGS} ${LDFLAGS} \ -o mailwrapper \ mailwrapper.c fparseln.c fgetln.c \ || die "build failed" @@ -30,11 +34,8 @@ src_install() { } pkg_postinst() { - if [[ -e /etc/mailer.conf ]] - then - elog + if [ -e "${ROOT}"/etc/mailer.conf ] ; then elog "The mailwrapper config file has moved to /etc/mail/mailer.conf," elog "so the /etc/mailer.conf file on your system is no longer used." - elog fi } |