summaryrefslogtreecommitdiff
path: root/graphics/animorph
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/animorph')
-rw-r--r--graphics/animorph/Makefile1
-rw-r--r--graphics/animorph/files/patch-include-animorph-util.h10
-rw-r--r--graphics/animorph/files/patch-src-BodySettings.cpp10
-rw-r--r--graphics/animorph/files/patch-src-FaceGroup.cpp10
-rw-r--r--graphics/animorph/files/patch-src-Hotspot.cpp10
5 files changed, 41 insertions, 0 deletions
diff --git a/graphics/animorph/Makefile b/graphics/animorph/Makefile
index 27b3819b41f2..76cfab6c431c 100644
--- a/graphics/animorph/Makefile
+++ b/graphics/animorph/Makefile
@@ -15,6 +15,7 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USES= pkgconfig
USE_LDCONFIG= yes
+USE_GCC= yes # otherwise graphics/makehuman won't link
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/graphics/animorph/files/patch-include-animorph-util.h b/graphics/animorph/files/patch-include-animorph-util.h
new file mode 100644
index 000000000000..a8138c65dffa
--- /dev/null
+++ b/graphics/animorph/files/patch-include-animorph-util.h
@@ -0,0 +1,10 @@
+--- include/animorph/util.h.orig 2007-11-25 12:34:57.000000000 +0300
++++ include/animorph/util.h 2013-09-14 08:03:24.413227432 +0400
+@@ -37,6 +37,7 @@
+ #include <iomanip>
+ #include <vector>
+ #include <iostream>
++#include <cstdlib> // for atoi()
+ #include "Vector3.h"
+ #include "Vertex.h"
+ #include "VertexVector.h"
diff --git a/graphics/animorph/files/patch-src-BodySettings.cpp b/graphics/animorph/files/patch-src-BodySettings.cpp
new file mode 100644
index 000000000000..9bb6b9afc9e2
--- /dev/null
+++ b/graphics/animorph/files/patch-src-BodySettings.cpp
@@ -0,0 +1,10 @@
+--- src/BodySettings.cpp.orig 2007-12-03 01:30:41.000000000 +0300
++++ src/BodySettings.cpp 2013-09-17 17:25:49.896520104 +0400
+@@ -1,5 +1,7 @@
+ #include "../include/animorph/BodySettings.h"
+
++#include <cstring>
++
+ using namespace std;
+ using namespace Animorph;
+
diff --git a/graphics/animorph/files/patch-src-FaceGroup.cpp b/graphics/animorph/files/patch-src-FaceGroup.cpp
new file mode 100644
index 000000000000..6cf7ec73ef8f
--- /dev/null
+++ b/graphics/animorph/files/patch-src-FaceGroup.cpp
@@ -0,0 +1,10 @@
+--- src/FaceGroup.cpp.orig 2007-12-03 01:30:41.000000000 +0300
++++ src/FaceGroup.cpp 2013-09-17 17:56:37.772519994 +0400
+@@ -1,5 +1,7 @@
+ #include "../include/animorph/FaceGroup.h"
+
++#include <cstring>
++
+ using namespace std;
+ using namespace Animorph;
+
diff --git a/graphics/animorph/files/patch-src-Hotspot.cpp b/graphics/animorph/files/patch-src-Hotspot.cpp
new file mode 100644
index 000000000000..b0f815ac83f4
--- /dev/null
+++ b/graphics/animorph/files/patch-src-Hotspot.cpp
@@ -0,0 +1,10 @@
+--- src/Hotspot.cpp.orig 2007-11-25 12:34:58.000000000 +0300
++++ src/Hotspot.cpp 2013-09-17 17:32:58.043519323 +0400
+@@ -1,5 +1,7 @@
+ #include "../include/animorph/Hotspot.h"
+
++#include <cstring>
++
+ using namespace std;
+ using namespace Animorph;
+