svn commit: r319704 - in head/audio/openal-soft: . files

Marcus von Appen mva at FreeBSD.org
Sun Jun 2 18:07:33 UTC 2013


Author: mva
Date: Sun Jun  2 18:07:32 2013
New Revision: 319704
URL: http://svnweb.freebsd.org/changeset/ports/319704

Log:
  - Fix broken patch from ports/178343, which might lead to broken OSS output
  
  PR:		ports/178895
  Submitted by:	Green Dog <fiziologus at gmail.com>

Modified:
  head/audio/openal-soft/Makefile
  head/audio/openal-soft/files/patch-Alc-ALu.c

Modified: head/audio/openal-soft/Makefile
==============================================================================
--- head/audio/openal-soft/Makefile	Sun Jun  2 18:00:04 2013	(r319703)
+++ head/audio/openal-soft/Makefile	Sun Jun  2 18:07:32 2013	(r319704)
@@ -2,7 +2,7 @@
 
 PORTNAME=	openal-soft
 PORTVERSION=	1.15.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	http://kcat.strangesoft.net/openal-releases/
 

Modified: head/audio/openal-soft/files/patch-Alc-ALu.c
==============================================================================
--- head/audio/openal-soft/files/patch-Alc-ALu.c	Sun Jun  2 18:00:04 2013	(r319703)
+++ head/audio/openal-soft/files/patch-Alc-ALu.c	Sun Jun  2 18:07:32 2013	(r319704)
@@ -26,12 +26,12 @@
  { return aluF2I(val)+2147483648u; }
  static __inline ALshort aluF2S(ALfloat val)
 -{ return aluF2I(val)>>16; }
-+{ return aluF2I(val)>>9; }
++{ return aluF2I25(val)>>9; }
  static __inline ALushort aluF2US(ALfloat val)
  { return aluF2S(val)+32768; }
  static __inline ALbyte aluF2B(ALfloat val)
 -{ return aluF2I(val)>>24; }
-+{ return aluF2I(val)>>17; }
++{ return aluF2I25(val)>>17; }
  static __inline ALubyte aluF2UB(ALfloat val)
  { return aluF2B(val)+128; }
  


More information about the svn-ports-head mailing list