FreeBSD Bugzilla – Attachment 175017 Details for
Bug 212866
[patch] games/7kaa Segmentation fault on exit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes the issue by calling audio.deinit before exiting.
patch-games_7kaa (text/plain), 2.16 KB, created by
kd-dev
on 2016-09-20 20:29:58 UTC
(
hide
)
Description:
Fixes the issue by calling audio.deinit before exiting.
Filename:
MIME Type:
Creator:
kd-dev
Created:
2016-09-20 20:29:58 UTC
Size:
2.16 KB
patch
obsolete
>Index: games/7kaa/Makefile >=================================================================== >--- games/7kaa/Makefile (revision 422540) >+++ games/7kaa/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= 7kaa > PORTVERSION= 2.14.5 >+PORTREVISION= 1 > CATEGORIES= games > MASTER_SITES= SF/skfans/7KAA%20${PORTVERSION} > >Index: games/7kaa/files/patch-src_audio_openal_openal__audio.cpp >=================================================================== >--- games/7kaa/files/patch-src_audio_openal_openal__audio.cpp (nonexistent) >+++ games/7kaa/files/patch-src_audio_openal_openal__audio.cpp (working copy) >@@ -0,0 +1,10 @@ >+--- src/audio/openal/openal_audio.cpp.orig 2015-05-19 01:00:20 UTC >++++ src/audio/openal/openal_audio.cpp >+@@ -168,7 +168,6 @@ OpenALAudio::OpenALAudio() >+ >+ OpenALAudio::~OpenALAudio() >+ { >+- this->deinit(); >+ } >+ >+ // Initialize the mid driver > >Property changes on: games/7kaa/files/patch-src_audio_openal_openal__audio.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: games/7kaa/files/patch-src_client_OSYS.cpp >=================================================================== >--- games/7kaa/files/patch-src_client_OSYS.cpp (nonexistent) >+++ games/7kaa/files/patch-src_client_OSYS.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- src/client/OSYS.cpp.orig 2015-05-19 01:00:20 UTC >++++ src/client/OSYS.cpp >+@@ -225,6 +225,8 @@ void Sys::deinit() >+ if( !init_flag ) >+ return; >+ >++ music.deinit(); >++ audio.deinit(); >+ game.deinit(); // actually game.deinit() will be called by main_win_proc() and calling it here will have no effect >+ >+ deinit_objects(); > >Property changes on: games/7kaa/files/patch-src_client_OSYS.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 212866
:
175017
|
175636