summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-11-30 03:37:14 +0100
committerMarius Bakke <mbakke@fastmail.com>2019-12-05 17:59:01 +0100
commitd7316c774386a79559d557a5cec7f98e345561c6 (patch)
treeda36f187013373288c2decdffb861839fabcbe3e
parentf7511ff1109868d215f5668d8e07e539ef77bd7b (diff)
downloadguix-d7316c774386a79559d557a5cec7f98e345561c6.tar.gz
gnu: readline: Update to 8.0.1.
* gnu/packages/readline.scm (%patch-series-8.0): New variable.
(readline)[version]: Adjust accordingly.
[source](patches): Add %PATCH-SERIES-8.0.
-rw-r--r--gnu/packages/readline.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/readline.scm b/gnu/packages/readline.scm
index 1304bb8b2b..9f886f9b6e 100644
--- a/gnu/packages/readline.scm
+++ b/gnu/packages/readline.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -45,6 +46,11 @@
   (list (readline-patch version seqno (base32 hash))
         ...))
 
+(define %patch-series-8.0
+  (patch-series
+   "8.0"
+   (1 "0sfh7wn0pr743xspnb1zndxndlv9rc0hcg14cbw5cmyg6f4ykrfq")))
+
 (define %patch-series-7.0
   (patch-series
    "7.0"
@@ -57,7 +63,8 @@
 (define-public readline
   (package
     (name "readline")
-    (version "8.0")
+    (version (string-append "8.0."
+                            (number->string (length %patch-series-8.0))))
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnu/readline/readline-"
@@ -65,7 +72,8 @@
               (sha256
                (base32
                 "0qg4924hf4hg0r0wbx2chswsr08734536fh5iagkd3a7f4czafg3"))
-              (patches (search-patches "readline-link-ncurses.patch"))
+              (patches (append %patch-series-8.0
+                               (search-patches "readline-link-ncurses.patch")))
               (patch-flags '("-p0"))))
     (build-system gnu-build-system)
     (propagated-inputs `(("ncurses" ,ncurses)))