aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/windowmaker
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/windowmaker')
-rw-r--r--x11-wm/windowmaker/files/patch-wrlib_load.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-wm/windowmaker/files/patch-wrlib_load.c b/x11-wm/windowmaker/files/patch-wrlib_load.c
new file mode 100644
index 000000000000..5cf6c2f85d0d
--- /dev/null
+++ b/x11-wm/windowmaker/files/patch-wrlib_load.c
@@ -0,0 +1,11 @@
+--- wrlib/load.c.orig 2004-10-12 20:21:31.000000000 +0200
++++ wrlib/load.c 2010-03-29 07:34:45.000000000 +0200
+@@ -348,7 +348,7 @@
+
+ #ifdef USE_PNG
+ /* check for PNG */
+- if (png_check_sig(buffer, 8))
++ if (!png_sig_cmp(buffer, 0, 8))
+ return IM_PNG;
+ #endif
+