Date: Sun, 28 Mar 2010 19:56:50 +0300 From: "Andrei V. Lavreniyuk" <andy.lavr@reactor-xg.kiev.ua> To: freebsd-ports-bugs@freebsd.org, bug-followup@freebsd.org, Pascal.Stumpf@cubes.de Subject: Re: ports/145112: png update breaks print/dvipdfmx Message-ID: <4BAF8A52.2080004@reactor-xg.kiev.ua> In-Reply-To: <201003281637.o2SGbLDJ075092@www.freebsd.org> References: <201003281637.o2SGbLDJ075092@www.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------060402080302020905060704 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit 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. --------------060402080302020905060704 Content-Type: text/plain; name="patch-pngimage.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-pngimage.c.diff" --- 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; --------------060402080302020905060704--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BAF8A52.2080004>