summaryrefslogtreecommitdiffstats
path: root/abs/core/windowmaker-crm-git/libpng-1.4.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-11-06 18:47:39 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-11-06 18:47:39 (GMT)
commitc534b905d2331ed62fd0c0d4766d54fc987f372d (patch)
tree635fffc28af265d5407038e76496cccc26d38f28 /abs/core/windowmaker-crm-git/libpng-1.4.patch
parentb8bc491c0d660f003071d9be40eb4a01405d1bca (diff)
downloadlinhes_pkgbuild-c534b905d2331ed62fd0c0d4766d54fc987f372d.zip
linhes_pkgbuild-c534b905d2331ed62fd0c0d4766d54fc987f372d.tar.gz
linhes_pkgbuild-c534b905d2331ed62fd0c0d4766d54fc987f372d.tar.bz2
windowmaker: move to core, needed for the program wmsetbg
Diffstat (limited to 'abs/core/windowmaker-crm-git/libpng-1.4.patch')
-rw-r--r--abs/core/windowmaker-crm-git/libpng-1.4.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core/windowmaker-crm-git/libpng-1.4.patch b/abs/core/windowmaker-crm-git/libpng-1.4.patch
new file mode 100644
index 0000000..5dbe5fd
--- /dev/null
+++ b/abs/core/windowmaker-crm-git/libpng-1.4.patch
@@ -0,0 +1,12 @@
+diff -Naur windowmaker-20091221-orig/wrlib/load.c windowmaker-20091221/wrlib/load.c
+--- windowmaker-20091221-orig/wrlib/load.c 2010-01-21 17:01:10.000000000 -0500
++++ windowmaker-20091221/wrlib/load.c 2010-01-21 17:02:38.000000000 -0500
+@@ -327,7 +327,7 @@
+
+ #ifdef USE_PNG
+ /* check for PNG */
+- if (png_check_sig(buffer, 8))
++ if (!png_sig_cmp(buffer, 0, 8))
+ return IM_PNG;
+ #endif
+