[go: nahoru, domu]

Skip to content

Commit

Permalink
Updating libpng to v1.6.39 (#19248)
Browse files Browse the repository at this point in the history
  • Loading branch information
HCLJason committed Apr 26, 2023
1 parent 7f3c740 commit f4f93d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/third_party/libpng/pngtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -2028,4 +2028,4 @@ main(void)
#endif

/* Generate a compiler error if there is an old png.h in the search path. */
typedef png_libpng_version_1_6_37 Your_png_h_is_not_version_1_6_37;
typedef png_libpng_version_1_6_39 Your_png_h_is_not_version_1_6_39;
10 changes: 5 additions & 5 deletions tools/ports/libpng.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

import os

TAG = '1.6.37'
HASH = '2ce2b855af307ca92a6e053f521f5d262c36eb836b4810cb53c809aa3ea2dcc08f834aee0ffd66137768a54397e28e92804534a74abb6fc9f6f3127f14c9c338'
TAG = '1.6.39'
HASH = '19851afffbe2ffde62d918f7e9017dec778a7ce9c60c75cdc65072f086e6cdc9d9895eb7b207535a84cb5f4ead77ebc2aa9d80025f153662903023e1f7ab9bae'

deps = ['zlib']
variants = {
Expand Down Expand Up @@ -67,9 +67,9 @@ def show():

pnglibconf_h = r'''/* pnglibconf.h - library build configuration */
/* libpng version 1.6.37 */
/* libpng version 1.6.39 */
/* Copyright (c) 2018-2019 Cosmin Truta */
/* Copyright (c) 2018-2022 Cosmin Truta */
/* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */
/* This code is released under the libpng license. */
Expand Down Expand Up @@ -341,7 +341,7 @@ def show():
#define PNG_USER_MEM_SUPPORTED
#define PNG_USER_TRANSFORM_INFO_SUPPORTED
#define PNG_USER_TRANSFORM_PTR_SUPPORTED
/*#undef PNG_WARNINGS_SUPPORTED*/
#define PNG_WARNINGS_SUPPORTED
#define PNG_WRITE_16BIT_SUPPORTED
#define PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
#define PNG_WRITE_BGR_SUPPORTED
Expand Down

0 comments on commit f4f93d4

Please sign in to comment.