Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting2.git;a=commitdiff;h=ddb188983cc4f588be2da89f86eb959b19852242

commit ddb188983cc4f588be2da89f86eb959b19852242
Author: Baste <[email protected]>
Date:   Thu Jun 28 16:38:30 2012 +0200

silly-0.1.0-3-x86_64
* Add libpng15.patch

diff --git a/source/xlib-extra/silly/FrugalBuild 
b/source/xlib-extra/silly/FrugalBuild
index d46389b..bca7c7e 100644
--- a/source/xlib-extra/silly/FrugalBuild
+++ b/source/xlib-extra/silly/FrugalBuild
@@ -9,10 +9,12 @@ pkgdesc="Simple Image Loading LibrarY."
_F_sourceforge_name="SILLY"
_F_sourceforge_dirname="crayzedsgui"
Finclude sourceforge
+source=($source libpng15.patch)
up2date="lynx -dump http://sourceforge.net/projects/crayzedsgui/files/SILLY/ | 
grep 'http.*crayzedsgui/.*SILLY/.*/$'|sed 's|.*/\(.*\)/|\1|;q' "
depends=('libjpeg>=8a' 'libpng>=1.4.1' 'libstdc++')
groups=('xlib-extra')
archs=('i686' 'x86_64')
-sha1sums=('ef5c8ed6c5c57d7d792dbb9e02006c3770334869')
+sha1sums=('ef5c8ed6c5c57d7d792dbb9e02006c3770334869' \
+          'b365653491569bb4d811981ec50b09945fbe1eb0')
_F_cd_path="SILLY-$pkgver"
# optimization OK
diff --git a/source/xlib-extra/silly/libpng15.patch 
b/source/xlib-extra/silly/libpng15.patch
new file mode 100644
index 0000000..4238535
--- /dev/null
+++ b/source/xlib-extra/silly/libpng15.patch
@@ -0,0 +1,16 @@
+diff -up SILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp~ 
SILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp
+--- SILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp~   2006-06-19 
00:42:12.000000000 +0200
++++ SILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp    2011-12-06 
14:38:31.738251526 +0100
+@@ -64,10 +64,7 @@ void PNG_error_function(png_structp png_
+                         png_const_charp error)
+ {
+     //  printf("PNG Error: %s\n", error);
+-    // copied from libpng's pngerror.cpp
+-    jmp_buf buf;
+-    memcpy(buf, png_ptr->jmpbuf, sizeof(jmp_buf));
+-    longjmp(buf, 1);
++    png_longjmp(png_ptr, 1);
+ }
+
+
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to