diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-02 20:12:50 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-02 20:12:50 +0000 |
commit | c5c8d6dd5f9393b656069569625f33980158ad82 (patch) | |
tree | aa7970df6b819a9b35b142a39ab5fe9c6c472536 /devel | |
parent | ba16f3c371b5687f4054f8c17e3d1273dae3a2bc (diff) |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ode-devel/Makefile | 4 | ||||
-rw-r--r-- | devel/ode-devel/files/patch-configurator.c | 11 | ||||
-rw-r--r-- | devel/ode/Makefile | 4 | ||||
-rw-r--r-- | devel/ode/files/patch-configurator.c | 11 |
4 files changed, 22 insertions, 8 deletions
diff --git a/devel/ode-devel/Makefile b/devel/ode-devel/Makefile index 4f8951afa4f2..f9bb730a84d7 100644 --- a/devel/ode-devel/Makefile +++ b/devel/ode-devel/Makefile @@ -28,10 +28,6 @@ OPTIONS= OPCODE "Enable code required by TriList (trimesh) class" on .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64" -BROKEN= "Does not compile." -.endif - post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \ ${WRKSRC}/configurator.c diff --git a/devel/ode-devel/files/patch-configurator.c b/devel/ode-devel/files/patch-configurator.c new file mode 100644 index 000000000000..0fff17513eda --- /dev/null +++ b/devel/ode-devel/files/patch-configurator.c @@ -0,0 +1,11 @@ +--- configurator.c.orig Sat May 29 21:46:03 2004 ++++ configurator.c Tue Dec 6 03:48:15 2005 +@@ -222,7 +222,7 @@ + write_header_comment (file,"is this a pentium on a gcc-based platform?"); + write_to_file ("ctest.cpp", + "int main() {\n" +- " asm (\"mov $0,%%eax\\n cpuid\\n\" : : : \"%eax\");\n" ++ " asm (\"mov $0,%%eax\\n mov %%eax,(%%esi)\\n cpuid\\n\" : : : \"%eax\");\n" + " return 0;\n" + "}\n"); + delete_file ("ctest.exe"); diff --git a/devel/ode/Makefile b/devel/ode/Makefile index 2ad28f3cb2e6..5c3fae41962e 100644 --- a/devel/ode/Makefile +++ b/devel/ode/Makefile @@ -28,10 +28,6 @@ OPTIONS= OPCODE "Enable code required by TriList (trimesh) class" on .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" -BROKEN= "Does not build on amd64" -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|malloc.h|stdlib.h|g' \ diff --git a/devel/ode/files/patch-configurator.c b/devel/ode/files/patch-configurator.c new file mode 100644 index 000000000000..0fff17513eda --- /dev/null +++ b/devel/ode/files/patch-configurator.c @@ -0,0 +1,11 @@ +--- configurator.c.orig Sat May 29 21:46:03 2004 ++++ configurator.c Tue Dec 6 03:48:15 2005 +@@ -222,7 +222,7 @@ + write_header_comment (file,"is this a pentium on a gcc-based platform?"); + write_to_file ("ctest.cpp", + "int main() {\n" +- " asm (\"mov $0,%%eax\\n cpuid\\n\" : : : \"%eax\");\n" ++ " asm (\"mov $0,%%eax\\n mov %%eax,(%%esi)\\n cpuid\\n\" : : : \"%eax\");\n" + " return 0;\n" + "}\n"); + delete_file ("ctest.exe"); |