From owner-svn-ports-all@freebsd.org Mon Oct 19 14:22:47 2015 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 BE509A190E6; Mon, 19 Oct 2015 14:22:47 +0000 (UTC) (envelope-from danilo@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 6D0A21B21; Mon, 19 Oct 2015 14:22:47 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9JEMkcj015932; Mon, 19 Oct 2015 14:22:46 GMT (envelope-from danilo@FreeBSD.org) Received: (from danilo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9JEMkhP015930; Mon, 19 Oct 2015 14:22:46 GMT (envelope-from danilo@FreeBSD.org) Message-Id: <201510191422.t9JEMkhP015930@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danilo set sender to danilo@FreeBSD.org using -f From: Danilo Egea Gondolfo Date: Mon, 19 Oct 2015 14:22:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r399683 - in branches/2015Q4/audio/openal-soft: . files X-SVN-Group: ports-branches 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.20 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, 19 Oct 2015 14:22:47 -0000 Author: danilo Date: Mon Oct 19 14:22:46 2015 New Revision: 399683 URL: https://svnweb.freebsd.org/changeset/ports/399683 Log: MFH: r399540 - Add a workaround for a problem caused by clang For some reason clang is breaking the code when openal-soft is built with optimizations. If the file alBuffer.c is built with -O1 the problem don't happens. See https://github.com/kcat/openal-soft/issues/18 The problem seems to happen just on CURRENT due the clang version. PR: 199488, 203818 Tested by: ohartman@zedat.fu-berlin.de Approved by: mva Approved by: ports-secteam (feld) Added: branches/2015Q4/audio/openal-soft/files/patch-OpenAL32_alBuffer.c - copied unchanged from r399540, head/audio/openal-soft/files/patch-OpenAL32_alBuffer.c Modified: branches/2015Q4/audio/openal-soft/Makefile Directory Properties: branches/2015Q4/ (props changed) Modified: branches/2015Q4/audio/openal-soft/Makefile ============================================================================== --- branches/2015Q4/audio/openal-soft/Makefile Mon Oct 19 14:17:05 2015 (r399682) +++ branches/2015Q4/audio/openal-soft/Makefile Mon Oct 19 14:22:46 2015 (r399683) @@ -2,7 +2,7 @@ PORTNAME= openal-soft PORTVERSION= 1.16.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= http://kcat.strangesoft.net/openal-releases/ Copied: branches/2015Q4/audio/openal-soft/files/patch-OpenAL32_alBuffer.c (from r399540, head/audio/openal-soft/files/patch-OpenAL32_alBuffer.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2015Q4/audio/openal-soft/files/patch-OpenAL32_alBuffer.c Mon Oct 19 14:22:46 2015 (r399683, copy of r399540, head/audio/openal-soft/files/patch-OpenAL32_alBuffer.c) @@ -0,0 +1,11 @@ +--- OpenAL32/alBuffer.c.orig 2015-09-21 20:22:13 UTC ++++ OpenAL32/alBuffer.c +@@ -1179,7 +1179,7 @@ static ALboolean DecomposeFormat(ALenum + { AL_7POINT1_16_SOFT, FmtX71, FmtShort }, + { AL_7POINT1_32F_SOFT, FmtX71, FmtFloat }, + }; +- ALuint i; ++ volatile ALuint i; + + for(i = 0;i < COUNTOF(list);i++) + {