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
This commit is contained in:
Josselin Poiret 2024-01-13 11:30:08 +01:00 committed by Ludovic Courtès
parent ef3bac711b
commit dc26246ef6
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
3 changed files with 25 additions and 1 deletions

View file

@ -10249,7 +10249,9 @@ Python list with elements of type @code{PIL.Image} (from the
(snippet '(begin
(delete-file-recursively "src/thirdparty")))
(patches
(search-patches "python-pillow-CVE-2022-45199.patch"))))
(search-patches "python-pillow-CVE-2022-45199.patch"
;; Included in 10.1.0.
"python-pillow-use-zlib-1.3.patch"))))
(build-system python-build-system)
(native-inputs (list python-pytest))
(inputs (list freetype