Date: Wed, 12 Oct 2016 09:01:17 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423836 - in head/games/7kaa: . files Message-ID: <201610120901.u9C91HIr099113@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Oct 12 09:01:17 2016 New Revision: 423836 URL: https://svnweb.freebsd.org/changeset/ports/423836 Log: - Fix segfault on exit [1] - Fix license PR: 212866 [1] Submitted by: kdrakehp@zoho.com [1] Added: head/games/7kaa/files/ head/games/7kaa/files/patch-src_audio_openal_openal__audio.cpp (contents, props changed) head/games/7kaa/files/patch-src_client_OMUSIC.cpp (contents, props changed) head/games/7kaa/files/patch-src_client_OSYS.cpp (contents, props changed) head/games/7kaa/files/patch-src_video_sdl_vga__sdl.cpp (contents, props changed) Modified: head/games/7kaa/Makefile Modified: head/games/7kaa/Makefile ============================================================================== --- head/games/7kaa/Makefile Wed Oct 12 08:54:28 2016 (r423835) +++ head/games/7kaa/Makefile Wed Oct 12 09:01:17 2016 (r423836) @@ -3,13 +3,14 @@ PORTNAME= 7kaa PORTVERSION= 2.14.6 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/skfans/7KAA%20${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Seven Kingdoms: Ancient Adversaries -LICENSE= GPLv2 +LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libenet.so:net/enet Added: head/games/7kaa/files/patch-src_audio_openal_openal__audio.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/7kaa/files/patch-src_audio_openal_openal__audio.cpp Wed Oct 12 09:01:17 2016 (r423836) @@ -0,0 +1,12 @@ +--- src/audio/openal/openal_audio.cpp.orig 2016-09-04 17:31:41 UTC ++++ src/audio/openal/openal_audio.cpp +@@ -168,7 +168,8 @@ OpenALAudio::OpenALAudio() + + OpenALAudio::~OpenALAudio() + { +- this->deinit(); ++ if (this->init_flag != 0) ++ this->deinit(); + } + + // Initialize the mid driver Added: head/games/7kaa/files/patch-src_client_OMUSIC.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/7kaa/files/patch-src_client_OMUSIC.cpp Wed Oct 12 09:01:17 2016 (r423836) @@ -0,0 +1,12 @@ +--- src/client/OMUSIC.cpp.orig 2015-05-19 01:00:20 UTC ++++ src/client/OMUSIC.cpp +@@ -81,7 +81,8 @@ Music::Music() + // -------- begin of function Music::~Music ---------// + Music::~Music() + { +- deinit(); ++ if (init_flag != 0) ++ deinit(); + } + // -------- end of function Music::~Music ---------// + Added: head/games/7kaa/files/patch-src_client_OSYS.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/7kaa/files/patch-src_client_OSYS.cpp Wed Oct 12 09:01:17 2016 (r423836) @@ -0,0 +1,11 @@ +--- src/client/OSYS.cpp.orig 2016-09-04 17:31:41 UTC ++++ src/client/OSYS.cpp +@@ -240,6 +240,8 @@ void Sys::deinit() + + //-------------------------------------// + ++ deinit_directx(); ++ + init_flag = 0; + } + //--------- End of function Sys::deinit ---------// Added: head/games/7kaa/files/patch-src_video_sdl_vga__sdl.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/7kaa/files/patch-src_video_sdl_vga__sdl.cpp Wed Oct 12 09:01:17 2016 (r423836) @@ -0,0 +1,12 @@ +--- src/video/sdl/vga_sdl.cpp.orig 2016-09-04 17:31:41 UTC ++++ src/video/sdl/vga_sdl.cpp +@@ -58,7 +58,8 @@ VgaSDL::VgaSDL() + + VgaSDL::~VgaSDL() + { +- deinit(); ++ if (window != NULL) ++ deinit(); + } + //-------- End of function VgaSDL::~VgaSDL ----------// +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610120901.u9C91HIr099113>