mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: mpg321: Fix build with gcc-14.
* gnu/packages/mp3.scm (mpg321)[arguments]: Use G-Expressions. Add CFLAGS to #:configure-flags to relax gcc-14's strictness. Change-Id: I1911c96df438c0b65905468201d759904e11a08f Modified-by: Zheng Junjie <z572@z572.online>
This commit is contained in:
parent
bde3623f53
commit
d41f5a1887
1 changed files with 11 additions and 1 deletions
|
|
@ -13,6 +13,7 @@
|
|||
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
|
||||
;;; Copyright © 2022 Joeke de Graaf <joeke@posteo.net>
|
||||
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
|
||||
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
|
@ -62,6 +63,7 @@
|
|||
#:use-module (gnu packages video) ;ffmpeg
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (guix build-system copy)
|
||||
|
|
@ -474,7 +476,15 @@ command-line tool as well as a C library, libmpg123.")
|
|||
(search-patches "mpg321-CVE-2019-14247.patch"
|
||||
"mpg321-gcc-10.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments '(#:configure-flags '("--disable-alsa")))
|
||||
(arguments
|
||||
(list #:configure-flags
|
||||
#~(list
|
||||
;; Relax gcc-14's strictness.
|
||||
#$(string-append "CFLAGS=-g -O2"
|
||||
" -Wno-error=implicit-function-declaration"
|
||||
" -Wno-error=implicit-int"
|
||||
" -Wno-error=int-conversion")
|
||||
"--disable-alsa")))
|
||||
(inputs
|
||||
`(("zlib" ,zlib)
|
||||
("libmad" ,libmad)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue