summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/zlib/qtpatches.diff
Commit message (Collapse)AuthorAgeFilesLines
* Update Zlib to 1.3.1Mårten Nordheim2024-01-251-27/+15
| | | | | | | | | | | [ChangeLog][Third-Party Code] zlib was updated to version 1.3.1. Task-number: QTBUG-121325 Fixes: QTBUG-121444 Pick-to: 6.7 6.6.2 6.6 6.5 6.2 5.15 Change-Id: I0a72b7966916ccb825c7a8ae251e09b2914f0cf4 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
* Update bundled zlib to version 1.3Dennis Oberst2023-09-051-50/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zlib 1.3 has been available since August 18, 2023. Version 1.3 now defines the following: # define crc32_combine_gen z_crc32_combine_gen # define crc32_combine_gen64 z_crc32_combine_gen64 # define crc32_combine_op z_crc32_combine_op We patched those in manually with qtpatches.diff, so we update it to reflect these changes. Updated the diff with 'git diff --relative > qtpatches.diff' from within the 3rdparty/zlib directory. Since updating zlib always requires some manual intervention add a minimal guide that will be printed on using import_from_zlib_tarball.sh. As a drive-by fix an error in import_from_zlib_tarball.sh where passing in a path already containing a backslash as: import_from_zlib_tarball.sh zlib-1.x/ ./ would append another backshlash to that path (zlib-1.x//). Furthermore add the '-v' flag to the copy command to make it more verbose. [ChangeLog][Third-Party Code] zlib was updated to version 1.3. Task-number: QTBUG-116236 Pick-to: 6.6 6.5 6.2 5.15 Change-Id: Ib7c8698035e1e049b455308c5774fcaf88b7622a Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Update bundled zlib to version 1.2.13Dennis Oberst2022-11-181-6/+6
| | | | | | | | | | | | zlib 1.2.13 has been available since October 13, 2022. Also fixes CVE-2022-37434. [ChangeLog][Third-Party Code] zlib was updated to version 1.2.13. Fixes: QTBUG-108130 Pick-to: 6.4 6.2 5.15 Change-Id: Iaa2a9486f1cbbcd6a23d48df632e01bc05b414d5 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Update zconf.h prefixes to match zlib v1.2.12 updateChristian Heimlich2022-09-031-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | Historically Qt has used `Z_PREFIX` within zconf.h of its bundled zlib copy to prefix all zlib symbols with `z_` in order to prevent clashes with a potential system install of the library when linking statically; however, v1.2.12 introduced 3 new functions that were erroneously not accounted for in the upstream repository: - crc32_combine_gen - crc32_combine_gen64 - crc32_combine_op `403020` updated our bundled zlib to this new version and therefore Qt has inherited this oversight, now clashing with external zlib builds. Manually add prefix macro definitions for these three symbols to restore built-in zlib to its previous clash free state while waiting for the issue to be addressed upstream. Pick-to: 6.4 6.3 6.2 5.15 Change-Id: I83f88109a08cf7e7117f1c94b4557a2c36f519c3 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* zlib as static libraryKai Köhne2022-04-221-21/+6
| | | | | | | | | | Do build zlib as static 3rdparty library. This makes it easier to disable warnings. Pick-to: 6.3 Change-Id: I1db331b671b64e68d81c56b0df337983c3bbe7fa Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update bundled zlib to version 1.2.12André Klitzing2022-03-311-39/+28
| | | | | | | | | | | | The remaining diff to clean 1.2.12 is archived in the qtpatches.diff file. Also this fixes CVE-2018-25032. [ChangeLog][Third-Party Code] zlib was updated to version 1.2.12. Change-Id: Ifab5d57acdc90ace61f2fd22c6dbb7ec6b4ad319 Pick-to: 6.2 6.3 6.3.0 5.15 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* zlib: Disable MSVC warning C4267Kai Köhne2021-04-261-1/+3
| | | | | | Pick-to: 6.1 Change-Id: Ifc51c1847841bb7172f79067facf0c7e425a042b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Update bundled zlib to version 1.2.11André Klitzing2017-08-041-0/+154
Also clean up some unused files. The remaining diff to clean 1.2.11 is archived in the qtpatches.diff file. [ChangeLog][Third-Party Code] zlib was updated to version 1.2.11. Task-number: QTBUG-31020 Change-Id: I89f890904af48c6e9ba6eabc5d58f5adbe2c53f0 Reviewed-by: Kai Koehne <kai.koehne@qt.io>