diff options
author | Josselin Poiret <dev@jpoiret.xyz> | 2024-01-13 11:30:08 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:44:26 +0200 |
commit | dc26246ef6321a7a71daaa5f906f8e4965ecabec (patch) | |
tree | 8b2109d4b6bc4ddf2a3e43d941f4b03180554819 /gnu/packages/patches | |
parent | ef3bac711b9c7abd77b8d5bbcb1afa9db46589ce (diff) |
gnu: python-pillow: Fix build with zlib 1.3.
* gnu/packages/patches/python-pillow-use-zlib-1.3.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-pillow): Use it.
Change-Id: I97e706c11f616c42fb604cb616a94663f389a376
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/python-pillow-use-zlib-1.3.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/patches/python-pillow-use-zlib-1.3.patch b/gnu/packages/patches/python-pillow-use-zlib-1.3.patch new file mode 100644 index 0000000000..48863ba8da --- /dev/null +++ b/gnu/packages/patches/python-pillow-use-zlib-1.3.patch @@ -0,0 +1,21 @@ +From 9ef7cb39def45b0fe1cdf4828ca20838a1fc39d1 Mon Sep 17 00:00:00 2001 +From: Andrew Murray <radarhere@users.noreply.github.com> +Date: Fri, 18 Aug 2023 22:22:51 +1000 +Subject: [PATCH] Updated zlib to 1.3 + +--- + Tests/test_file_png.py | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/Tests/test_file_png.py b/Tests/test_file_png.py +index 3ffe93c6d15..f8df88d6777 100644 +--- a/Tests/test_file_png.py ++++ b/Tests/test_file_png.py +@@ -79,6 +79,6 @@ def get_chunks(self, filename): + + def test_sanity(self, tmp_path): + # internal version number +- assert re.search(r"\d+\.\d+\.\d+(\.\d+)?$", features.version_codec("zlib")) ++ assert re.search(r"\d+(\.\d+){1,3}$", features.version_codec("zlib")) + + test_file = str(tmp_path / "temp.png") |