summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2006-01-15 21:30:23 +0000
committerMark Loeser <halcy0n@gentoo.org>2006-01-15 21:30:23 +0000
commit0c48b3c4274f7ea976d7057d9cf248ce8eca900b (patch)
tree418042e3745f53b50179e878cfc686d2d515c612 /media-gfx/hugin/files
parentStable on amd64. (diff)
downloadhistorical-0c48b3c4274f7ea976d7057d9cf248ce8eca900b.tar.gz
historical-0c48b3c4274f7ea976d7057d9cf248ce8eca900b.tar.bz2
historical-0c48b3c4274f7ea976d7057d9cf248ce8eca900b.zip
Add dep on enblend, and also add patch to fix compilation with gcc-4.1
Package-Manager: paludis-0.1.0 svn 68:104M/
Diffstat (limited to 'media-gfx/hugin/files')
-rw-r--r--media-gfx/hugin/files/hugin-0.5-gcc41.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/media-gfx/hugin/files/hugin-0.5-gcc41.patch b/media-gfx/hugin/files/hugin-0.5-gcc41.patch
new file mode 100644
index 000000000000..b176bd28c5ba
--- /dev/null
+++ b/media-gfx/hugin/files/hugin-0.5-gcc41.patch
@@ -0,0 +1,40 @@
+diff -ur hugin-0.5-orig/src/include/PT/Panorama.h hugin-0.5/src/include/PT/Panorama.h
+--- hugin-0.5-orig/src/include/PT/Panorama.h 2005-12-26 21:35:42.000000000 -0500
++++ hugin-0.5/src/include/PT/Panorama.h 2005-12-26 21:36:14.000000000 -0500
+@@ -542,7 +542,7 @@
+ *
+ * only copies inherited variables
+ */
+- void Panorama::updateLensToImages(unsigned int lensNr);
++ void updateLensToImages(unsigned int lensNr);
+
+ /** copy lens variables to image variables.
+ * update all images that use lensNr
+diff -ur hugin-0.5-orig/src/include/PT/PanoramaMemento.h hugin-0.5/src/include/PT/PanoramaMemento.h
+--- hugin-0.5-orig/src/include/PT/PanoramaMemento.h 2005-12-26 21:35:57.000000000 -0500
++++ hugin-0.5/src/include/PT/PanoramaMemento.h 2005-12-26 21:34:00.000000000 -0500
+@@ -154,7 +154,7 @@
+ double getHFOV() const;
+
+ /** set HFOV in degrees */
+- void Lens::setHFOV(double d);
++ void setHFOV(double d);
+
+ /** get focal length of lens, it is calculated from the HFOV */
+ double getFocalLength() const;
+@@ -389,13 +389,13 @@
+ void printScriptLine(std::ostream & o) const;
+
+ /// return string name of output file format
+- static const std::string & PanoramaOptions::getFormatName(FileFormat f);
++ static const std::string & getFormatName(FileFormat f);
+
+ /** returns the FileFormat corrosponding to name.
+ *
+ * if name is not recognized, FileFormat::TIFF is returned
+ */
+- static FileFormat PanoramaOptions::getFormatFromName(const std::string & name);
++ static FileFormat getFormatFromName(const std::string & name);
+
+ /** calculate height of the output panorama
+ *