diff options
author | ben <ben@pkgsrc.org> | 2004-11-25 16:31:05 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2004-11-25 16:31:05 +0000 |
commit | 193a6912aac70b50f53f3f46a857948a89d9cca7 (patch) | |
tree | 1bcd5c698e1e74e898fc02632ec35ad912bc6496 /graphics/gfract/patches | |
parent | 759d6749157e41027c4f60d8ff8b5e83fec7c5b4 (diff) | |
download | pkgsrc-193a6912aac70b50f53f3f46a857948a89d9cca7.tar.gz |
Update gfract to version 0.3. Notable changes include:
- Use GTK2.
- Allow palettes with unlimited number of entries.
- User specified coloring algorithms.
- Palette interpolation.
- Change over to using C++.
- Documentation changes
Diffstat (limited to 'graphics/gfract/patches')
-rw-r--r-- | graphics/gfract/patches/patch-aa | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/graphics/gfract/patches/patch-aa b/graphics/gfract/patches/patch-aa index 84de134e163..130b79b7c58 100644 --- a/graphics/gfract/patches/patch-aa +++ b/graphics/gfract/patches/patch-aa @@ -1,30 +1,31 @@ -$NetBSD: patch-aa,v 1.3 2002/09/22 00:16:59 jlam Exp $ +$NetBSD: patch-aa,v 1.4 2004/11/25 16:31:05 ben Exp $ ---- Makefile.orig Fri Feb 9 01:25:57 2001 +--- Makefile.orig Fri Aug 13 08:23:59 2004 +++ Makefile -@@ -1,7 +1,7 @@ --CC=gcc -+#CC=gcc - #CFLAGS=-g -Wall --CFLAGS=-O2 -Wall -Winline --LIBS=-lpng -lz -+CFLAGS+=`gtk-config --cflags` -+LIBS+=`gtk-config --libs` -lpng -lz +@@ -2,10 +2,10 @@ PROG := gfract - 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 + CC := g++ - gfract: $(OBJS) -- $(CC) `gtk-config --cflags` $(CFLAGS) $(OBJS) -o gfract \ --`gtk-config --libs` $(LIBS) -+ $(CC) $(CFLAGS) $(OBJS) -o gfract $(LIBS) +-DEFS := -Wall -ansi -pedantic -D_GNU_SOURCE -DGDK_DISABLE_DEPRECATED ++DEFS := -Wall -D_GNU_SOURCE -DGDK_DISABLE_DEPRECATED + DEFS := $(shell pkg-config --cflags gtk+-2.0) $(DEFS) - %.o : %.c $(HEADERS) -- $(CC) `gtk-config --cflags` $(CFLAGS) -c $< -- --main.o: main.c $(HEADERS) *.xpm +-CXXFLAGS := $(DEFS) -O2 -fomit-frame-pointer -ffast-math ++CXXFLAGS := $(DEFS) + #CXXFLAGS := $(DEFS) -g + + LDFLAGS := -lpng -lz +@@ -17,11 +17,11 @@ HEADERS := $(wildcard *.h *.xpm) + + $(PROG): $(OBJS) + @echo Linking $(PROG) +- @$(CC) $(CXXFLAGS) $(OBJS) $(LDFLAGS) -o $(PROG) ++ @$(CXX) $(CXXFLAGS) $(OBJS) $(LDFLAGS) -o $(PROG) + + %.o: %.cpp $(HEADERS) + @echo Compiling $< +- @$(CC) $(CXXFLAGS) -c $< -o $@ ++ @$(CXX) $(CXXFLAGS) -c $< -o $@ clean: - rm -f gfract $(OBJS) + rm -f $(PROG) $(OBJS) |