diff options
author | Jan Solanti <jhs@psonet.com> | 2024-01-09 22:57:06 +0200 |
---|---|---|
committer | Jan Solanti <jhs@psonet.com> | 2024-01-09 22:57:06 +0200 |
commit | b8da68b20785468050910a7b108488641ea341cc (patch) | |
tree | f5e4f71f85e8c56e647811000dcca232ff5a788f /pkgs/applications/graphics | |
parent | 3eab97c775abdefac7a7ee1770bb7fb638858832 (diff) |
meshlab: fix build with GCC 13
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/meshlab/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/meshlab/default.nix b/pkgs/applications/graphics/meshlab/default.nix index 656713fb25e4e..bee1e35ec129a 100644 --- a/pkgs/applications/graphics/meshlab/default.nix +++ b/pkgs/applications/graphics/meshlab/default.nix @@ -75,6 +75,11 @@ mkDerivation rec { "-DALLOW_BUNDLED_LEVMAR=ON" ]; + CXXFLAGS = [ + # GCC 13: error: 'int16_t' has not been declared in 'std' + "-include cstdint" + ]; + postFixup = '' patchelf --add-needed $out/lib/meshlab/libmeshlab-common.so $out/bin/.meshlab-wrapped ''; |