Subject: [bug#76740] [PATCH 1/2] gnu: ffmpeg-7: Update to 7.1.1.

From: 45mg <[email-masked]>
Date: Tue, 4 Mar 2025 17:32:59 +0530

* gnu/packages/video.scm (ffmpeg-7): Update to 7.1.1.
[phases] {configure}: Don't expect a space in shebang lines; the spaces
were removed in FFmpeg commit 67e2f8b6bf5a44fa8083f90096de6131601879b4.

Change-Id: If774bae60713009d7267332959388002bc47daed
---
# guix refresh --list-dependent ffmpeg@7
Building the following 4 packages would ensure 4 dependent packages are rebuilt: [email-masked] [email-masked] [email-masked] [email-masked]

 gnu/packages/video.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 8a6feb267d..c1e86f0f68 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1669,14 +1669,14 @@ (define-public libva-utils
 (define-public ffmpeg-7
   (package
     (name "ffmpeg")
-    (version "7.0.2")
+    (version "7.1.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://ffmpeg.org/releases/ffmpeg-"
                                   version ".tar.xz"))
               (sha256
                (base32
-                "12dkv17mrsdqrm70c30azjw7qi1lfxca7xisw81x6flacddm2il6"))))
+                "1c837agaw8ljhjx6ndp2w7hffi2mkb22vnmb8v0fbfqdbqwq8fbk"))))
     (outputs '("out" "debug"))
     (build-system gnu-build-system)
     (inputs
@@ -1858,7 +1858,7 @@ (define-public ffmpeg-7
             (lambda* (#:key outputs configure-flags #:allow-other-keys)
               (let ((out (assoc-ref outputs "out")))
                 (substitute* "configure"
-                  (("#! /bin/sh") (string-append "#!" (which "sh"))))
+                  (("#! */bin/sh") (string-append "#!" (which "sh"))))
                 (setenv "SHELL" (which "bash"))
                 (setenv "CONFIG_SHELL" (which "bash"))
                 (apply invoke
-- 
2.48.1