summaryrefslogtreecommitdiffstats
path: root/graphics/acidwarp/files
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2000-10-22 10:54:37 +0000
committertrevor <trevor@FreeBSD.org>2000-10-22 10:54:37 +0000
commit95e17ef699a6393bb3a5244199c96d89a75ae23a (patch)
tree34c0bd8d54f74db9746133cce3a5fc747fcfca7c /graphics/acidwarp/files
parentfc666bd1af360e75431276595f2ec556a778a2fb (diff)
downloadFreeBSD-ports-95e17ef699a6393bb3a5244199c96d89a75ae23a.zip
FreeBSD-ports-95e17ef699a6393bb3a5244199c96d89a75ae23a.tar.gz
Add evil/acidwarp, an SVGAlib-based, psychedelic math art demo
descended from the DOS program.
Diffstat (limited to 'graphics/acidwarp/files')
-rw-r--r--graphics/acidwarp/files/patch-Makefile10
-rw-r--r--graphics/acidwarp/files/patch-acidwarp_c20
2 files changed, 30 insertions, 0 deletions
diff --git a/graphics/acidwarp/files/patch-Makefile b/graphics/acidwarp/files/patch-Makefile
new file mode 100644
index 0000000..f4e2459
--- /dev/null
+++ b/graphics/acidwarp/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig Thu Aug 8 17:57:37 1996
++++ Makefile Sun Oct 22 02:56:06 2000
+@@ -1,5 +1,5 @@
+-CC=gcc
+-CFLAGS = -O2 -funroll-all-loops
++CC ?= gcc
++CFLAGS += -L%%PREFIX%%/lib -I%%PREFIX%%/include
+ LFLAGS = -lvgagl -lvga
+ PROGS = acidwarp
+ OSOURCES = bit_map.o palinit.o rolnfade.o lut.o
diff --git a/graphics/acidwarp/files/patch-acidwarp_c b/graphics/acidwarp/files/patch-acidwarp_c
new file mode 100644
index 0000000..1adaaca
--- /dev/null
+++ b/graphics/acidwarp/files/patch-acidwarp_c
@@ -0,0 +1,20 @@
+--- acidwarp.c.orig Fri Aug 23 10:27:02 1996
++++ acidwarp.c Sun Oct 22 03:02:21 2000
+@@ -2,7 +2,7 @@
+ * All Rights reserved. Private Proprietary Source Code by Noah Spurrier
+ * Ported to Linux by Steven Wills
+ */
+-#include <malloc.h>
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -41,7 +41,7 @@
+ UCHAR MainPalArray [256 * 3];
+ UCHAR TargetPalArray [256 * 3];
+
+-void main (int argc, char *argv[])
++int main (int argc, char *argv[])
+ {
+ int imageFuncList[NUM_IMAGE_FUNCTIONS], userOptionImageFuncNum;
+ int paletteTypeNum = 0, userPaletteTypeNumOptionFlag = FALSE;
OpenPOWER on IntegriCloud