]> git.pld-linux.org Git - packages/hugin.git/commitdiff
- fix build with gcc 4.x
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 3 Jun 2006 18:46:55 +0000 (18:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    hugin-gcc4.patch -> 1.1

hugin-gcc4.patch [new file with mode: 0644]

diff --git a/hugin-gcc4.patch b/hugin-gcc4.patch
new file mode 100644 (file)
index 0000000..9abf4aa
--- /dev/null
@@ -0,0 +1,38 @@
+--- hugin-0.5/src/include/PT/PanoramaMemento.h.orig    2005-08-05 23:30:10.000000000 +0200
++++ hugin-0.5/src/include/PT/PanoramaMemento.h 2006-06-03 20:01:55.737770750 +0200
+@@ -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
+      *
+--- hugin-0.5/src/include/PT/Panorama.h.orig   2005-07-26 08:05:17.000000000 +0200
++++ hugin-0.5/src/include/PT/Panorama.h        2006-06-03 20:02:04.950346500 +0200
+@@ -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
This page took 0.072419 seconds and 4 git commands to generate.