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: ` ;;'
This commit is contained in:
Sergei Trofimovich 2023-12-25 11:14:49 +00:00
parent b45547a0a2
commit e5d049a3e6

View file

@ -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 .
'';