drumgizmo: fix build with gcc 13
This commit is contained in:
parent
64891e361b
commit
ea483cfa42
2 changed files with 12 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, alsa-lib, expat, glib, libjack2, libXext, libX11, libpng
|
||||
{ lib, stdenv, fetchurl, fetchDebianPatch, alsa-lib, expat, glib, libjack2, libXext, libX11, libpng
|
||||
, libpthreadstubs, libsmf, libsndfile, lv2, pkg-config, zita-resampler
|
||||
}:
|
||||
|
||||
|
@ -11,6 +11,16 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-AF8gQLiB29j963uI84TyNHIC0qwEWOCqmZIUWGq8V2o=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchDebianPatch {
|
||||
pname = "drumgizmo";
|
||||
version = "0.9.20";
|
||||
debianRevision = "3";
|
||||
patch = "0005-fix_ftbfs_with_gcc13.patch";
|
||||
hash = "sha256-y5NDZ+3t6GkBeF/5UY8dwtH8k0cuM+5SGBGPSV7AX7M=";
|
||||
})
|
||||
];
|
||||
|
||||
configureFlags = [ "--enable-lv2" ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
@ -21,7 +31,6 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
meta = with lib; {
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64);
|
||||
description = "An LV2 sample based drum plugin";
|
||||
homepage = "https://www.drumgizmo.org";
|
||||
license = licenses.lgpl3Plus;
|
||||
|
|
|
@ -31248,9 +31248,7 @@ with pkgs;
|
|||
|
||||
droopy = python3Packages.callPackage ../applications/networking/droopy { };
|
||||
|
||||
drumgizmo = callPackage ../applications/audio/drumgizmo {
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
drumgizmo = callPackage ../applications/audio/drumgizmo { };
|
||||
|
||||
dsf2flac = callPackage ../applications/audio/dsf2flac { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue