On 28/03/2010 15:38, Ion-Mihai Tetcu wrote:
> We do _NOT_ recommend updating ports until this commits are all done,
> and the problems are fixed, except if you want to help testing / fixing.
Fix for graphics/evas-loader-png.
diff -Nur
evas-loader-png.orig/files/patch-src-modules-loaders-png-evas_image_load_png.c
evas-loader-png/files/patch-src-modules-loaders-png-evas_image_load_png.c
---
evas-loader-png.orig/files/patch-src-modules-loaders-png-evas_image_load_png.c
1970-01-01 01:00:00.000000000 +0100
+++ evas-loader-png/files/patch-src-modules-loaders-png-evas_image_load_png.c
2010-03-29 09:54:23.000000000 +0200
@@ -0,0 +1,11 @@
+--- src/modules/loaders/png/evas_image_load_png.c.orig 2010-03-29
09:51:19.000000000 +0200
++++ src/modules/loaders/png/evas_image_load_png.c 2010-03-29
09:52:29.000000000 +0200
+@@ -44,7 +44,7 @@
+ fclose(f);
+ return 0;
+ }
+- if (!png_check_sig(buf, PNG_BYTES_TO_CHECK))
++ if (png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK) != 0)
+ {
+ fclose(f);
+ return 0;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"