[arch-commits] Commit in openscenegraph/trunk (PKGBUILD giflib.patch)

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu May 29 15:29:16 UTC 2014


    Date: Thursday, May 29, 2014 @ 17:29:16
  Author: spupykin
Revision: 112190

upgpkg: openscenegraph 3.2.0-4

upd

Added:
  openscenegraph/trunk/giflib.patch
Modified:
  openscenegraph/trunk/PKGBUILD

--------------+
 PKGBUILD     |   13 ++++++++++---
 giflib.patch |   12 ++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-05-29 15:08:27 UTC (rev 112189)
+++ PKGBUILD	2014-05-29 15:29:16 UTC (rev 112190)
@@ -6,7 +6,7 @@
 
 pkgname=openscenegraph
 pkgver=3.2.0
-pkgrel=3
+pkgrel=4
 pkgdesc="An Open Source, high performance real-time graphics toolkit"
 arch=('i686' 'x86_64')
 license=('custom:OSGPL')
@@ -17,9 +17,16 @@
 conflicts=('openthreads')
 provides=('openthreads')
 #source=(http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-$pkgver/source/OpenSceneGraph-$pkgver.zip
-source=(http://www.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-$pkgver.zip)
-md5sums=('4980f8692712a24d4c99f363f80c6814')
+source=(http://www.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-$pkgver.zip
+	giflib.patch)
+md5sums=('4980f8692712a24d4c99f363f80c6814'
+         '8c06c8410e8840e83c242b8b401cdad7')
 
+prepare() {
+  cd OpenSceneGraph-$pkgver
+  patch -p1 <$srcdir/giflib.patch
+}
+
 build() {
   cd OpenSceneGraph-$pkgver
   export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig:$PKG_CONFIG_PATH

Added: giflib.patch
===================================================================
--- giflib.patch	                        (rev 0)
+++ giflib.patch	2014-05-29 15:29:16 UTC (rev 112190)
@@ -0,0 +1,12 @@
+diff -wbBur OpenSceneGraph-3.2.0/src/osgPlugins/gif/ReaderWriterGIF.cpp OpenSceneGraph-3.2.0.q/src/osgPlugins/gif/ReaderWriterGIF.cpp
+--- OpenSceneGraph-3.2.0/src/osgPlugins/gif/ReaderWriterGIF.cpp	2013-06-03 18:04:02.000000000 +0400
++++ OpenSceneGraph-3.2.0.q/src/osgPlugins/gif/ReaderWriterGIF.cpp	2014-05-29 19:00:40.163985068 +0400
+@@ -561,7 +561,7 @@
+     *width_ret = giffile->SWidth;
+     *height_ret = giffile->SHeight;
+     *numComponents_ret = 4;
+-    DGifCloseFile(giffile);
++    DGifCloseFile(giffile, NULL);
+     return buffer;
+ }
+ 




More information about the arch-commits mailing list