# Source0-md5: 6a7703a5b0d95b979dff1890fa0e0b53
#Source1: osg-doxygen-0.9.1.tar.gz
## Source1-md5: 7e6d785d1b763aaeae03c2dc4c148805
+Patch0: giflib.patch
URL: http://www.openscenegraph.org/projects/osg/
BuildRequires: QtCore-devel
BuildRequires: QtOpenGL-devel
%prep
%setup -q
+%patch0 -p1
%build
install -d build
--- /dev/null
+--- OpenSceneGraph-3.3.2/src/osgPlugins/gif/ReaderWriterGIF.cpp~ 2013-06-03 16:04:02.000000000 +0200
++++ OpenSceneGraph-3.3.2/src/osgPlugins/gif/ReaderWriterGIF.cpp 2014-10-29 20:57:05.905350113 +0100
+@@ -561,7 +561,7 @@
+ *width_ret = giffile->SWidth;
+ *height_ret = giffile->SHeight;
+ *numComponents_ret = 4;
+- DGifCloseFile(giffile);
++ DGifCloseFile(giffile, &Error);
+ return buffer;
+ }
+