From d42a343612314177c1648cfdfad6d03ba2e347ee Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 29 Mar 2010 19:44:23 +0000 Subject: [PATCH] - fix build for png-1.4.1 --- x11/fbdesk/files/patch-ImagePNG.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 x11/fbdesk/files/patch-ImagePNG.cc diff --git a/x11/fbdesk/files/patch-ImagePNG.cc b/x11/fbdesk/files/patch-ImagePNG.cc new file mode 100644 index 000000000000..40c49462c946 --- /dev/null +++ b/x11/fbdesk/files/patch-ImagePNG.cc @@ -0,0 +1,11 @@ +--- src/FbTk/ImagePNG.cc.orig 2004-09-20 16:04:11.000000000 +0200 ++++ src/FbTk/ImagePNG.cc 2010-03-29 21:44:37.000000000 +0200 +@@ -88,7 +88,7 @@ + // check header + unsigned char tag[4]; + fread(tag, 1, 4, fp); +- if (!png_check_sig(tag, 4)) { ++ if (png_sig_cmp(tag, 0, 4)) { + fclose(fp); + return 0; + }