Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 789320 Details for
Bug 854567
games-fps/serious-sam-tse: switch to fork for working package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixing the game under building with gcc 11.3
gcc-11.3_fixed_mod_startup.patch (text/plain), 1.40 KB, created by
Alexander Pavlov
on 2022-07-01 16:44:24 UTC
(
hide
)
Description:
Fixing the game under building with gcc 11.3
Filename:
MIME Type:
Creator:
Alexander Pavlov
Created:
2022-07-01 16:44:24 UTC
Size:
1.40 KB
patch
obsolete
>--- a/Engine/Base/Timer.cpp 2022-07-01 10:37:28.221379472 +0300 >+++ b/Engine/Base/Timer.cpp 2022-07-01 12:13:20.798118894 +0300 >@@ -359,7 +359,7 @@ > CTimer_TimerFunc_internal(); > } > #elif (defined PLATFORM_UNIX) >-/* >+ > #include "SDL.h" > Uint32 CTimer_TimerFunc_SDL(Uint32 interval, void* param) > { >@@ -370,7 +370,7 @@ > CTimer_TimerFunc_internal(); > return(interval); > } >-*/ >+/* > void *CTimer_TimerMain(void *input) { > while(true) { > // sleep >@@ -387,7 +387,7 @@ > // handle all timers > CTimer_TimerFunc_internal(); > } >-} >+}*/ > > #endif > #endif >@@ -570,7 +570,7 @@ > if( tm_TimerID==NULL) FatalError(TRANS("Cannot initialize multimedia timer!")); > > #else >-/* >+ > if (SDL_Init(SDL_INIT_TIMER) == -1) FatalError(TRANS("Cannot initialize multimedia timer!")); > tm_TimerID = SDL_AddTimer(ULONG(TickQuantum*1000.0f), CTimer_TimerFunc_SDL, NULL); > if( tm_TimerID==NULL) FatalError(TRANS("Cannot initialize multimedia timer!")); >@@ -589,7 +589,7 @@ > // report fatal > if( iTry>3) FatalError(TRANS("Problem with initializing multimedia timer - please try again.")); > } >-*/ >+/* > int ret = pthread_create(&g_timerMainThread, 0, &CTimer_TimerMain, nullptr); > if (ret != 0) { > const char *err; >@@ -611,7 +611,7 @@ > if (iTry > 3) { > FatalError(TRANS("Problem with initializing multimedia timer - please try again.")); > } >- } >+ }*/ > #endif // !defined SINGLE_THREADED > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 854567
:
787979
|
787985
|
787988
|
787991
|
787994
|
787997
| 789320 |
789323
|
789326
|
791396
|
791399
|
791402
|
791405
|
791408
|
791411
|
791414