scorched3d: add gcc 14 fix

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin 2025-05-20 17:28:50 +02:00
parent 2cbe2498c7
commit f51f718e7c
No known key found for this signature in database
GPG key ID: DACFAC4EA0B194E0
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
diff --git a/configure b/configure
index 59414ee..c53064d 100755
--- a/configure
+++ b/configure
@@ -4881,7 +4881,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
int main(int argc, char *argv[])
{
- alutInit(argc, argv);
+ alutInit(&argc, argv);
return 0;
}
#undef main

View file

@ -58,6 +58,7 @@ stdenv.mkDerivation rec {
url = "https://sources.debian.org/data/main/s/scorched3d/44%2Bdfsg-7/debian/patches/wx3.0-compat.patch";
sha256 = "sha256-Y5U5yYNT5iMqhdRaDMFtZ4K7aD+pugFZP0jLh7rdDp8=";
})
./gcc14-fix.patch
];
sourceRoot = "scorched";