Date: Sat, 17 May 2014 19:34:08 +0000 (UTC) From: Stephen Montgomery-Smith <stephen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354357 - in head/math/octave-forge-lssa: . files Message-ID: <201405171934.s4HJY8lm039015@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: stephen Date: Sat May 17 19:34:08 2014 New Revision: 354357 URL: http://svnweb.freebsd.org/changeset/ports/354357 QAT: https://qat.redports.org/buildarchive/r354357/ Log: - Make clang compliant. - Bump portrevision. Added: head/math/octave-forge-lssa/files/ head/math/octave-forge-lssa/files/patch-fastlscomplex.cc (contents, props changed) Modified: head/math/octave-forge-lssa/Makefile Modified: head/math/octave-forge-lssa/Makefile ============================================================================== --- head/math/octave-forge-lssa/Makefile Sat May 17 19:10:25 2014 (r354356) +++ head/math/octave-forge-lssa/Makefile Sat May 17 19:34:08 2014 (r354357) @@ -3,7 +3,7 @@ PORTNAME= octave-forge-lssa PORTVERSION= 0.1.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org Added: head/math/octave-forge-lssa/files/patch-fastlscomplex.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/octave-forge-lssa/files/patch-fastlscomplex.cc Sat May 17 19:34:08 2014 (r354357) @@ -0,0 +1,74 @@ +--- fastlscomplex.cc-orig 2014-05-17 13:56:21.000000000 -0500 ++++ fastlscomplex.cc 2014-05-17 14:06:47.000000000 -0500 +@@ -372,8 +372,9 @@ + + --tpra; + h = *tpra * *exp_ptr; +- record_current->power_series[p].real() -= h.imag(); +- record_current->power_series[p].imag() += h.real(); ++ // record_current->power_series[p].real() -= h.imag(); ++ // record_current->power_series[p].imag() += h.real(); ++ record_current->power_series[p] = std::complex<double>(record_current->power_series[p].real() - h.imag(), record_current->power_series[p].imag() + h.real()); + + if (++exp_ptr >= exp_pse_ptr ) + break; +@@ -386,8 +387,9 @@ + + --tpra; + h = -*tpra * *exp_ptr; +- record_current->power_series[p].real() -= h.imag(); +- record_current->power_series[p].imag() += h.real(); ++ // record_current->power_series[p].real() -= h.imag(); ++ // record_current->power_series[p].imag() += h.real(); ++ record_current->power_series[p] = std::complex<double>(record_current->power_series[p].real() - h.imag(), record_current->power_series[p].imag() + h.real()); + + if (++exp_ptr >= exp_pse_ptr) + break; +@@ -422,8 +424,9 @@ + + tprb -= 2; + h = *tprb * *exp_ptr; +- record_current->power_series[p].real() -= h.imag(); +- record_current->power_series[p].imag() += h.real(); ++ // record_current->power_series[p].real() -= h.imag(); ++ // record_current->power_series[p].imag() += h.real(); ++ record_current->power_series[p] = std::complex<double>(record_current->power_series[p].real() - h.imag(), record_current->power_series[p].imag() + h.real()); + + if ( ++exp_ptr >= exp_pse_ptr ) + break; +@@ -436,8 +439,9 @@ + + tprb -= 2; + h = - *tprb * *exp_ptr; +- record_current->power_series[p].real() -= h.imag(); +- record_current->power_series[p].imag() += h.real(); ++ // record_current->power_series[p].real() -= h.imag(); ++ // record_current->power_series[p].imag() += h.real(); ++ record_current->power_series[p] = std::complex<double>(record_current->power_series[p].real() - h.imag(), record_current->power_series[p].imag() + h.real()); + + if (++exp_ptr >= exp_pse_ptr) + break; +@@ -467,8 +471,9 @@ + + --tpra; + h = *tpra * *exp_ptr; +- record_next->power_series[q].real() -= h.imag(); +- record_next->power_series[q].imag() += h.real(); ++ // record_current->power_series[q].real() -= h.imag(); ++ // record_current->power_series[q].imag() += h.real(); ++ record_current->power_series[q] = std::complex<double>(record_current->power_series[q].real() - h.imag(), record_current->power_series[q].imag() + h.real()); + + if (++exp_ptr >= exp_pse_ptr) + break; +@@ -481,8 +486,9 @@ + + --tpra; + h = -*tpra * *exp_ptr; +- record_next->power_series[q].real() -= h.imag(); +- record_next->power_series[q].imag() += h.real(); ++ // record_current->power_series[q].real() -= h.imag(); ++ // record_current->power_series[q].imag() += h.real(); ++ record_current->power_series[q] = std::complex<double>(record_current->power_series[q].real() - h.imag(), record_current->power_series[q].imag() + h.real()); + + if (++exp_ptr >= exp_pse_ptr) + break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405171934.s4HJY8lm039015>