summaryrefslogtreecommitdiff
path: root/x11/XaoS/patches/patch-aa
diff options
context:
space:
mode:
authoratatat <atatat@pkgsrc.org>2002-03-25 16:19:29 +0000
committeratatat <atatat@pkgsrc.org>2002-03-25 16:19:29 +0000
commitaf7ab005aae390a42fbb235bf2e1760b85f64e60 (patch)
tree559c5707e17635195ded2c4b2fbd4dcdf72dc75a /x11/XaoS/patches/patch-aa
parent1a3a1a25079590912c41b0453b6bfa6bb616c809 (diff)
downloadpkgsrc-af7ab005aae390a42fbb235bf2e1760b85f64e60.tar.gz
Add XaoS package. This is a zoomable fractal generator (Mandelbrot
and friends, as well as Newton, Barnsley, Phoenix, and Magnet), that can also be used as an external module in xscreensaver.
Diffstat (limited to 'x11/XaoS/patches/patch-aa')
-rw-r--r--x11/XaoS/patches/patch-aa44
1 files changed, 44 insertions, 0 deletions
diff --git a/x11/XaoS/patches/patch-aa b/x11/XaoS/patches/patch-aa
new file mode 100644
index 00000000000..33f1a214c83
--- /dev/null
+++ b/x11/XaoS/patches/patch-aa
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.1 2002/03/25 16:19:31 atatat 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
+@@ -48,13 +48,6 @@
+ #include <complex.h>
+ #include <plane.h>
+ #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>
+@@ -333,11 +326,6 @@
+ {
+ fractal_context *new_ctxt;
+
+-#ifdef __GNUC__
+-#ifdef __i386__
+- _control87 (PC_64 | MCW_EM | MCW_RC, MCW_PC | MCW_EM | MCW_RC);
+-#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
+@@ -22,8 +22,7 @@
+ stereogram.c \
+ subwindow.c \
+ plane.c \
+- julia.c \
+- i386.c
++ julia.c
+
+ OBJS = $(SRCS:.c=.o)
+