ports/145112: png update breaks print/dvipdfmx

Andrei V. Lavreniyuk andy.lavr at reactor-xg.kiev.ua
Sun Mar 28 16:57:00 UTC 2010


28.03.2010 19:37, Pascal Stumpf пишет:

> dvipdfmx-pngimage.o(.text+0x222f): In function `check_for_png':
> : undefined reference to `png_check_sig'
> *** Error code 1



--- src/pngimage.c.orig 2009-05-11 05:15:26.000000000 +0300
+++ src/pngimage.c      2010-03-28 19:14:53.218820917 +0300
@@ -148,7 +148,7 @@
    rewind (png_file);
    if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
        sizeof(sigbytes) ||
-      (!png_check_sig (sigbytes, sizeof(sigbytes))))
+      (!png_sig_cmp (sigbytes, 0, sizeof(sigbytes))))
      return 0;
    else
      return 1;





-- 
  Best regards, Andrei V. Lavreniyuk.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-pngimage.c.diff
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20100328/096b354a/attachment.ksh>


More information about the freebsd-ports-bugs mailing list