Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games/zdoom: fix the build with llvm16 in base
The 'register' keyword now raises an error, so patch out those parts. Patch generally taken from gzdoom commit 3c044ebd5eae343. No functional change as a result of this.
- Loading branch information
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- src/am_map.cpp.orig 2016-02-22 02:11:13 UTC | ||
+++ src/am_map.cpp | ||
@@ -1692,9 +1692,9 @@ bool AM_clipMline (mline_t *ml, fline_t *fl) | ||
TOP =8 | ||
}; | ||
|
||
- register int outcode1 = 0; | ||
- register int outcode2 = 0; | ||
- register int outside; | ||
+ int outcode1 = 0; | ||
+ int outcode2 = 0; | ||
+ int outside; | ||
|
||
fpoint_t tmp = { 0, 0 }; | ||
int dx; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/md5.cpp.orig 2016-02-22 02:11:13 UTC | ||
+++ src/md5.cpp | ||
@@ -166,7 +166,7 @@ MD5Transform(DWORD buf[4], const DWORD in[16]) | ||
void | ||
MD5Transform(DWORD buf[4], const DWORD in[16]) | ||
{ | ||
- register DWORD a, b, c, d; | ||
+ DWORD a, b, c, d; | ||
|
||
a = buf[0]; | ||
b = buf[1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters