supermodel: 0-unstable-2025-04-17 -> 0-unstable-2026-03-01; fix build with GCC 15 (#516741)
This commit is contained in:
@@ -11,15 +11,20 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "supermodel";
|
||||
version = "0-unstable-2025-04-17";
|
||||
version = "0-unstable-2026-03-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trzy";
|
||||
repo = "supermodel";
|
||||
rev = "2272893a0511c0b3b50f6dda64addb7014717dd3";
|
||||
rev = "d6dec3dcf0922459801907950d966e5767c674de";
|
||||
hash = "sha256-3FdLBGxmi4Xj7ao2nvjLleJSTXvKQrhUWvnQr8DK/RY=";
|
||||
};
|
||||
|
||||
# Game.h is missing #include <cstdint>, which GCC 15 no longer provides transitively.
|
||||
postPatch = ''
|
||||
sed -i '/^#include <memory>/a #include <cstdint>' Src/Game.h
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
libGLU
|
||||
SDL2
|
||||
|
||||
Reference in New Issue
Block a user