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.

The already committed graphics/imlib2 patch does not work,
i.e. it compiles, but png doesn't work, with this one it does:

diff -Nur imlib2.orig/files/patch-loader_png.c imlib2/files/patch-loader_png.c
--- imlib2.orig/files/patch-loader_png.c        2010-03-29 10:12:43.000000000 
+0200
+++ imlib2/files/patch-loader_png.c     2010-03-29 10:08:41.000000000 +0200
@@ -5,7 +5,7 @@
          /* if we haven't read the header before, set the header data */
          fread(buf, 1, PNG_BYTES_TO_CHECK, f);
 -        if (!png_check_sig(buf, PNG_BYTES_TO_CHECK))
-+        if (png_check_sig(buf, 0, PNG_BYTES_TO_CHECK))
++        if (png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK) != 0)
            {
               fclose(f);
               return 0;
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to