[Frugalware-git] imgrebuild: gnofract4d-3.13-1-x86_64 *version bump
bouleetbil
bouleetbil at frogdev.info
Mon May 17 22:45:37 CEST 2010
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=imgrebuild.git;a=commitdiff;h=b2f020026cf56d6df0a118e9b4d86192a7731429
commit b2f020026cf56d6df0a118e9b4d86192a7731429
Author: bouleetbil <bouleetbil at frogdev.info>
Date: Mon May 17 22:23:05 2010 +0200
gnofract4d-3.13-1-x86_64
*version bump
diff --git a/source/xapps-extra/gnofract4d/FrugalBuild b/source/xapps-extra/gnofract4d/FrugalBuild
index cdd8397..6502dc7 100644
--- a/source/xapps-extra/gnofract4d/FrugalBuild
+++ b/source/xapps-extra/gnofract4d/FrugalBuild
@@ -2,14 +2,16 @@
# Maintainer: bouleetbil <bouleetbil at frogdev.info>
pkgname=gnofract4d
-pkgver=3.12
+pkgver=3.13
pkgrel=1
pkgdesc="A program for drawing fractals"
groups=('xapps-extra')
archs=('i686' 'x86_64')
-depends=('pygtk' 'libstdc++' 'libjpeg' 'python' 'libpng')
+depends=('pygtk' 'libstdc++' 'libjpeg>=8a' 'python' 'libpng>=1.4.2')
options=('scriptlet')
Finclude sourceforge
-sha1sums=('381c5fc83d6e1590adb77870cdfa0a6cea191e7a')
+source=($source png14.diff)
+sha1sums=('14572fe9f30a91a83d7599127cc7d80d7537d3e2' \
+ 'f31f2e4b59c6dc85f83fbb5aacdad447bc41d0ac')
# optimization OK
diff --git a/source/xapps-extra/gnofract4d/png14.diff b/source/xapps-extra/gnofract4d/png14.diff
new file mode 100644
index 0000000..fea429f
--- /dev/null
+++ b/source/xapps-extra/gnofract4d/png14.diff
@@ -0,0 +1,48 @@
+--- fract4d/c/imageIO.cpp
++++ fract4d/c/imageIO.cpp
+@@ -119,7 +119,7 @@
+ info_ptr = png_create_info_struct(png_ptr);
+ if(NULL == info_ptr)
+ {
+- png_destroy_write_struct(&png_ptr, png_infopp_NULL);
++ png_destroy_write_struct(&png_ptr, NULL);
+ return;
+ }
+
+@@ -312,7 +312,7 @@
+ info_ptr = png_create_info_struct(png_ptr);
+ if (info_ptr == NULL)
+ {
+- png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL);
++ png_destroy_read_struct(&png_ptr, NULL, NULL);
+ return;
+ }
+
+@@ -325,7 +325,7 @@
+ //printf("shutdown\n");
+ if(ok)
+ {
+- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
++ png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
+ }
+ }
+
+@@ -351,7 +351,7 @@
+
+ //printf("get IHDR\n");
+ png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
+- &interlace_type, int_p_NULL, int_p_NULL);
++ &interlace_type, (int *) NULL, (int *) NULL);
+
+ //printf("set res(%d,%d)\n",width,height);
+ if(!im->set_resolution(width, height, -1, -1))
+@@ -372,7 +372,7 @@
+ for (int y = 0; y < im->Yres(); y++)
+ {
+ png_bytep row = (png_bytep)(im->getBuffer() + im->row_length() * y);
+- png_read_rows(png_ptr, &row, png_bytepp_NULL, 1);
++ png_read_rows(png_ptr, &row, NULL, 1);
+ }
+ }
+ return true;
+
More information about the Frugalware-git
mailing list