summaryrefslogtreecommitdiff
path: root/x11/XaoS/patches/patch-aa
blob: 53b67b27e92d782a0ce2ba4f4c672192566b15f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$NetBSD: patch-aa,v 1.3 2006/10/02 23:03:33 rillig Exp $

Rip out the 16 bit i387 specific code.

--- src/engine/fractal.c.orig	2003-02-03 17:16:37.000000000 +0100
+++ src/engine/fractal.c	2006-10-03 00:29:20.000000000 +0200
@@ -49,13 +49,6 @@
 #include <complex.h>
 #include <plane.h>
 #include "../include/timers.h"
-#ifdef __GNUC__
-#ifdef __i386__
-#ifndef PC_64
-#include <i386/ctrl87.h>
-#endif
-#endif
-#endif
 #ifdef __alpha__
 #ifdef __linux__
 #include <asm/fpu.h>
@@ -382,15 +375,6 @@ make_fractalc (CONST int formula, float 
 {
   fractal_context *new_ctxt;
 
-#ifndef __BEOS__
-#ifdef __GNUC__
-#ifdef __i386__
-#ifndef NOASSEMBLY
-  _control87 (PC_64 | MCW_EM | MCW_RC, MCW_PC | MCW_EM | MCW_RC);
-#endif
-#endif
-#endif
-#endif
 #ifdef __alpha__
 #ifdef __linux__
   extern void ieee_set_fp_control (unsigned long);