diff options
author | fredb <fredb> | 2001-12-31 21:32:56 +0000 |
---|---|---|
committer | fredb <fredb> | 2001-12-31 21:32:56 +0000 |
commit | 5ca571bed740eec52758d871171103d4a4e40f63 (patch) | |
tree | 564cbd8a502e7ad15fbc6d084c830c0623208b2b /math/xlife/patches | |
parent | da751142385616d63c1ddb16eb3e66a121307cd0 (diff) | |
download | pkgsrc-5ca571bed740eec52758d871171103d4a4e40f63.tar.gz |
Initial import of xlife-5.0, an X implementation of John Horton Conway's
classic "Game of Life".
Diffstat (limited to 'math/xlife/patches')
-rw-r--r-- | math/xlife/patches/patch-aa | 39 | ||||
-rw-r--r-- | math/xlife/patches/patch-ab | 16 |
2 files changed, 55 insertions, 0 deletions
diff --git a/math/xlife/patches/patch-aa b/math/xlife/patches/patch-aa new file mode 100644 index 00000000000..254d421620c --- /dev/null +++ b/math/xlife/patches/patch-aa @@ -0,0 +1,39 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/12/31 21:32:56 fredb Exp $ + +--- Imakefile.orig Thu May 25 07:49:40 1995 ++++ Imakefile +@@ -4,8 +4,9 @@ + + PROGRAMS = xlife lifeconv collect lifesearch lifesearchdumb + +-XLIFEPATSDIR = /usr/local/lib/xlife/ ++XLIFEPATSDIR = ProjectRoot/share/xlife/ + CCOPTIONS=-DLIFEDIR=\"$(XLIFEPATSDIR)\" ++CURSES_LIB=-lcurses -ltermcap + + SRCS1 = \ + cell.c\ +@@ -85,8 +86,8 @@ + ComplexProgramTarget_1(xlife, $(XLIB),) + ComplexProgramTarget_2(lifeconv,,) + ComplexProgramTarget_3(collect,,) +-#ComplexProgramTarget_4(lifesearch,,) +-#ComplexProgramTarget_5(lifesearchdumb,,) ++ComplexProgramTarget_4(lifesearch, $(CURSES_LIB),) ++ComplexProgramTarget_5(lifesearchdumb, $(CURSES_LIB),) + + install.patterns: + @case '${MFLAGS}' in *[i]*) set +e;; esac; \ +@@ -99,12 +100,6 @@ + # 9x16 font. This is a useful property --- try to preserve it. + help.h: help.text + sed <help.text -e '/\\[^n]/s//\\&/g' -e '/.*/s//"&",/' >help.h +- +-# This should be generated! +-lifesearchdumb: search.o interact.o dumbtty.o +- $(CC) $(CFLAGS) -o lifesearchdumb search.o interact.o dumbtty.o +-lifesearch: search.o interact.o cursestty.o +- $(CC) $(CFLAGS) -o lifesearch search.o interact.o cursestty.o -L/usr/local/lib -lcurses -ltermcap + + TAGS: $(SRCS) + etags $(SRCS) diff --git a/math/xlife/patches/patch-ab b/math/xlife/patches/patch-ab new file mode 100644 index 00000000000..4fe300ede36 --- /dev/null +++ b/math/xlife/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/12/31 21:32:56 fredb Exp $ + +--- data.h.orig Mon Jun 17 15:06:51 1996 ++++ data.h +@@ -84,9 +84,8 @@ + GLOBAL void setcolor(int val, unsigned long x, unsigned long y); + + /* UNIX interface */ +-extern int sys_nerr, errno; +-extern char *sys_errlist[]; +-#define SYSERR sys_errlist[(errno > sys_nerr? 0 : errno)] ++#include <errno.h> ++#define SYSERR strerror(errno) + + /* X I/O state information */ + GLOBAL Display *disp; |