/
githubmirror
/
node
ОбзорДокументацияВойти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
node/
.../zlib/patches/
..
0000-build.patch

deps: update zlib to 1.3.2.1-motley-3246f1b

2 месяца назад
0001-simd.patch

deps: update zlib to 1.3.0.1-motley-24342f6

2 года назад
0002-uninitializedcheck.patch

deps: switch to chromium's zlib implementation

7 лет назад
0003-uninitializedjump.patch

deps: update zlib to upstream 8bbd6c31

4 года назад
0004-fix-uwp.patch

deps: update zlib to 1.3.2.1-motley-3246f1b

2 месяца назад
0005-infcover-gtest.patch

deps: update zlib to upstream 8bbd6c31

4 года назад
0007-zero-init-deflate-window.patch

deps: update zlib to upstream 8bbd6c31

4 года назад
0008-minizip-zip-unzip-tools.patch

deps: update zlib to 1.3.2.1-motley-3246f1b

2 месяца назад
0009-infcover-oob.patch

deps: update zlib to upstream 8bbd6c31

4 года назад
0010-cmake.patch

deps: update zlib to 1.3.2.1-motley-3246f1b

2 месяца назад
0011-avx512.patch

deps: update zlib to 1.3.2.1-motley-3246f1b

2 месяца назад
0012-lfs-open64.patch

deps: update zlib to 337322d

3 года назад
0013-cpu-feature-detection-for-arm.patch

deps: update zlib to 1.2.13.1-motley-526382e

3 года назад
0014-minizip-unzip-with-incorrect-size.patch

deps: update zlib to 1.3.0.1-motley-24342f6

2 года назад
0015-minizip-unzip-enable-decryption.patch

deps: update zlib to 1.3.2.1-motley-8b3aa8a

месяц назад
0016-minizip-parse-unicode-path-extra-field.patch

deps: update zlib to 1.3.2.1-motley-3246f1b

2 месяца назад
0017-deflate-move-zmemzero-after-null-check.patch

deps: update zlib to 1.3.0.1-motley-780819f

год назад
0018-support-prefixed-zip64.patch

deps: update zlib to 1.3.2.1-motley-3246f1b

2 месяца назад
0019-fix-zip64-in-zip.patch

deps: update zlib to 1.3.2.1-motley-3246f1b

2 месяца назад
README

deps: switch to chromium's zlib implementation

7 лет назад
README
== Patches applied on top of zlib ==
 
- 0000-build.patch: changes from the upstream version, mostly related to the
build.
- 0001-simd.patch: integrate Intel SIMD optimizations from
https://github.com/jtkukunas/zlib/
- 0002-uninitializedcheck.patch: prevent uninitialized use of state->check
 
== Procedure to create a patch file ==
 
Assuming you are working in a new feature branch:
- git format-patch master --stdout > foo.patch # where naming follows a growing
# number plus patch description.
- git add foo.patch
- git commit -a -m "Local patch."
- git rebase -i HEAD~2 # Squashing the second commit
 
As patches created in this way will feature a ChangeLog, there is no longer
the need to append this file with a description of what the patch does. This
should help to solve frequent conflicts in pending new patches on
Chromium's zlib.
 
The plan for the near future is to better insulate the platform specific
changes to ease update adoption with new releases of zlib. This insulation
happens by making changes inside contrib/ rather than the root directory
(where conflicts can happen).
 
If a change modifies enough things inside the root directory that the
intention is not immediately clear, generate a .patch file to go with your
change. If the change's modifications in the root directory are small, like:
 
#ifdef FEATURE_FLAG
use_special_feature();
#elif
use_default_behavior();
#endif
 
then the intent is clear and a .patch file doesn't need to be generated (since
it would not provide much value).
 
Ideally local changes should have a merge request featured in either:
- canonical zlib: https://github.com/madler/zlib/
- zlib-ng: https://github.com/Dead2/zlib-ng