diff options
Diffstat (limited to 'x11-misc/fbdesk/files/fbdesk-1.4.1-libpng14.patch')
-rw-r--r-- | x11-misc/fbdesk/files/fbdesk-1.4.1-libpng14.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-misc/fbdesk/files/fbdesk-1.4.1-libpng14.patch b/x11-misc/fbdesk/files/fbdesk-1.4.1-libpng14.patch new file mode 100644 index 000000000000..472df8b742e5 --- /dev/null +++ b/x11-misc/fbdesk/files/fbdesk-1.4.1-libpng14.patch @@ -0,0 +1,11 @@ +--- src/FbTk/ImagePNG.cc ++++ src/FbTk/ImagePNG.cc +@@ -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; + } |