summaryrefslogtreecommitdiff
path: root/system/BasiliskII/files/fix-64bit-check.diff
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-05-28 21:39:16 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 16:23:41 -0500
commitdba403361728a1f5c11a6d833ebfb30259d39e9a (patch)
treea991f0431055b1b1a62dd8c429d46013509cfc8f /system/BasiliskII/files/fix-64bit-check.diff
parent93f7e669864bddcdf38103e54db3d87f6c9b1a75 (diff)
downloadslackbuilds-dba403361728a1f5c11a6d833ebfb30259d39e9a.tar.gz
system/BasiliskII: Added (68k Macintosh Emulator).
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/BasiliskII/files/fix-64bit-check.diff')
-rw-r--r--system/BasiliskII/files/fix-64bit-check.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/system/BasiliskII/files/fix-64bit-check.diff b/system/BasiliskII/files/fix-64bit-check.diff
new file mode 100644
index 0000000000..e5b92cd9c0
--- /dev/null
+++ b/system/BasiliskII/files/fix-64bit-check.diff
@@ -0,0 +1,25 @@
+--- BasiliskII-20120218/src/Unix/configure.ac.orig 2012-02-24 10:18:59.744000107 +0100
++++ BasiliskII-20120218/src/Unix/configure.ac 2012-02-24 10:19:10.334991387 +0100
+@@ -110,22 +110,6 @@
+ x86_64* ) HAVE_X86_64=yes;;
+ esac
+
+-dnl Check if we should really be assuming x86_64 even if we detected HAVE_I386 above.
+-if [[ "x$HAVE_I386" = "xyes" ]]; then
+- AC_TRY_RUN([
+- int main(void) {
+- #if defined(__x86_64__)
+- return 0;
+- #else
+- return 1;
+- #endif
+- }
+- ], [
+- HAVE_I386=no
+- HAVE_X86_64=yes
+- ])
+-fi
+-
+ dnl Checks for programs.
+ AC_PROG_CC
+ AC_PROG_CC_C_O