summaryrefslogtreecommitdiff
path: root/packages/xaos/files/fix-build.patch
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2007-01-27 21:39:14 +0000
committerJustin Patrin <papercrane@gmail.com>2007-01-27 21:39:14 +0000
commit94bd7ff377096c9bbfd0bb5954005e2c7294e6c0 (patch)
tree1198c0f4df2d52c4dec4f50f5900136f57d72bfe /packages/xaos/files/fix-build.patch
parent38d79683af2a1cc808b8574cada33c1e333f43d6 (diff)
xaos: add 3.2.2, compiles but cannot find drivers when run
Diffstat (limited to 'packages/xaos/files/fix-build.patch')
-rw-r--r--packages/xaos/files/fix-build.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/packages/xaos/files/fix-build.patch b/packages/xaos/files/fix-build.patch
new file mode 100644
index 0000000000..064c0fb853
--- /dev/null
+++ b/packages/xaos/files/fix-build.patch
@@ -0,0 +1,61 @@
+Index: XaoS-3.2.3/src/util/xstdio.c
+===================================================================
+--- XaoS-3.2.3.orig/src/util/xstdio.c
++++ XaoS-3.2.3/src/util/xstdio.c
+@@ -1,3 +1,4 @@
++#define DATAPATH "/usr/share/XaoS"
+ #ifndef _plan9_
+ #include <string.h>
+ #if defined(__EMX__) || defined(__APPLE__)
+Index: XaoS-3.2.3/src/engine/formulas.c
+===================================================================
+--- XaoS-3.2.3.orig/src/engine/formulas.c
++++ XaoS-3.2.3/src/engine/formulas.c
+@@ -69,6 +69,8 @@
+ #endif
+
+
++#include "../include/complex.h"
++
+ CONST char *CONST incolorname[] = {
+ "0",
+ "zmag",
+Index: XaoS-3.2.3/src/engine/plane.c
+===================================================================
+--- XaoS-3.2.3.orig/src/engine/plane.c
++++ XaoS-3.2.3/src/engine/plane.c
+@@ -53,6 +53,8 @@ CONST char *CONST planename[] = {
+ };
+
+
++#include "../include/complex.h"
++
+ REGISTERS (3)
+ void recalculate (int plane, number_t * x1, number_t * y1)
+ {
+Index: XaoS-3.2.3/src/engine/fractal.c
+===================================================================
+--- XaoS-3.2.3.orig/src/engine/fractal.c
++++ XaoS-3.2.3/src/engine/fractal.c
+@@ -66,6 +66,8 @@
+ #endif
+ #include <xerror.h>
+
++#include "../include/complex.h"
++
+ struct symetryinfo2 cursymetry;
+ struct palette cpalette;
+ struct image cimage;
+Index: XaoS-3.2.3/src/engine/zoom.c
+===================================================================
+--- XaoS-3.2.3.orig/src/engine/zoom.c
++++ XaoS-3.2.3/src/engine/zoom.c
+@@ -69,6 +69,8 @@
+ #define gettext(STRING) STRING
+ #endif
+
++#include "../include/complex.h"
++
+ #define ASIZE 16
+ #define ALIGN(x) (((x)+ASIZE-1)&(~(ASIZE-1)))
+ static int nsymetrized;