From 19c9c266ae1de85e9d731e3ad829c8273b641c83 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 18 Sep 2021 15:31:18 +0200 Subject: gnu: mpg321: Fix compiling with gcc 10. * gnu/packages/patches/mpg321-gcc-10.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/mp3.scm (mpg321)[source]: Use it. --- gnu/packages/mp3.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/mp3.scm') diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index 43398f1e46..406d010193 100644 --- a/gnu/packages/mp3.scm +++ b/gnu/packages/mp3.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2019 Ricardo Wurmus ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2021 Simon Streit +;;; Copyright © 2021 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -412,7 +413,8 @@ (define-public mpg321 (base32 "0ki8mh76bbmdh77qsiw682dvi8y468yhbdabqwg05igmwc1wqvq5")) (patches - (search-patches "mpg321-CVE-2019-14247.patch")))) + (search-patches "mpg321-CVE-2019-14247.patch" + "mpg321-gcc-10.patch")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("--disable-alsa"))) (inputs -- cgit v1.2.3