From e5d049a3e6622dfb29d8de66f0b5ca7570cd88a0 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 25 Dec 2023 11:14:49 +0000 Subject: libsidplayfp: pull fix for `autoconf-2.72` pending upstream inclusion Without the change `libsidplayfp` fails the build on `autoconf-2.72` as: ./configure: line 19606: syntax error near unexpected token `;;' ./configure: line 19606: ` ;;' --- pkgs/development/libraries/libsidplayfp/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pkgs/development/libraries') diff --git a/pkgs/development/libraries/libsidplayfp/default.nix b/pkgs/development/libraries/libsidplayfp/default.nix index 194da3121615b..b8b62781d0a69 100644 --- a/pkgs/development/libraries/libsidplayfp/default.nix +++ b/pkgs/development/libraries/libsidplayfp/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchFromGitHub +, fetchpatch , makeFontsConf , nix-update-script , autoreconfHook @@ -27,6 +28,16 @@ stdenv.mkDerivation rec { sha256 = "sha256-KCp/8UjVl8e3+4s1FD4GvHP7AUAS+eIB7RWhmgm5GIA="; }; + patches = [ + # Pull autoconf-2.72 compatibility fix: + # https://github.com/libsidplayfp/libsidplayfp/pull/103 + (fetchpatch { + name = "autoconf-2.72"; + url = "https://github.com/libsidplayfp/libsidplayfp/commit/b8fff55f6aaa005a3899b59e70cd8730f962641b.patch"; + hash = "sha256-5Hk202IuHUBow7HnnPr2/ieWFjKDuHLQjQ9mJUML9q8="; + }) + ]; + postPatch = '' patchShebangs . ''; -- cgit 1.4.1