diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 04:48:54 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 04:48:54 +0000 |
commit | ecbafa3aa2a7bf6a1d4a9bab3ab4ce67b292ad94 (patch) | |
tree | 67a7eb3322b47f2e4b232b9a74c94fc216bf9a56 /japanese | |
parent | 9a7aba1ad0770f80a7090610d98ae0ca2f4e654a (diff) | |
download | ports-ecbafa3aa2a7bf6a1d4a9bab3ab4ce67b292ad94.tar.gz ports-ecbafa3aa2a7bf6a1d4a9bab3ab4ce67b292ad94.zip |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/emacs-emcws/files/patch-src-xfns.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/japanese/emacs-emcws/files/patch-src-xfns.c b/japanese/emacs-emcws/files/patch-src-xfns.c new file mode 100644 index 000000000000..208256a93689 --- /dev/null +++ b/japanese/emacs-emcws/files/patch-src-xfns.c @@ -0,0 +1,20 @@ +--- src/xfns.c.orig 2002-12-06 18:05:35.000000000 +0100 ++++ src/xfns.c 2010-03-30 06:35:54.000000000 +0200 +@@ -8641,7 +8641,7 @@ + + /* Check PNG signature. */ + if (fread (sig, 1, sizeof sig, fp) != sizeof sig +- || !png_check_sig (sig, sizeof sig)) ++ || png_sig_cmp (sig, 0, sizeof sig)) + { + image_error ("Not a PNG file: `%s'", file, Qnil); + UNGCPRO; +@@ -8658,7 +8658,7 @@ + + /* Check PNG signature. */ + if (tbr.len < sizeof sig +- || !png_check_sig (tbr.bytes, sizeof sig)) ++ || png_sig_cmp (tbr.bytes, 0, sizeof sig)) + { + image_error ("Not a PNG image: `%s'", img->spec, Qnil); + UNGCPRO; |