diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-09 13:13:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-09 13:13:43 +0000 |
commit | e9c57d7b360dd788e4ba6f2e9b7771307c41ed5e (patch) | |
tree | bf6eb1415676774efc590880a787a83601d327f1 /testing/libwmf/libpng14.patch | |
parent | a545b8247822fa8d51168f5e3869e8a898f01933 (diff) | |
download | aports-e9c57d7b360dd788e4ba6f2e9b7771307c41ed5e.tar.bz2 aports-e9c57d7b360dd788e4ba6f2e9b7771307c41ed5e.tar.xz |
testing/libwmf: new aport
A library for reading vector images in Microsoft's native Windows Metafile Format (WMF).
http://wvware.sourceforge.net/libwmf.html
Diffstat (limited to 'testing/libwmf/libpng14.patch')
-rw-r--r-- | testing/libwmf/libpng14.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/libwmf/libpng14.patch b/testing/libwmf/libpng14.patch new file mode 100644 index 0000000000..3d38c717aa --- /dev/null +++ b/testing/libwmf/libpng14.patch @@ -0,0 +1,12 @@ +diff -Nur libwmf-0.2.8.4.orig/src/extra/gd/gd_png.c libwmf-0.2.8.4/src/extra/gd/gd_png.c +--- libwmf-0.2.8.4.orig/src/extra/gd/gd_png.c 2005-07-27 23:35:06.000000000 +0300 ++++ libwmf-0.2.8.4/src/extra/gd/gd_png.c 2010-01-17 01:33:58.000000000 +0200 +@@ -136,7 +136,7 @@ + /* first do a quick check that the file really is a PNG image; could + * have used slightly more general png_sig_cmp() function instead */ + gdGetBuf (sig, 8, infile); +- if (!png_check_sig (sig, 8)) ++ if (png_sig_cmp (sig, 0, 8)) + return NULL; /* bad signature */ + + #ifndef PNG_SETJMP_NOT_SUPPORTED |