about summary refs log tree commit diff
path: root/pkgs/applications/audio/mmlgui/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/mmlgui/default.nix')
-rw-r--r--pkgs/applications/audio/mmlgui/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mmlgui/default.nix b/pkgs/applications/audio/mmlgui/default.nix
index d31ece0187d35..98be95b3bf127 100644
--- a/pkgs/applications/audio/mmlgui/default.nix
+++ b/pkgs/applications/audio/mmlgui/default.nix
@@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
     # Don't force building tests
     substituteInPlace Makefile \
       --replace 'all: $(MMLGUI_BIN) test' 'all: $(MMLGUI_BIN)'
+
+    # Breaking change in libvgm
+    substituteInPlace src/emu_player.cpp \
+      --replace 'Resmpl_SetVals(&resmpl, 0xff' 'Resmpl_SetVals(&resmpl, RSMODE_LINEAR'
   '';
 
   strictDeps = true;