Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383963 - media-gfx/imagemagick: fix LFS cross-compile detection
Summary: media-gfx/imagemagick: fix LFS cross-compile detection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 14:54 UTC by SpanKY
Modified: 2011-09-22 02:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
lfs patch (imagemagick-6.7.2.6-lfs.patch,1.26 KB, patch)
2011-09-21 14:54 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2011-09-21 14:54:05 UTC
Created attachment 287291 [details, diff]
lfs patch

see patch for details.  OK to commit ?

--- imagemagick-6.7.2.6.ebuild
+++ imagemagick-6.7.2.6.ebuild
@@ -3,7 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.7.2.6.ebuild,v 1.1 2011/09/14 13:10:26 ssuominen Exp $
 
 EAPI=4
-inherit multilib toolchain-funcs versionator
+inherit multilib toolchain-funcs versionator eutils autotools
 
 MY_P=ImageMagick-$(replace_version_separator 3 '-')
 
@@ -63,6 +63,11 @@
 
 DOCS=( AUTHORS.txt ChangeLog NEWS.txt README.txt )
 
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-lfs.patch
+       eautoreconf
+}
+
 src_configure() {
        local depth=16
        use q8 && depth=8
Comment 1 Tim Harder gentoo-dev 2011-09-21 16:59:59 UTC
(In reply to comment #0)
> Created attachment 287291 [details, diff]
> lfs patch
> 
> see patch for details.  OK to commit ?

Looks fine to me. I assume you'll push it upstream too if you haven't already.
Comment 2 SpanKY gentoo-dev 2011-09-21 17:11:59 UTC
it has already been posted via their crappy web e-mail form
Comment 3 SpanKY gentoo-dev 2011-09-22 02:05:09 UTC
upstream said they'll integrate this in the next release

Commit message: Fix LFS detection when cross-compiling
http://sources.gentoo.org/media-gfx/imagemagick/files/imagemagick-6.7.2.6-lfs.patch?rev=1.1
http://sources.gentoo.org/media-gfx/imagemagick/imagemagick-6.7.2.6.ebuild?r1=1.1&r2=1.2
Comment 4 SpanKY gentoo-dev 2011-09-22 02:07:27 UTC
upstream said they'll integrate this in the next release

Commit message: Fix LFS detection when cross-compiling
http://sources.gentoo.org/media-gfx/imagemagick/files/imagemagick-6.7.2.6-lfs.patch?rev=1.1
http://sources.gentoo.org/media-gfx/imagemagick/imagemagick-6.7.2.6.ebuild?r1=1.1&r2=1.2
Comment 5 SpanKY gentoo-dev 2011-09-22 02:09:22 UTC
upstream said they'll integrate this in the next release

Commit message: Fix LFS detection when cross-compiling
http://sources.gentoo.org/media-gfx/imagemagick/files/imagemagick-6.7.2.6-lfs.patch?rev=1.1
http://sources.gentoo.org/media-gfx/imagemagick/imagemagick-6.7.2.6.ebuild?r1=1.1&r2=1.2