diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2005-11-19 05:10:01 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2005-11-19 05:10:01 +0000 |
commit | bc034357466870f867063fde7afa25e531c42814 (patch) | |
tree | 44ca54b22b517bb47535e3885e30dd9be1cb8f33 /media-gfx/hugin | |
parent | Added ~sparc keyword wrt bug #112811. (diff) | |
download | gentoo-2-bc034357466870f867063fde7afa25e531c42814.tar.gz gentoo-2-bc034357466870f867063fde7afa25e531c42814.tar.bz2 gentoo-2-bc034357466870f867063fde7afa25e531c42814.zip |
Add patch to fix compilation with gcc4.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-gfx/hugin')
-rw-r--r-- | media-gfx/hugin/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/hugin/Manifest | 13 | ||||
-rw-r--r-- | media-gfx/hugin/files/hugin-0.5_rc2-gcc4.patch | 34 | ||||
-rw-r--r-- | media-gfx/hugin/hugin-0.5_rc2.ebuild | 7 |
4 files changed, 46 insertions, 14 deletions
diff --git a/media-gfx/hugin/ChangeLog b/media-gfx/hugin/ChangeLog index f5fe30c84208..c503458d73de 100644 --- a/media-gfx/hugin/ChangeLog +++ b/media-gfx/hugin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/hugin # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.6 2005/10/16 02:23:49 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/ChangeLog,v 1.7 2005/11/19 05:10:01 halcy0n Exp $ + + 19 Nov 2005; Mark Loeser <halcy0n@gentoo.org> + +files/hugin-0.5_rc2-gcc4.patch, hugin-0.5_rc2.ebuild: + Add patch to fix compilation with gcc4. *hugin-0.5_rc1-r2 (16 Oct 2005) diff --git a/media-gfx/hugin/Manifest b/media-gfx/hugin/Manifest index 8d71e37ad288..f9a0c0d35e45 100644 --- a/media-gfx/hugin/Manifest +++ b/media-gfx/hugin/Manifest @@ -1,16 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 1ed8119f144d77d0ce8ac4d981b4f5d8 ChangeLog 1179 MD5 549db5b9b4146eb8aff8a35d39eabf1e files/digest-hugin-0.5_rc1-r2 67 MD5 fca5e4ab4e2444d69d18b311f6a5591f files/digest-hugin-0.5_rc2 67 +MD5 94d1c046f1be6ea129cd91ce56588ca6 files/hugin-0.5_rc2-gcc4.patch 1694 MD5 497db1fa2082827dd88807dffec1fe22 hugin-0.5_rc1-r2.ebuild 1483 -MD5 a55ec4c60a26b13c55062ed165600b90 hugin-0.5_rc2.ebuild 1485 +MD5 af74866e4e9a27107cc164135b7181e5 hugin-0.5_rc2.ebuild 1542 MD5 958a93f482686868d880a8b448d0899d metadata.xml 324 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDUbnHCRZPokWLroQRAqy6AJ9DeMrzVl1qKf4kLCK2CW9v8n1tUwCfe46q -eWBIgpOu716KfXIUyzqunAc= -=NC0I ------END PGP SIGNATURE----- diff --git a/media-gfx/hugin/files/hugin-0.5_rc2-gcc4.patch b/media-gfx/hugin/files/hugin-0.5_rc2-gcc4.patch new file mode 100644 index 000000000000..0499699bc172 --- /dev/null +++ b/media-gfx/hugin/files/hugin-0.5_rc2-gcc4.patch @@ -0,0 +1,34 @@ +=================================================================== +RCS file: /cvsroot/hugin/hugin/src/include/PT/RemappedPanoImage.h,v +retrieving revision 1.8 +retrieving revision 1.9 +diff -u -r1.8 -r1.9 +--- hugin/hugin/src/include/PT/RemappedPanoImage.h 2005/05/11 18:13:12 1.8 ++++ hugin/hugin/src/include/PT/RemappedPanoImage.h 2005/11/16 18:50:05 1.9 +@@ -6,7 +6,7 @@ + * + * @author Pablo d'Angelo <pablo.dangelo@web.de> + * +- * $Id: hugin-0.5_rc2-gcc4.patch,v 1.1 2005/11/19 05:10:01 halcy0n Exp $ ++ * $Id: hugin-0.5_rc2-gcc4.patch,v 1.1 2005/11/19 05:10:01 halcy0n Exp $ + * + * This is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public +@@ -436,8 +436,7 @@ + + if (imgOpts.docrop) { + vigra::BImage alpha(srcImgSize,255); +- +- if (pano.getLens(pano.getImage(imgNr)).getProjection() == Lens::CIRCULAR_FISHEYE) { ++ if (pano.getLens(img.getLensNr()).getProjection() == Lens::CIRCULAR_FISHEYE) { + FDiff2D m( (imgOpts.cropRect.left() + imgOpts.cropRect.width()/2.0) * scale, + (imgOpts.cropRect.top() + imgOpts.cropRect.height()/2.0) * scale); + +@@ -494,7 +493,6 @@ + vigra::BImage alpha(srcImgSize); + vigra::copyImage(vigra::make_triple(alphaImg.first, alphaImg.first + srcImgSize, alphaImg.second), + vigra::destImage(alpha)); +- + if (pano.getLens(img.getLensNr()).getProjection() == Lens::CIRCULAR_FISHEYE) { + FDiff2D m( (imgOpts.cropRect.left() + imgOpts.cropRect.width()/2.0) * scale, + (imgOpts.cropRect.top() + imgOpts.cropRect.height()/2.0) * scale); diff --git a/media-gfx/hugin/hugin-0.5_rc2.ebuild b/media-gfx/hugin/hugin-0.5_rc2.ebuild index 77ced715c8dc..31bb30ef7596 100644 --- a/media-gfx/hugin/hugin-0.5_rc2.ebuild +++ b/media-gfx/hugin/hugin-0.5_rc2.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-0.5_rc2.ebuild,v 1.1 2005/10/01 20:11:13 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/hugin/hugin-0.5_rc2.ebuild,v 1.2 2005/11/19 05:10:01 halcy0n Exp $ -inherit wxwidgets +inherit wxwidgets eutils DESCRIPTION="GUI for the creation & processing of panoramic images" HOMEPAGE="http://hugin.sf.net" @@ -26,6 +26,9 @@ S=${WORKDIR}/${MY_P} src_unpack() { unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc4.patch + sed -i -e 's/autopanog\.exe/autopanog/' "${S}"/src/include/hugin/config_defaults.h } |