]> git.pld-linux.org Git - packages/OpenSceneGraph.git/commitdiff
- fix building with giflib 51
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 29 Oct 2014 19:58:47 +0000 (20:58 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 29 Oct 2014 19:58:47 +0000 (20:58 +0100)
OpenSceneGraph.spec
giflib.patch [new file with mode: 0644]

index c33a27de82230d11c9bd38fd710bb29a96d411c7..118442985895b5f563a1d4c264068623a20807f1 100644 (file)
@@ -9,6 +9,7 @@ Source0:        http://www.openscenegraph.org/downloads/developer_releases/%{name}-%{ve
 # 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
@@ -78,6 +79,7 @@ Wtyczki dla biblioteki Open Scene Graph.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
diff --git a/giflib.patch b/giflib.patch
new file mode 100644 (file)
index 0000000..9662899
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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;
+ }
This page took 0.201002 seconds and 4 git commands to generate.