diff options
author | taoka <taoka@FreeBSD.org> | 1999-04-13 14:43:17 +0000 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 1999-04-13 14:43:17 +0000 |
commit | c3abc7d90c3bbf9ffc69e8329fbe7477ad621972 (patch) | |
tree | 8bfcf85bd29f93bbb54d2be38914ceb2d76ceb59 /games/garith/files | |
parent | bdd72eb63e009f98e1a0637ece1dd19eebcd5d92 (diff) | |
download | FreeBSD-ports-c3abc7d90c3bbf9ffc69e8329fbe7477ad621972.zip FreeBSD-ports-c3abc7d90c3bbf9ffc69e8329fbe7477ad621972.tar.gz |
Arithmetic quiz program for X Window System
PR: 7827
Submitted by: Andrey Zakhvatov andy@icc.surw.chel.su
Diffstat (limited to 'games/garith/files')
-rw-r--r-- | games/garith/files/patch-aa | 35 | ||||
-rw-r--r-- | games/garith/files/patch-ab | 29 |
2 files changed, 64 insertions, 0 deletions
diff --git a/games/garith/files/patch-aa b/games/garith/files/patch-aa new file mode 100644 index 0000000..8b3b574 --- /dev/null +++ b/games/garith/files/patch-aa @@ -0,0 +1,35 @@ +--- Makefile.orig Thu Sep 18 13:03:00 1997 ++++ Makefile Fri Mar 19 18:15:00 1999 +@@ -1,26 +1,22 @@ + # Makefile adapted from that in the GMix distribution, thanks. + CC=gcc ++GTK_FLAGS=`gtk12-config --cflags` `gtk12-config --libs` + LINK=gcc + INCDIR= + LIBDIR=-L/usr/X11R6/lib +-LDLIBS=-lgnome -lgnomeui -lgdk -lgtk -lglib -lm +-OPTFLAGS= -m486 -O2 -Wall ++#LDLIBS=-lgnome -lgnomeui -lgdk -lgtk -lglib -lm ++#OPTFLAGS= -m486 -O2 -Wall + DEST=garith + + OBJS=garith.o + SRCS=garith.c + +-CFLAGS= $(OPTFLAGS) $(DEFINES) $(INCDIR) ++CFLAGS= $(OPTFLAGS) $(DEFINES) $(INCDIR) $(GTK_FLAGS) + LFLAGS= $(LIBDIR) $(LDLIBS) + +-$(DEST) : $(OBJS) +- $(LINK) $(CFLAGS) -o $@ $(OBJS) $(LFLAGS) ++$(DEST) : garith.c ++ $(CC) -Wall $(GTK_FLAGS) garith.c -o garith ${CFLAGS} + + clean: + rm -f *~ + rm -f *.o $(DEST) +- +-.c.o: +- $(CC) $(CFLAGS) -c $< +- +-garith.o: garith.c diff --git a/games/garith/files/patch-ab b/games/garith/files/patch-ab new file mode 100644 index 0000000..8571b9e --- /dev/null +++ b/games/garith/files/patch-ab @@ -0,0 +1,29 @@ +--- garith.c Wed Sep 17 23:47:03 1997 ++++ /home/andy/tmp/wrk/garith.c Wed Aug 5 13:55:44 1998 +@@ -24,7 +24,7 @@ + */ + + #include <gtk/gtk.h> /* GTK stuff */ +-#include <gnome.h> /* GNOME stuff */ ++/* #include <gnome.h> /* GNOME stuff */ + #include <stdlib.h> + #include <time.h> /* we use time as seed for rand() */ + +@@ -76,7 +76,7 @@ + + gulong num1, num2; + guint right = 0, done = 0; +-gldouble less_than; ++double less_than; + gchar op; + time_t starttime; + +@@ -643,7 +643,7 @@ + gnome_init() is called by all gnome apps. */ + + gtk_init(&argc, &argv); +- gnome_init(&argc, &argv); ++ /* gnome_init(&argc, &argv); */ + + /* Make the windows */ + |