diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 18:15:38 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 18:15:38 +0000 |
commit | 0b0f936de4ede3a65915123d836c4ae0dd91760b (patch) | |
tree | a40e0b77b9aa19eae63e6e4e1ac6a87e98200b41 /editors/emacs22 | |
parent | xsw is a tool for generating presentations. (diff) |
- update patch png14
PR: 145171
Notes
Notes:
svn path=/head/; revision=251847
Diffstat (limited to 'editors/emacs22')
-rw-r--r-- | editors/emacs22/Makefile | 2 | ||||
-rw-r--r-- | editors/emacs22/files/patch-src-image.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/editors/emacs22/Makefile b/editors/emacs22/Makefile index b532f710762e..2b399fbac7fa 100644 --- a/editors/emacs22/Makefile +++ b/editors/emacs22/Makefile @@ -7,7 +7,7 @@ PORTNAME= emacs PORTVERSION= ${EMACS_VER} -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= editors ipv6 MASTER_SITES= ${MASTER_SITE_GNU} diff --git a/editors/emacs22/files/patch-src-image.c b/editors/emacs22/files/patch-src-image.c index c031bb012f30..408d00ba8095 100644 --- a/editors/emacs22/files/patch-src-image.c +++ b/editors/emacs22/files/patch-src-image.c @@ -32,7 +32,7 @@ /* Check PNG signature. */ if (fread (sig, 1, sizeof sig, fp) != sizeof sig - || !fn_png_check_sig (sig, sizeof sig)) -+ || !fn_png_sig_cmp (sig, 0, sizeof sig)) ++ || fn_png_sig_cmp (sig, 0, sizeof sig)) { image_error ("Not a PNG file: `%s'", file, Qnil); UNGCPRO; @@ -41,7 +41,7 @@ /* Check PNG signature. */ if (tbr.len < sizeof sig - || !fn_png_check_sig (tbr.bytes, sizeof sig)) -+ || !fn_png_sig_cmp (tbr.bytes, 0, sizeof sig)) ++ || fn_png_sig_cmp (tbr.bytes, 0, sizeof sig)) { image_error ("Not a PNG image: `%s'", img->spec, Qnil); UNGCPRO; |