aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/thunar
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-29 14:21:04 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-29 14:21:04 +0800
commita9e36942c282b169d8de4284b8748f132537c947 (patch)
tree82fc1ee60574d3e39759aeecac4741e58ccac493 /x11-fm/thunar
parent3f28d97b1a7fe891394a20940a0bf76c502aede5 (diff)
downloadfreebsd-ports-gnome-a9e36942c282b169d8de4284b8748f132537c947.tar.gz
freebsd-ports-gnome-a9e36942c282b169d8de4284b8748f132537c947.tar.zst
freebsd-ports-gnome-a9e36942c282b169d8de4284b8748f132537c947.zip
- fix build for png-1.4.1
PR: 145119
Diffstat (limited to 'x11-fm/thunar')
-rw-r--r--x11-fm/thunar/files/patch-thunar-vfs-thumb.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-fm/thunar/files/patch-thunar-vfs-thumb.c b/x11-fm/thunar/files/patch-thunar-vfs-thumb.c
new file mode 100644
index 000000000000..0c794c8abeb1
--- /dev/null
+++ b/x11-fm/thunar/files/patch-thunar-vfs-thumb.c
@@ -0,0 +1,11 @@
+--- work.bk/Thunar-1.0.1/thunar-vfs/thunar-vfs-thumb.c 2009-01-12 12:38:49.000000000 -0800
++++ work/Thunar-1.0.1/thunar-vfs/thunar-vfs-thumb.c 2010-03-28 19:57:36.000000000 -0700
+@@ -1169,7 +1169,7 @@
+ goto done0;
+
+ /* verify the png signature */
+- if (G_LIKELY (png_check_sig ((png_bytep) signature, sizeof (signature))))
++ if (G_LIKELY (!png_sig_cmp ((png_bytep) signature, 0, sizeof (signature))))
+ rewind (fp);
+ else
+ goto done0;