Subject: [bug#38676] [PATCH 1/2] gnu: libgtextutils: Build with GCC 5

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Thu, 19 Dec 2019 20:24:08 +0100

* gnu/packages/textutils.scm (libgtextutils)[native-inputs]: Add gcc-5.
---
 gnu/packages/textutils.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 668260b7d8..cf90779978 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2018 Pierre Neidhardt <[email-masked]>
 ;;; Copyright © 2018 Meiyo Peng <[email-masked]>
 ;;; Copyright © 2019 Yoshinori Arai <[email-masked]>
+;;; Copyright © 2019 Mădălin Ionel Patrașcu <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -47,6 +48,7 @@
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages gcc)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages java)
   #:use-module (gnu packages ncurses)
@@ -232,6 +234,7 @@ nested include statements).")
     (native-inputs
      `(("autoconf" ,autoconf)
        ("automake" ,automake)
+       ("gcc" ,gcc-5) ;; doesn't build with later versions
        ("libtool" ,libtool)))
     (home-page "https://github.com/agordon/libgtextutils")
     (synopsis "Gordon's text utils library")
-- 
2.24.1