View | Details | Raw Unified | Return to bug 212866 | Differences between
and this patch

Collapse All | Expand All

(-)games/7kaa/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	7kaa
4
PORTNAME=	7kaa
5
PORTVERSION=	2.14.6
5
PORTVERSION=	2.14.6
6
PORTREVISION=	1
6
CATEGORIES=	games
7
CATEGORIES=	games
7
MASTER_SITES=	SF/skfans/7KAA%20${PORTVERSION}
8
MASTER_SITES=	SF/skfans/7KAA%20${PORTVERSION}
8
9
(-)games/7kaa/files/patch-src_audio_openal_openal__audio.cpp (+12 lines)
Line 0 Link Here
1
--- src/audio/openal/openal_audio.cpp.orig	2016-09-04 17:31:41 UTC
2
+++ src/audio/openal/openal_audio.cpp
3
@@ -168,7 +168,8 @@ OpenALAudio::OpenALAudio()
4
 
5
 OpenALAudio::~OpenALAudio()
6
 {
7
-	this->deinit();
8
+	if (this->init_flag != 0)
9
+		this->deinit();
10
 }
11
 
12
 // Initialize the mid driver
(-)games/7kaa/files/patch-src_client_OMUSIC.cpp (+12 lines)
Line 0 Link Here
1
--- src/client/OMUSIC.cpp.orig	2015-05-19 01:00:20 UTC
2
+++ src/client/OMUSIC.cpp
3
@@ -81,7 +81,8 @@ Music::Music()
4
 // -------- begin of function Music::~Music ---------//
5
 Music::~Music()
6
 {
7
-	deinit();
8
+	if (init_flag != 0)
9
+		deinit();
10
 }
11
 // -------- end of function Music::~Music ---------//
12
 
(-)games/7kaa/files/patch-src_client_OSYS.cpp (+11 lines)
Line 0 Link Here
1
--- src/client/OSYS.cpp.orig	2016-09-04 17:31:41 UTC
2
+++ src/client/OSYS.cpp
3
@@ -240,6 +240,8 @@ void Sys::deinit()
4
 
5
    //-------------------------------------//
6
 
7
+   deinit_directx();
8
+
9
    init_flag = 0;
10
 }
11
 //--------- End of function Sys::deinit ---------//
(-)games/7kaa/files/patch-src_video_sdl_vga__sdl.cpp (+12 lines)
Line 0 Link Here
1
--- src/video/sdl/vga_sdl.cpp.orig	2016-09-04 17:31:41 UTC
2
+++ src/video/sdl/vga_sdl.cpp
3
@@ -58,7 +58,8 @@ VgaSDL::VgaSDL()
4
 
5
 VgaSDL::~VgaSDL()
6
 {
7
-   deinit();
8
+   if (window != NULL)
9
+      deinit();
10
 }
11
 //-------- End of function VgaSDL::~VgaSDL ----------//
12
 

Return to bug 212866