Merge pull request #328591 from reckenrode/buzztrax-fixes

buzztrax: fix build with clang 16
This commit is contained in:
Randy Eckenrode
2024-07-22 21:48:10 -04:00
committed by GitHub
+3 -1
View File
@@ -62,7 +62,9 @@ stdenv.mkDerivation {
];
# 'g_memdup' is deprecated: Use 'g_memdup2' instead
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"
# Suppress incompatible function pointer error in clang due to libxml2 2.12 const changes
+ lib.optionalString stdenv.cc.isClang " -Wno-error=incompatible-function-pointer-types";
meta = with lib; {
description = "Buzztrax is a modular music composer for Linux";