mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
scorched3d: add gcc 14 fix
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
parent
2cbe2498c7
commit
f51f718e7c
2 changed files with 14 additions and 0 deletions
13
pkgs/by-name/sc/scorched3d/gcc14-fix.patch
Normal file
13
pkgs/by-name/sc/scorched3d/gcc14-fix.patch
Normal 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
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue