summaryrefslogtreecommitdiff
path: root/misc/sci/patches
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>1999-06-16 21:37:15 +0000
committermjl <mjl@pkgsrc.org>1999-06-16 21:37:15 +0000
commitd70195ff485effe27d3ae2ecebadd57446be6660 (patch)
tree7b75c1b94ef46d4220a80081b4a00be3a0b21cd3 /misc/sci/patches
parent948edb1e0e44dca68753fea6e38faf2a16a3f102 (diff)
downloadpkgsrc-d70195ff485effe27d3ae2ecebadd57446be6660.tar.gz
Initial import of sci.
sci builds multi-user data entry screens from a text template. The data input into a screen is saved in a tab-delimited file. The template may supply default values for a data entry field, and fields may be marked as numeric data, or alphabetic only. sci uses curses for screen control.
Diffstat (limited to 'misc/sci/patches')
-rw-r--r--misc/sci/patches/patch-aa27
-rw-r--r--misc/sci/patches/patch-ab13
2 files changed, 40 insertions, 0 deletions
diff --git a/misc/sci/patches/patch-aa b/misc/sci/patches/patch-aa
new file mode 100644
index 00000000000..646dac200fc
--- /dev/null
+++ b/misc/sci/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/06/16 21:37:16 mjl Exp $
+
+--- makefile.orig Wed Jun 16 23:07:37 1999
++++ makefile Wed Jun 16 23:20:05 1999
+@@ -1,10 +1,10 @@
+ all : bin
+
+ PROG=sci
+-INSTALL=/usr/local/bin
+-MAN=/usr/man/man1
+-COPT=-DUSLEEP
+-CURSES=-lncurses
++INSTALL=${PREFIX}/bin
++MAN=${PREFIX}/man/man1
++COPT=-DUSLEEP -I${PREFIX}/include
++CURSES=-L${PREFIX}/lib -lncurses
+
+ $(PROG).o : $(PROG).c
+ gcc -O3 $(COPT) -Wall -pedantic -c $(PROG).c
+@@ -27,6 +27,6 @@
+ rm -f *.bak
+ install :
+ cp sci $(INSTALL)
+- cp sci.1.gz $(MAN)
++ cp sci.1 $(MAN)
+
+ bin : $(PROG)
diff --git a/misc/sci/patches/patch-ab b/misc/sci/patches/patch-ab
new file mode 100644
index 00000000000..288464e1f67
--- /dev/null
+++ b/misc/sci/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/06/16 21:37:15 mjl Exp $
+
+--- sci.c.orig Wed Jun 16 23:12:11 1999
++++ sci.c Wed Jun 16 23:12:23 1999
+@@ -70,7 +70,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <time.h>
+-#include <curses.h>
++#include <ncurses.h>
+ #include <signal.h>
+ #include <unistd.h>
+ #include <ctype.h>