buzztrax: fix build with clang 16
After the libxml2 2.12 update, buzztrax fails to build due to an incompatible function pointer error. This error has not been fixed upstream, so just suppress it.
This commit is contained in:
parent
82cbb284d3
commit
e81cf4f892
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user