Commit Graph

10 Commits

Author SHA1 Message Date
Henrik Rydgård 63148c7363 Hack libpng17 to believe it's a release candidate, to remove abort() from its error handling 2025-04-30 10:08:50 +02:00
Henrik Rydgård ec878bd1b4 libpng: Change the release type to rc to get the more robust error checking paths 2025-04-30 09:54:51 +02:00
santiago046 6979be0e3e Update ext/libpng17/CMakeLists.txt 2024-04-26 17:38:39 -03:00
santiago046 31bf179879 Include ARM files in ext/libpng17/CMakeLists.txt for ARM processors
Needed when building atlas/zimtool.It fixes this error:
```
/usr/bin/ld: png17/libpng17.a(pngrutil.c.o): in function `png_read_process_IDAT':
pngrutil.c:(.text+0x548c): undefined reference to `png_init_filter_functions_neon'                                                            collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/zimtool.dir/build.make:134: build/zimtool] Error 1
make[1]: *** [CMakeFiles/Makefile2:128: CMakeFiles/zimtool.dir/all] Error 2                                                                   make[1]: *** Waiting for unfinished jobs....
```
2024-04-26 17:31:27 -03:00
Unknown W. Brackets 09b7a62666 libpng: Correct func pointer type warning. 2022-08-13 12:43:14 -07:00
Unknown W. Brackets cc04523985 libpng: Patch out 100% opaque optimization.
This optimization seems to work fine if you want RGB, but if you want
RGBA, it forgets to add the fixed values back.

See #14628.
2021-08-08 12:24:37 -07:00
Henrik Rydgård 6daa18cca0 Hack around #14628. The icon is distorted but at least no crash.
Seems like a clear bug in libpng.
2021-07-19 17:09:26 +02:00
Unknown W. Brackets 8eb773888f Update to libpng v1.7.0beta90.
Previously at 1.7.0beta35.
2021-05-16 11:32:17 -07:00
Unknown W. Brackets af57eb582c Global: Add back arm files for libpng. 2020-09-29 22:41:43 -07:00
Henrik Rydgård 65617889dd Merge ext/native/ext/... directly into ext. 2020-09-30 00:30:42 +02:00