diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-30 03:44:23 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-30 03:44:23 +0800 |
commit | fad5d3a30ab4aff2de87dfad01d013d1c75416c2 (patch) | |
tree | a76e4c8a88dc3f29f3e7fabd8963f8b88961ef20 /x11/fbdesk | |
parent | a85010b27e42ee06038447a944a42a1153608dab (diff) | |
download | freebsd-ports-gnome-fad5d3a30ab4aff2de87dfad01d013d1c75416c2.tar.gz freebsd-ports-gnome-fad5d3a30ab4aff2de87dfad01d013d1c75416c2.tar.zst freebsd-ports-gnome-fad5d3a30ab4aff2de87dfad01d013d1c75416c2.zip |
- fix build for png-1.4.1
Diffstat (limited to 'x11/fbdesk')
-rw-r--r-- | x11/fbdesk/files/patch-ImagePNG.cc | 11 |
1 files changed, 11 insertions, 0 deletions
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; + } |