From owner-svn-ports-all@freebsd.org Mon Oct 24 10:13:51 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DE51C1CCAE; Mon, 24 Oct 2016 10:13:51 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32E68EAD; Mon, 24 Oct 2016 10:13:51 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9OADoEP063122; Mon, 24 Oct 2016 10:13:50 GMT (envelope-from martymac@FreeBSD.org) Received: (from martymac@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9OADoCI063119; Mon, 24 Oct 2016 10:13:50 GMT (envelope-from martymac@FreeBSD.org) Message-Id: <201610241013.u9OADoCI063119@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: martymac set sender to martymac@FreeBSD.org using -f From: Ganael LAPLANCHE Date: Mon, 24 Oct 2016 10:13:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424558 - in head: devel/simgear devel/simgear/files games/flightgear X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2016 10:13:51 -0000 Author: martymac Date: Mon Oct 24 10:13:49 2016 New Revision: 424558 URL: https://svnweb.freebsd.org/changeset/ports/424558 Log: Backport radio bug patch from upstream PR: 213650 Submitted by: russo@bogodyn.org Added: head/devel/simgear/files/ head/devel/simgear/files/patch-simgear-sound-soundmgr_openal.cxx (contents, props changed) Modified: head/devel/simgear/Makefile head/games/flightgear/Makefile Modified: head/devel/simgear/Makefile ============================================================================== --- head/devel/simgear/Makefile Mon Oct 24 10:04:47 2016 (r424557) +++ head/devel/simgear/Makefile Mon Oct 24 10:13:49 2016 (r424558) @@ -2,6 +2,7 @@ PORTNAME= simgear PORTVERSION= 2016.3.1 +PORTREVISION= 1 CATEGORIES= devel games MASTER_SITES= SF/flightgear/release-${PORTVERSION:R} Added: head/devel/simgear/files/patch-simgear-sound-soundmgr_openal.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/simgear/files/patch-simgear-sound-soundmgr_openal.cxx Mon Oct 24 10:13:49 2016 (r424558) @@ -0,0 +1,26 @@ +Backport commits b9deeb and a97c14 from upstream + +--- simgear/sound/soundmgr_openal.cxx.orig 2016-10-21 11:49:23.424814177 +0000 ++++ simgear/sound/soundmgr_openal.cxx 2016-10-21 11:49:47.078812408 +0000 +@@ -757,14 +757,14 @@ + bool SGSoundMgr::is_sample_stopped(SGSoundSample *sample) + { + #ifdef ENABLE_SOUND +- assert(sample->is_valid_source()); +- unsigned int source = sample->get_source(); +- int result; +- alGetSourcei( source, AL_SOURCE_STATE, &result ); +- return (result == AL_STOPPED); +-#else +- return true; ++ if ( sample->is_valid_source() ) { ++ ALint source = sample->get_source(); ++ ALint result; ++ alGetSourcei( source, AL_SOURCE_STATE, &result ); ++ return (result == AL_STOPPED); ++ } + #endif ++ return true; + } + + void SGSoundMgr::update_sample_config( SGSoundSample *sample, SGVec3d& position, SGVec3f& orientation, SGVec3f& velocity ) Modified: head/games/flightgear/Makefile ============================================================================== --- head/games/flightgear/Makefile Mon Oct 24 10:04:47 2016 (r424557) +++ head/games/flightgear/Makefile Mon Oct 24 10:13:49 2016 (r424558) @@ -3,6 +3,7 @@ PORTNAME= flightgear PORTVERSION= 2016.3.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/flightgear/release-${PORTVERSION:R}