From 569c11cbdc342473b2e3ce5451ee6322b164f103 Mon Sep 17 00:00:00 2001 From: Benedikt Boehm Date: Fri, 2 Jan 2009 16:35:22 +0000 Subject: fix #248229 (Portage version: 2.2_rc20/cvs/Linux 2.6.22-vs2.3.0.34-gentoo x86_64) --- mail-mta/netqmail/ChangeLog | 8 ++++++-- mail-mta/netqmail/files/1.06-readwrite.patch | 13 +++++++++++++ mail-mta/netqmail/netqmail-1.06.ebuild | 5 +++-- 3 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 mail-mta/netqmail/files/1.06-readwrite.patch (limited to 'mail-mta/netqmail') diff --git a/mail-mta/netqmail/ChangeLog b/mail-mta/netqmail/ChangeLog index a4eb50de6d16..1e307e497562 100644 --- a/mail-mta/netqmail/ChangeLog +++ b/mail-mta/netqmail/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-mta/netqmail -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/ChangeLog,v 1.46 2008/08/23 01:58:02 cardoe Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/ChangeLog,v 1.47 2009/01/02 16:35:22 hollow Exp $ + + 02 Jan 2009; Benedikt Böhm + +files/1.06-readwrite.patch, netqmail-1.06.ebuild: + fix #248229 23 Aug 2008; Doug Goldstein metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/mail-mta/netqmail/files/1.06-readwrite.patch b/mail-mta/netqmail/files/1.06-readwrite.patch new file mode 100644 index 000000000000..a2fbe5fe695e --- /dev/null +++ b/mail-mta/netqmail/files/1.06-readwrite.patch @@ -0,0 +1,13 @@ +diff --git a/readwrite.h b/readwrite.h +index 2a64968..0a641a3 100644 +--- a/readwrite.h ++++ b/readwrite.h +@@ -1,7 +1,4 @@ + #ifndef READWRITE_H + #define READWRITE_H +- +-extern int read(); +-extern int write(); +- ++#include + #endif diff --git a/mail-mta/netqmail/netqmail-1.06.ebuild b/mail-mta/netqmail/netqmail-1.06.ebuild index a32bb9975ebf..5e98833cee80 100644 --- a/mail-mta/netqmail/netqmail-1.06.ebuild +++ b/mail-mta/netqmail/netqmail-1.06.ebuild @@ -1,6 +1,6 @@ -# 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/mail-mta/netqmail/netqmail-1.06.ebuild,v 1.1 2008/04/06 17:16:39 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/netqmail-1.06.ebuild,v 1.2 2009/01/02 16:35:22 hollow Exp $ GENQMAIL_PV=20080406 QMAIL_SPP_PV=0.42 @@ -76,6 +76,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}"/${PV}-exit.patch + epatch "${FILESDIR}"/${PV}-readwrite.patch ht_fix_file Makefile* -- cgit v1.2.3-65-gdbad