Subject: [PATCH v2 4/4] gnu: libpng: Update to 1.6.40.

From: Herman Rimm <[email-masked]>
Date: Thu, 18 Jan 2024 08:26:38 +0100

* gnu/packages/image.scm (libpng, libpng-apng): Update to 1.6.40.

Change-Id: I7e8aeac53e862c768baf58f6bb18211a4bd801f8
---
 gnu/packages/image.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 6ba2c2464f..3fd3548766 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -199,7 +199,7 @@ (define-public iqa
 (define-public libpng
   (package
    (name "libpng")
-   (version "1.6.37")  ; Remember to also update libpng-apng if possible!
+   (version "1.6.40")  ; Remember to also update libpng-apng if possible!
    (source (origin
             (method url-fetch)
             (uri (list (string-append "mirror://sourceforge/libpng/libpng16/"
@@ -212,7 +212,7 @@ (define-public libpng
                         "/libpng16/libpng-" version ".tar.xz")))
             (sha256
              (base32
-              "1jl8in381z0128vgxnvn33nln6hzckl7l7j9nqvkaf1m9n1p0pjh"))))
+              "18dk04x3ypg0vdk4zgkqg7r8xyq6b592mnf67qd27zv74jdlfnsk"))))
    (build-system gnu-build-system)
    (arguments
     `(#:configure-flags '("--disable-static")))
@@ -231,7 +231,7 @@ (define-public libpng-apng
   ;; The APNG patch is maintained separately and may lag behind upstream libpng.
   (package
     (name "libpng-apng")
-    (version "1.6.39")
+    (version "1.6.40")
     (source
      (origin
        (method url-fetch)
@@ -244,7 +244,7 @@ (define-public libpng-apng
                    "ftp://ftp.simplesystems.org/pub/libpng/png/src/history"
                    "/libpng16/libpng-" version ".tar.xz")))
        (sha256
-        (base32 "0dv90dxvmqpk7mbywyjbz8lh08cv4b0ksqp1y62mzvmlf379cihz"))))
+        (base32 "18dk04x3ypg0vdk4zgkqg7r8xyq6b592mnf67qd27zv74jdlfnsk"))))
     (build-system gnu-build-system)
     (arguments
      `(#:modules ((guix build gnu-build-system)
@@ -276,7 +276,7 @@ (define-public libpng-apng
                                   version "/libpng-" version "-apng.patch.gz"))
                   (sha256
                    (base32
-                    "1z8cx011a2c7vagwgi92rbmky1wi8awmrdldqh9f5k80pbmbdi2a"))))))
+                    "0byvav9xh6njrsrl8i32nnhna37fqz9bwqi6f9n8v3ckh9ja8g0a"))))))
     (native-inputs
      (list libtool))
     ;; libpng.la says "-lz", so propagate it.
-- 
2.41.0