glslviewer: fix build with gcc 13
This commit is contained in:
parent
eb39a06856
commit
753ca44306
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postPatch = ''
|
||||
sed '1i#include <cstring>' -i src/tools/text.cpp # gcc12
|
||||
sed '8i#include <cstdint>' -i src/io/fs.cpp # gcc13
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config ensureNewerSourcesForZipFilesHook python3Packages.six ];
|
||||
|
|
Loading…
Reference in a new issue