[76560] trunk/dports/audio/libofa

ryandesign at macports.org ryandesign at macports.org
Mon Feb 28 01:06:26 PST 2011


Revision: 76560
          http://trac.macports.org/changeset/76560
Author:   ryandesign at macports.org
Date:     2011-02-28 01:06:22 -0800 (Mon, 28 Feb 2011)
Log Message:
-----------
libofa: fix incorrect runtime results; see #28201

Modified Paths:
--------------
    trunk/dports/audio/libofa/Portfile
    trunk/dports/audio/libofa/files/patch-mathutils

Modified: trunk/dports/audio/libofa/Portfile
===================================================================
--- trunk/dports/audio/libofa/Portfile	2011-02-28 06:51:40 UTC (rev 76559)
+++ trunk/dports/audio/libofa/Portfile	2011-02-28 09:06:22 UTC (rev 76560)
@@ -4,6 +4,7 @@
 
 name            libofa
 version         0.9.3
+revision        1
 categories      audio
 platforms       darwin
 maintainers     nomaintainer

Modified: trunk/dports/audio/libofa/files/patch-mathutils
===================================================================
--- trunk/dports/audio/libofa/files/patch-mathutils	2011-02-28 06:51:40 UTC (rev 76559)
+++ trunk/dports/audio/libofa/files/patch-mathutils	2011-02-28 09:06:22 UTC (rev 76560)
@@ -1,13 +1,10 @@
---- lib/JAMA/tnt_math_utils.h~	2010-01-05 20:41:48.000000000 -0800
-+++ lib/JAMA/tnt_math_utils.h	2010-01-05 19:47:22.000000000 -0800
-@@ -30,7 +30,10 @@
+--- lib/JAMA/tnt_math_utils.h~	2006-05-10 13:58:50.000000000 -0400
++++ lib/JAMA/tnt_math_utils.h	2011-01-29 22:34:16.000000000 -0500
+@@ -19,6 +19,7 @@
+ 
+ namespace TNT
  {
- 	
- 	if (a== 0)
-+	{
-+		using __gnu_cxx::abs;
- 		return abs(b);
-+	}
- 	else
- 	{
- 		Real c = b/a;
++template <class Real> Real abs(const Real &a);
+ /**
+ 	@returns hypotenuse of real (non-complex) scalars a and b by 
+ 	avoiding underflow/overflow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110228/fc569b5e/attachment.html>


More information about the macports-changes mailing list