Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-Main_Source_human.cpp,v 1.1 2014/02/09 17:09:03 wiedi Exp $
fix ambiguous sqrt on SunOS
--- Main/Source/human.cpp.orig 2004-12-10 21:10:04.000000000 +0000
+++ Main/Source/human.cpp
@@ -2701,7 +2701,7 @@ void smith::BeTalkedTo()
void humanoid::CalculateDodgeValue()
{
- DodgeValue = 0.05 * GetMoveEase() * GetAttribute(AGILITY) / sqrt(GetSize());
+ DodgeValue = 0.05 * GetMoveEase() * GetAttribute(AGILITY) / sqrt((double)GetSize());
if(IsFlying())
DodgeValue *= 2;