meshlab: fix build with GCC 13
This commit is contained in:
parent
3eab97c775
commit
b8da68b207
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue