summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2010-10-27 03:18:00 +0000
committerRyan Hill <dirtyepic@gentoo.org>2010-10-27 03:18:00 +0000
commitee380db3c3a4cb074c46e9074a33183c677e50c7 (patch)
tree8653fd6475aca7898c24ebffaf0728d63e7b3060
parentFix some compiler warnings. Set RDEPEND. (diff)
downloadgentoo-2-ee380db3c3a4cb074c46e9074a33183c677e50c7.tar.gz
gentoo-2-ee380db3c3a4cb074c46e9074a33183c677e50c7.tar.bz2
gentoo-2-ee380db3c3a4cb074c46e9074a33183c677e50c7.zip
Fix build error with GCC 4.5. Patch by Kevin Pyle in bug #318485.
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
-rw-r--r--net-misc/hylafax/ChangeLog5
-rw-r--r--net-misc/hylafax/hylafax-6.0.3.ebuild4
2 files changed, 7 insertions, 2 deletions
diff --git a/net-misc/hylafax/ChangeLog b/net-misc/hylafax/ChangeLog
index 1a0151017a9b..372efd6aca1a 100644
--- a/net-misc/hylafax/ChangeLog
+++ b/net-misc/hylafax/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/hylafax
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.103 2010/05/23 17:47:48 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/ChangeLog,v 1.104 2010/10/27 03:18:00 dirtyepic Exp $
+
+ 27 Oct 2010; Ryan Hill <dirtyepic@gentoo.org> hylafax-6.0.3.ebuild:
+ Fix build error with GCC 4.5. Patch by Kevin Pyle in bug #318485.
23 May 2010; Steve Arnold <nerdboy@gentoo.org> hylafax-4.4.4-r2.ebuild,
hylafax-6.0.3.ebuild, -hylafax-4.2.5.ebuild, -hylafax-4.3.0.ebuild,
diff --git a/net-misc/hylafax/hylafax-6.0.3.ebuild b/net-misc/hylafax/hylafax-6.0.3.ebuild
index 381845d06f8a..93c90645eafb 100644
--- a/net-misc/hylafax/hylafax-6.0.3.ebuild
+++ b/net-misc/hylafax/hylafax-6.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-6.0.3.ebuild,v 1.7 2010/05/23 17:47:48 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hylafax/hylafax-6.0.3.ebuild,v 1.8 2010/10/27 03:18:00 dirtyepic Exp $
EAPI="2"
@@ -53,6 +53,8 @@ src_configure() {
-e "s|5678|56789|" \
-e "s|3.8.|3.9.|" \
configure || die
+ # strip missing header to prevent failure with GCC 4.5 (bug #318485)
+ sed -i -e 's|libc\.h ||' configure
local my_conf="
--with-DIR_BIN=/usr/bin