diff --git a/bochs/patches/bochs-1.4.1-mmx.patch-endian-support b/bochs/patches/bochs-1.4.1-mmx.patch-endian-support index 518327351..cb0e148a1 100644 --- a/bochs/patches/bochs-1.4.1-mmx.patch-endian-support +++ b/bochs/patches/bochs-1.4.1-mmx.patch-endian-support @@ -1,7 +1,7 @@ ---------------------------------------------------------------------- Patch name: bochs-1.4.1-mmx.patch-endian-support Author: Stanislav Shwartsman -Date: 01/09/2002 +Date: September 1, 2002 Detailed description: MMX instruction set support. Also supports BIG_ENDIAN systems. Tested on Solaris and HP1100. @@ -12,8 +12,35 @@ Apply patch to what version: cvs checked out on DATE, release version VER Instructions: To patch, go to main bochs directory. - Type "patch -p0 < THIS_PATCH_FILE". + Type "patch -p1 < THIS_PATCH_FILE". ---------------------------------------------------------------------- +diff -r -u -N bochs-1.4.1/configure.in bochs-1.4.1-mmx-release-endian/configure.in +--- bochs-1.4.1/configure.in 2002-06-24 00:19:42.000000000 +0200 ++++ bochs-1.4.1-mmx-release-endian/configure.in 2002-08-25 13:41:34.000000000 +0200 +@@ -799,6 +800,23 @@ + [ + AC_MSG_RESULT(no) + AC_DEFINE(BX_SUPPORT_VBE, 0) ++ ] ++ ) ++ ++AC_MSG_CHECKING(for MMX support) ++AC_ARG_ENABLE(mmx, ++ [ --enable-mmx compile in MMX emulation], ++ [if test "$enableval" = yes; then ++ AC_MSG_RESULT(yes) ++ AC_DEFINE(BX_SUPPORT_MMX, 1) ++ elif test "$enableval" = no; then ++ AC_MSG_RESULT(no) ++ AC_DEFINE(BX_SUPPORT_MMX, 0) ++ fi ++ ], ++ [ ++ AC_MSG_RESULT(no) ++ AC_DEFINE(BX_SUPPORT_MMX, 0) + ] + ) + diff -r -u -N bochs-1.4.1/config.h.in bochs-1.4.1-mmx-release-endian/config.h.in --- bochs-1.4.1/config.h.in 2002-06-24 00:19:42.000000000 +0200 +++ bochs-1.4.1-mmx-release-endian/config.h.in 2002-08-25 13:41:34.000000000 +0200 @@ -21,7 +48,7 @@ diff -r -u -N bochs-1.4.1/config.h.in bochs-1.4.1-mmx-release-endian/config.h.in #define BX_DYNAMIC_CPU_SPARC 0 #define BX_SUPPORT_FPU 0 -+#define BX_SUPPORT_MMX 1 ++#define BX_SUPPORT_MMX 0 #define BX_HAVE_GETENV 0 #define BX_HAVE_SELECT 0