Subject: bug#50866: closed (Re: bug#50866: [PATCH] gnu: sdl-ttf: Update to 2.0.11.1.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 02 Oct 2021 14:21:02 +0000

Your bug report

#50866: [PATCH] gnu: sdl-ttf: Update to 2.0.11.1.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
50866: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50866
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#50866: [PATCH] gnu: sdl-ttf: Update to 2.0.11.1.
From: 宋文武 <[email-masked]>
To: [email-masked]
Cc: 宋文武 <[email-masked]>
Date: Sat, 02 Oct 2021 22:21:33 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Pushed.

Subject: [PATCH] gnu: sdl-ttf: Update to 2.0.11.1.
From: [email-masked]
To: [email-masked]
Cc: 宋文武 <[email-masked]>
Date: Tue, 28 Sep 2021 22:27:15 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

From: 宋文武 <[email-masked]>

* gnu/packages/sdl.scm (sdl-ttf): Update to 2.0.11.1.
---
 gnu/packages/sdl.scm | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 128bd95af8..4cd3e8a19a 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -376,15 +376,17 @@ tagged text in SDL applications.")
 (define-public sdl-ttf
   (package
     (name "sdl-ttf")
-    (version "2.0.11")
+    (version "2.0.11.1")
+    ;; No release tarball for 2.0.11.1, changes:
+    ;; <https://github.com/libsdl-org/SDL_ttf/commit/e31d11a692>
     (source (origin
-             (method url-fetch)
-             (uri
-              (string-append "https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-"
-                             version ".tar.gz"))
-             (sha256
-              (base32
-               "1dydxd4f5kb1288i5n5568kdk2q7f8mqjr7i7sd33nplxjaxhk3j"))))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/libsdl-org/SDL_ttf")
+                    (commit "e31d11a692e5b55e8e624ad766e4e44d655422c8")))
+              (sha256
+               (base32
+                "1id1cdign615wd5rq0g4ppzwclvhkwd61yb5rwvvvakkpplp3lvd"))))
     (build-system gnu-build-system)
     (propagated-inputs `(("sdl" ,sdl)))
     (inputs `(("freetype" ,freetype)
-- 
2.33.0