summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-11-11 11:29:25 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-11-11 11:29:25 +0000
commit0ae3f47a853ba72180bea8a246da28568dfa7413 (patch)
treecf50c0641937a66a75862eff835302ddf5226fbc /media-gfx/xsane/xsane-0.998-r1.ebuild
parentStable for amd64, wrt bug #441144 (diff)
downloadgentoo-2-0ae3f47a853ba72180bea8a246da28568dfa7413.tar.gz
gentoo-2-0ae3f47a853ba72180bea8a246da28568dfa7413.tar.bz2
gentoo-2-0ae3f47a853ba72180bea8a246da28568dfa7413.zip
Fix direct AR call wrt bug #442606. Thanks to Vicente Olivert Riera for reporting this issue
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'media-gfx/xsane/xsane-0.998-r1.ebuild')
-rw-r--r--media-gfx/xsane/xsane-0.998-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/media-gfx/xsane/xsane-0.998-r1.ebuild b/media-gfx/xsane/xsane-0.998-r1.ebuild
index 178c6460a77e..8d128c46de4d 100644
--- a/media-gfx/xsane/xsane-0.998-r1.ebuild
+++ b/media-gfx/xsane/xsane-0.998-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/xsane-0.998-r1.ebuild,v 1.3 2012/08/22 02:24:10 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/xsane-0.998-r1.ebuild,v 1.4 2012/11/11 11:29:25 pinkbyte Exp $
EAPI="4"
@@ -45,6 +45,10 @@ src_prepare() {
# Fix compability with libpng15 wrt #377363
sed -i -e 's:png_ptr->jmpbuf:png_jmpbuf(png_ptr):' src/xsane-save.c || die
+
+ # Fix AR calling directly (bug #442606)
+ sed -i -e 's:ar r:$(AR) r:' lib/Makefile.in || die
+ tc-export AR
}
src_configure() {