summaryrefslogtreecommitdiffstats
path: root/abs/core/windowmaker/libpng-1.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/windowmaker/libpng-1.4.patch')
-rw-r--r--abs/core/windowmaker/libpng-1.4.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core/windowmaker/libpng-1.4.patch b/abs/core/windowmaker/libpng-1.4.patch
new file mode 100644
index 0000000..419e8fa
--- /dev/null
+++ b/abs/core/windowmaker/libpng-1.4.patch
@@ -0,0 +1,12 @@
+diff -Naur WindowMaker-0.92.0-orig/wrlib/load.c WindowMaker-0.92.0/wrlib/load.c
+--- WindowMaker-0.92.0-orig/wrlib/load.c 2010-01-21 16:10:39.000000000 -0500
++++ WindowMaker-0.92.0/wrlib/load.c 2010-01-21 16:13:15.000000000 -0500
+@@ -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
+