From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44393) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io3R1-0005V7-Pt for guix-patches@gnu.org; Sun, 05 Jan 2020 05:47:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1io3R0-0002rC-PL for guix-patches@gnu.org; Sun, 05 Jan 2020 05:47:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37745) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1io3R0-0002r5-MM for guix-patches@gnu.org; Sun, 05 Jan 2020 05:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1io3R0-0007Kz-LW for guix-patches@gnu.org; Sun, 05 Jan 2020 05:47:02 -0500 Subject: [bug#38941] [PATCH 3/5] gnu: sdl2-mixer: Fix configure flags. Resent-Message-ID: From: Timotej Lazar Date: Sun, 5 Jan 2020 11:45:49 +0100 Message-Id: <20200105104551.16961-3-timotej.lazar@araneo.si> In-Reply-To: <20200105104551.16961-1-timotej.lazar@araneo.si> References: <20200105104551.16961-1-timotej.lazar@araneo.si> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38941@debbugs.gnu.org Cc: Timotej Lazar Some configure options were renamed between SDL / SDL2 mixer; add new variants to the derived package. * gnu/packages/sdl.scm (sdl2-mixer)[arguments]: Fix flags to disable dynamic library loading. --- gnu/packages/sdl.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index 92d8f9a922..d441040cd6 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -415,6 +415,15 @@ directory.") #t)) (sha256 (base32 "0694vsz5bjkcdgfdra6x9fq8vpzrl8m6q96gh58df7065hw5mkxl")))) + (arguments + (substitute-keyword-arguments (package-arguments sdl-mixer) + ((#:configure-flags flags) + `(cons* + ;; These options were renamed in SDL2 mixer. Keeping the inherited + ;; variants produces a harmless warning. + "--disable-music-mod-modplug-shared" + "--disable-music-midi-fluidsynth-shared" + ,flags)))) (inputs ;; The default MOD library changed in SDL2 mixer. `(("libmodplug" ,libmodplug) -- 2.24.1