PNG.patch 1.2 KB

1234567891011121314151617181920212223242526
  1. Common subdirectories: ../libpng-1.6.35-orig/arm and ./arm
  2. Common subdirectories: ../libpng-1.6.35-orig/contrib and ./contrib
  3. Common subdirectories: ../libpng-1.6.35-orig/intel and ./intel
  4. Common subdirectories: ../libpng-1.6.35-orig/mips and ./mips
  5. Only in ./: PNG.patch
  6. diff -u ../libpng-1.6.35-orig/pngrutil.c ./pngrutil.c
  7. --- ../libpng-1.6.35-orig/pngrutil.c 2018-07-15 20:58:00.000000000 +0200
  8. +++ ./pngrutil.c 2021-03-24 15:59:38.687108444 +0100
  9. @@ -422,13 +422,6 @@
  10. png_ptr->flags |= PNG_FLAG_ZSTREAM_INITIALIZED;
  11. }
  12. -#if ZLIB_VERNUM >= 0x1290 && \
  13. - defined(PNG_SET_OPTION_SUPPORTED) && defined(PNG_IGNORE_ADLER32)
  14. - if (((png_ptr->options >> PNG_IGNORE_ADLER32) & 3) == PNG_OPTION_ON)
  15. - /* Turn off validation of the ADLER32 checksum in IDAT chunks */
  16. - ret = inflateValidate(&png_ptr->zstream, 0);
  17. -#endif
  18. -
  19. if (ret == Z_OK)
  20. png_ptr->zowner = owner;
  21. Common subdirectories: ../libpng-1.6.35-orig/powerpc and ./powerpc
  22. Common subdirectories: ../libpng-1.6.35-orig/projects and ./projects
  23. Common subdirectories: ../libpng-1.6.35-orig/scripts and ./scripts
  24. Common subdirectories: ../libpng-1.6.35-orig/tests and ./tests