diff options
author | edwin <edwin@FreeBSD.org> | 2003-10-15 14:38:26 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-10-15 14:38:26 +0800 |
commit | 9e1e343e63c08bfbf12ff6ea2808c428b1f63813 (patch) | |
tree | a69219191b4a2c06b2798045818bba3f0112c4db /graphics | |
parent | f16fb60dc8f28cccb13ce40ed80c511796123ff3 (diff) | |
download | freebsd-ports-gnome-9e1e343e63c08bfbf12ff6ea2808c428b1f63813.tar.gz freebsd-ports-gnome-9e1e343e63c08bfbf12ff6ea2808c428b1f63813.tar.zst freebsd-ports-gnome-9e1e343e63c08bfbf12ff6ea2808c428b1f63813.zip |
This file is needed to make graphics/blender-devel compile with the new GCC.
It doesn't unbreak the port yet.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/blender-devel/files/patch-extern::ode::dist::ode::src::timer.cpp | 26 |
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"); + } |