8f77e148d9
patch-jpeg and patch-nss have been upstreamed and are no longer needed. patch-i118574 no longer seems necessary for a clean build. Regnerate patch-i114430 with make makepatch. Always build using boost from ports instead of the bundled boost, updating the BUILD_DEPENDS with the header that configure looks for. Add missing LIB_DEPENDS that are brought in by other dependencies, but are directly linked as requested by pkgconfig/*.pc. Build using sane and xrender headers from ports instead of bundled headers. Update LICENSE* to account for bundled software. Reformat pkg-message and mention that the scanner interface can be enabled by installing sane-backends. Pet portlint. Reviewed by: pfg Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D3064
28 lines
1.2 KiB
Text
28 lines
1.2 KiB
Text
--- sc/source/core/tool/interpr5.cxx.orig 2014-09-19 18:03:51 UTC
|
|
+++ sc/source/core/tool/interpr5.cxx
|
|
@@ -1611,14 +1611,14 @@ void ScInterpreter::ScPow()
|
|
if (bFlag)
|
|
{ for ( SCSIZE i = 0; i < nCount; i++ )
|
|
if (pMat->IsValue(i))
|
|
- pResMat->PutDouble(pow(fVal,pMat->GetDouble(i)), i);
|
|
+ pResMat->PutDouble(::rtl::math::powr(fVal,pMat->GetDouble(i)), i);
|
|
else
|
|
pResMat->PutString(ScGlobal::GetRscString(STR_NO_VALUE), i);
|
|
}
|
|
else
|
|
{ for ( SCSIZE i = 0; i < nCount; i++ )
|
|
if (pMat->IsValue(i))
|
|
- pResMat->PutDouble(pow(pMat->GetDouble(i),fVal), i);
|
|
+ pResMat->PutDouble(::rtl::math::powr(pMat->GetDouble(i),fVal), i);
|
|
else
|
|
pResMat->PutString(ScGlobal::GetRscString(STR_NO_VALUE), i);
|
|
}
|
|
@@ -1628,7 +1628,7 @@ void ScInterpreter::ScPow()
|
|
PushIllegalArgument();
|
|
}
|
|
else
|
|
- PushDouble(pow(fVal1,fVal2));
|
|
+ PushDouble(::rtl::math::powr(fVal1,fVal2));
|
|
}
|
|
|
|
void ScInterpreter::ScSumProduct()
|