Skip to content

Commit f4f93d4

Browse files
authored
Updating libpng to v1.6.39 (#19248)
1 parent 7f3c740 commit f4f93d4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/third_party/libpng/pngtest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2028,4 +2028,4 @@ main(void)
20282028
#endif
20292029

20302030
/* Generate a compiler error if there is an old png.h in the search path. */
2031-
typedef png_libpng_version_1_6_37 Your_png_h_is_not_version_1_6_37;
2031+
typedef png_libpng_version_1_6_39 Your_png_h_is_not_version_1_6_39;

tools/ports/libpng.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
import os
77

8-
TAG = '1.6.37'
9-
HASH = '2ce2b855af307ca92a6e053f521f5d262c36eb836b4810cb53c809aa3ea2dcc08f834aee0ffd66137768a54397e28e92804534a74abb6fc9f6f3127f14c9c338'
8+
TAG = '1.6.39'
9+
HASH = '19851afffbe2ffde62d918f7e9017dec778a7ce9c60c75cdc65072f086e6cdc9d9895eb7b207535a84cb5f4ead77ebc2aa9d80025f153662903023e1f7ab9bae'
1010

1111
deps = ['zlib']
1212
variants = {
@@ -67,9 +67,9 @@ def show():
6767

6868
pnglibconf_h = r'''/* pnglibconf.h - library build configuration */
6969
70-
/* libpng version 1.6.37 */
70+
/* libpng version 1.6.39 */
7171
72-
/* Copyright (c) 2018-2019 Cosmin Truta */
72+
/* Copyright (c) 2018-2022 Cosmin Truta */
7373
/* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */
7474
7575
/* This code is released under the libpng license. */
@@ -341,7 +341,7 @@ def show():
341341
#define PNG_USER_MEM_SUPPORTED
342342
#define PNG_USER_TRANSFORM_INFO_SUPPORTED
343343
#define PNG_USER_TRANSFORM_PTR_SUPPORTED
344-
/*#undef PNG_WARNINGS_SUPPORTED*/
344+
#define PNG_WARNINGS_SUPPORTED
345345
#define PNG_WRITE_16BIT_SUPPORTED
346346
#define PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
347347
#define PNG_WRITE_BGR_SUPPORTED

0 commit comments

Comments
 (0)