aboutsummaryrefslogtreecommitdiff
path: root/cad/opencascade
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2009-02-11 19:39:52 +0000
committerThierry Thomas <thierry@FreeBSD.org>2009-02-11 19:39:52 +0000
commit5f419ac9306b60c5d2df32a9f4ad5e465ca898e5 (patch)
tree8ab9376de269f1265d913397c2fe6aef67f7a6b1 /cad/opencascade
parent5089d799607f6e35530b750537b73ce94d1e831c (diff)
downloadports-5f419ac9306b60c5d2df32a9f4ad5e465ca898e5.tar.gz
ports-5f419ac9306b60c5d2df32a9f4ad5e465ca898e5.zip
Unbreak with gcc-43.
Reported by: pointyhat via Pav
Notes
Notes: svn path=/head/; revision=228070
Diffstat (limited to 'cad/opencascade')
-rw-r--r--cad/opencascade/files/patch-ros_src_OSD_OSD_Timer.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/opencascade/files/patch-ros_src_OSD_OSD_Timer.cxx b/cad/opencascade/files/patch-ros_src_OSD_OSD_Timer.cxx
new file mode 100644
index 000000000000..304428832c58
--- /dev/null
+++ b/cad/opencascade/files/patch-ros_src_OSD_OSD_Timer.cxx
@@ -0,0 +1,11 @@
+--- ./ros/src/OSD/OSD_Timer.cxx.orig 2003-11-17 19:44:23.000000000 +0100
++++ ./ros/src/OSD/OSD_Timer.cxx 2009-02-10 21:58:31.000000000 +0100
+@@ -26,6 +26,8 @@
+ # include <sys/time.h>
+ #endif
+
++#include <stdlib.h>
++
+ static struct timezone *tz=(struct timezone*) malloc(sizeof(struct timezone));
+
+ //=======================================================================