summaryrefslogtreecommitdiff
path: root/x11/XaoS/patches/patch-aa
blob: 9e30b2549212c3c856587d3eca4dc7a130aa6649 (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
37
38
39
40
41
42
43
44
45
46
47
48
$NetBSD: patch-aa,v 1.2 2004/07/14 21:06:57 ben Exp $

Rip out the 16 bit i387 specific code.

--- src/engine/fractal.c-orig	Wed Mar  4 16:49:12 1998
+++ src/engine/fractal.c	Sun Mar 10 16:29:06 2002
@@ -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 @@
 {
   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);
--- src/engine/Makefile.in-orig	Wed Mar  4 16:49:12 1998
+++ src/engine/Makefile.in	Sun Mar 10 16:27:30 2002
@@ -24,8 +24,7 @@ SRCS = formulas.c \
        3d.c \
        subwindow.c \
        plane.c \
-       julia.c \
-       i386.c
+       julia.c
 
 
 OBJS = $(SRCS:.c=.o)