meshlab: fix build with GCC 13

This commit is contained in:
Jan Solanti 2024-01-09 22:57:06 +02:00
parent 3eab97c775
commit b8da68b207

@ -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
'';