aboutsummaryrefslogtreecommitdiff
path: root/graphics/blender-devel
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-15 06:38:26 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-15 06:38:26 +0000
commitca0398422799634fd29e1c03a121bd0e29c5c024 (patch)
tree481b30d2a55322be99cb5e1a5b5855ec42a94935 /graphics/blender-devel
parent8dbfaa656b4e39e529f3a964c9f004460639b56f (diff)
downloadports-ca0398422799634fd29e1c03a121bd0e29c5c024.tar.gz
ports-ca0398422799634fd29e1c03a121bd0e29c5c024.zip
Notes
Diffstat (limited to 'graphics/blender-devel')
-rw-r--r--graphics/blender-devel/files/patch-extern::ode::dist::ode::src::timer.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/graphics/blender-devel/files/patch-extern::ode::dist::ode::src::timer.cpp b/graphics/blender-devel/files/patch-extern::ode::dist::ode::src::timer.cpp
new file mode 100644
index 000000000000..98d20ff9430b
--- /dev/null
+++ b/graphics/blender-devel/files/patch-extern::ode::dist::ode::src::timer.cpp
@@ -0,0 +1,26 @@
+--- extern/ode/dist/ode/src/timer.cpp.orig Tue Oct 14 23:33:02 2003
++++ extern/ode/dist/ode/src/timer.cpp Tue Oct 14 23:34:59 2003
+@@ -106,9 +106,9 @@
+
+ static inline void getClockCount (unsigned long cc[2])
+ {
+- asm volatile ("
+- rdtsc
+- movl %%eax,(%%esi)
++ asm volatile ("\
++ rdtsc \n\
++ movl %%eax,(%%esi) \n\
+ movl %%edx,4(%%esi)"
+ : : "S" (cc) : "%eax","%edx","cc","memory");
+ }
+@@ -116,8 +116,8 @@
+
+ static inline void serialize()
+ {
+- asm volatile ("
+- mov $0,%%eax
++ asm volatile (" \
++ mov $0,%%eax \n\
+ cpuid"
+ : : : "%eax","%ebx","%ecx","%edx","cc","memory");
+ }