gnu: webkitgtk: Update to 2.42.5 [security fixes].

Fixes CVE-2024-23222, CVE-2024-23206, CVE-2024-23213.

* gnu/packages/webkit.scm (webkitgtk): Update to 2.42.5.
[source]: Add snippet to fix build on some architectures.

Co-Authored-by: Efraim Flashner <efraim@flashner.co.il>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I6edbe89c0e15a237fab6d678bc656881d6628ffe
This commit is contained in:
Andre A. Gomes 2024-03-04 12:36:39 +02:00 committed by Efraim Flashner
parent bd1cc64ddd
commit 906f380f7c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -127,13 +127,20 @@ (define-public wpebackend-fdo
(define-public webkitgtk
(package
(name "webkitgtk")
(version "2.42.4")
(version "2.42.5")
(source (origin
(method url-fetch)
(uri (string-append "https://www.webkitgtk.org/releases/"
name "-" version ".tar.xz"))
(sha256
(base32 "11pdcwmdj3i9aarrf7wsfvadi6jnkaf6zf7c5i2768x2plq8na2j"))
(base32 "0jg7c7z572afywwrnvdj3m5agaviv0vkqmzznnzzv30byb0phhmn"))
(snippet
#~(begin
(use-modules (guix build utils))
;; https://bugs.webkit.org/show_bug.cgi?id=268739
;; Fix a FTBFS on i686, powerpc64le.
(substitute* "Source/JavaScriptCore/llint/LowLevelInterpreter.cpp"
(("UNUSED_VARIABLE\\(t[67]\\);") ""))))
(patches (search-patches
"webkitgtk-adjust-bubblewrap-paths.patch"))))
(build-system cmake-build-system)