Date: Mon, 19 Oct 2015 14:22:46 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> 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 Message-ID: <201510191422.t9JEMkhP015930@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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++) + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510191422.t9JEMkhP015930>