summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2005-11-19 05:10:01 +0000
committerMark Loeser <halcy0n@gentoo.org>2005-11-19 05:10:01 +0000
commitbc034357466870f867063fde7afa25e531c42814 (patch)
tree44ca54b22b517bb47535e3885e30dd9be1cb8f33 /media-gfx/hugin/files
parentAdded ~sparc keyword wrt bug #112811. (diff)
downloadgentoo-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/files')
-rw-r--r--media-gfx/hugin/files/hugin-0.5_rc2-gcc4.patch34
1 files changed, 34 insertions, 0 deletions
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);