Merge pull request #284566 from wegank/glslviewer-fix

glslviewer: fix build with gcc 13
This commit is contained in:
Weijia Wang
2024-01-30 10:48:45 +01:00
committed by GitHub
@@ -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 ];