aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-04-03 06:50:44 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-04-03 06:50:44 +0000
commita549151bb2bb1e4279ccdbf88d3511b7475d653b (patch)
tree67370cec453b7b7beb1dd202c54bf21189fdbbb4 /x11-wm
parent584ac73718e3e264d2f3eec865c850247309ace6 (diff)
downloadports-a549151bb2bb1e4279ccdbf88d3511b7475d653b.tar.gz
ports-a549151bb2bb1e4279ccdbf88d3511b7475d653b.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/compiz/files/patch-plugins_png.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11-wm/compiz/files/patch-plugins_png.c b/x11-wm/compiz/files/patch-plugins_png.c
new file mode 100644
index 000000000000..06658d10fd1a
--- /dev/null
+++ b/x11-wm/compiz/files/patch-plugins_png.c
@@ -0,0 +1,23 @@
+
+--- plugins/png.c.orig 2010-04-01 13:17:02.000000000 +0300
++++ plugins/png.c 2010-04-01 13:17:34.000000000 +0300
+@@ -167,7 +167,7 @@
+ Bool status;
+
+ sig_bytes = fread (png_sig, 1, PNG_SIG_SIZE, file);
+- if (png_check_sig (png_sig, sig_bytes) == 0)
++ if (!png_sig_cmp (png_sig, 1, sig_bytes) == 0)
+ return FALSE;
+
+ png = png_create_read_struct (PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
+@@ -218,7 +218,7 @@
+ Bool status;
+
+ memcpy (png_sig, buffer, PNG_SIG_SIZE);
+- if (png_check_sig (png_sig, PNG_SIG_SIZE) == 0)
++ if (!png_sig_cmp (png_sig, 1, PNG_SIG_SIZE) == 0)
+ return FALSE;
+
+ png = png_create_read_struct (PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
+
+