about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorJan Solanti <jhs@psonet.com>2024-01-09 22:57:06 +0200
committerJan Solanti <jhs@psonet.com>2024-01-09 22:57:06 +0200
commitb8da68b20785468050910a7b108488641ea341cc (patch)
treef5e4f71f85e8c56e647811000dcca232ff5a788f /pkgs/applications/graphics
parent3eab97c775abdefac7a7ee1770bb7fb638858832 (diff)
meshlab: fix build with GCC 13
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/meshlab/default.nix5
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
   '';