scorched3d: add gcc 14 fix (#409107)
This commit is contained in:
@@ -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
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user