summaryrefslogtreecommitdiff
path: root/graphics/gfract/patches
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-08-12 22:07:50 +0000
committerzuntum <zuntum>2001-08-12 22:07:50 +0000
commit20ba5c32f788c7723db4187ba3fb583f0890b145 (patch)
tree854317c1c66507ee814d34e65ce5b6abfe76359b /graphics/gfract/patches
parentc6cce5e52cc4a3f75c07ae153e583db67c469967 (diff)
downloadpkgsrc-20ba5c32f788c7723db4187ba3fb583f0890b145.tar.gz
Initial import of gfract-0.21
Gfract is a GTK-based fractal program that currently implements the standard Mandelbrot and Julia sets. It features infinite image size with infinite anti-aliasing if you have the memory for it (well, at least 2^31 x 2^31 image sizes), Julia instant preview mode and PNG support. For palette files it uses the same format as Fractint does. Package provided by Ben Collver <collver@linuxfreemail.com> in pkg/13696
Diffstat (limited to 'graphics/gfract/patches')
-rw-r--r--graphics/gfract/patches/patch-aa30
-rw-r--r--graphics/gfract/patches/patch-ab13
2 files changed, 43 insertions, 0 deletions
diff --git a/graphics/gfract/patches/patch-aa b/graphics/gfract/patches/patch-aa
new file mode 100644
index 00000000000..a042452969e
--- /dev/null
+++ b/graphics/gfract/patches/patch-aa
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/08/12 22:07:50 zuntum Exp $
+
+--- Makefile.orig Fri Feb 9 01:25:57 2001
++++ Makefile
+@@ -1,7 +1,7 @@
+-CC=gcc
++#CC=gcc
+ #CFLAGS=-g -Wall
+-CFLAGS=-O2 -Wall -Winline
+-LIBS=-lpng -lz
++CFLAGS+=`${BUILDLINK_DIR}/bin/gtk-config --cflags`
++LIBS+=`${BUILDLINK_DIR}/bin/gtk-config --libs` -lpng -lz
+
+ OBJS=main.o fractal.o palette.o globals.o misc.o attr_dlg.o my_png.o \
+ pal_rot_dlg.o timer.o
+@@ -9,13 +9,9 @@
+ pal_rot_dlg.h timer.h version.h
+
+ gfract: $(OBJS)
+- $(CC) `gtk-config --cflags` $(CFLAGS) $(OBJS) -o gfract \
+-`gtk-config --libs` $(LIBS)
++ $(CC) $(CFLAGS) $(OBJS) -o gfract $(LIBS)
+
+ %.o : %.c $(HEADERS)
+- $(CC) `gtk-config --cflags` $(CFLAGS) -c $<
+-
+-main.o: main.c $(HEADERS) *.xpm
+
+ clean:
+ rm -f gfract $(OBJS)
diff --git a/graphics/gfract/patches/patch-ab b/graphics/gfract/patches/patch-ab
new file mode 100644
index 00000000000..d835ac465cd
--- /dev/null
+++ b/graphics/gfract/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/08/12 22:07:50 zuntum Exp $
+
+--- main.c.orig Fri Feb 9 01:25:57 2001
++++ main.c
+@@ -40,7 +40,7 @@
+
+
+ #define DUMP_COMMAND "--read-dump-from"
+-#define DEFAULT_PALETTE_FILE "/usr/local/share/gfract/palettes/blues.map"
++#define DEFAULT_PALETTE_FILE "/usr/pkg/share/gfract/palettes/blues.map"
+
+ /* why the fuck does gtk have to define these in its header files?
+ the glib/gdk/gtk combo is forgetting seriously that it's just a Yet