mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- update patch png14
PR: 145171
This commit is contained in:
parent
d1f2c486c3
commit
0b0f936de4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251847
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= emacs
|
||||
PORTVERSION= ${EMACS_VER}
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= editors ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_GNU_ALPHA}
|
||||
MASTER_SITE_SUBDIR= emacs/pretest
|
||||
|
@ -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;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= emacs
|
||||
PORTVERSION= ${EMACS_VER}
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= editors ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
|
@ -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;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= emacs
|
||||
PORTVERSION= ${EMACS_VER}
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= editors ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
|
@ -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;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= emacs
|
||||
PORTVERSION= ${EMACS_VER}
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= editors ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user