Files
pkgsrc-ng/x11/XaoS/patches/patch-aa
2016-01-21 23:40:00 +01:00

37 lines
800 B
Plaintext

$NetBSD: patch-aa,v 1.5 2014/07/13 09:17:04 mbalmer Exp $
Rip out the 16 bit i387 specific code.
--- src/engine/fractal.c.orig 2013-11-01 07:54:21.000000000 +0000
+++ src/engine/fractal.c
@@ -47,13 +47,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>
@@ -355,15 +348,6 @@ fractal_context *make_fractalc(const int
{
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);