Date: Sat, 17 Oct 2015 16:32:53 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399540 - in head/audio/openal-soft: . files Message-ID: <201510171632.t9HGWrF0096971@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Sat Oct 17 16:32:52 2015 New Revision: 399540 URL: https://svnweb.freebsd.org/changeset/ports/399540 Log: - 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 MFH: 2015Q4 Added: head/audio/openal-soft/files/patch-OpenAL32_alBuffer.c (contents, props changed) Modified: head/audio/openal-soft/Makefile Modified: head/audio/openal-soft/Makefile ============================================================================== --- head/audio/openal-soft/Makefile Sat Oct 17 14:41:30 2015 (r399539) +++ head/audio/openal-soft/Makefile Sat Oct 17 16:32:52 2015 (r399540) @@ -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/ Added: head/audio/openal-soft/files/patch-OpenAL32_alBuffer.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/openal-soft/files/patch-OpenAL32_alBuffer.c Sat Oct 17 16:32:52 2015 (r399540) @@ -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?201510171632.t9HGWrF0096971>