summaryrefslogtreecommitdiff
path: root/math/calctool/files
diff options
context:
space:
mode:
authorEric L. Hernes <erich@FreeBSD.org>1996-12-12 03:46:31 +0000
committerEric L. Hernes <erich@FreeBSD.org>1996-12-12 03:46:31 +0000
commita0f8cf9ad2111fbffa815edc2a80f35ecf96e71d (patch)
tree9babd6ce8149b84d8af26371980bc5a8744e64f0 /math/calctool/files
parentupgrade to 1.0c -- closes ports/2167 (diff)
new port of calctool, another X11 calculator,
closes ports/2157 Submitted by: Nick Sayer nsayer@quack.kfu.com
Notes
Notes: svn path=/head/; revision=4947
Diffstat (limited to 'math/calctool/files')
-rw-r--r--math/calctool/files/patch-aa22
-rw-r--r--math/calctool/files/patch-ab48
2 files changed, 70 insertions, 0 deletions
diff --git a/math/calctool/files/patch-aa b/math/calctool/files/patch-aa
new file mode 100644
index 000000000000..2815917e35c2
--- /dev/null
+++ b/math/calctool/files/patch-aa
@@ -0,0 +1,22 @@
+*** tty.c.orig Wed Dec 4 12:43:55 1996
+--- tty.c Wed Dec 4 12:45:33 1996
+***************
+*** 1,5 ****
+- /*LINTLIBRARY*/
+-
+ /* @(#)tty.c 1.14 90/02/06
+ *
+ * These are the dumb tty dependent graphics routines used by calctool.
+--- 1,3 ----
+***************
+*** 21,26 ****
+--- 19,26 ----
+ #include <sys/types.h>
+ #include <sys/ioctl.h>
+ #include <sys/time.h>
++ #include <sys/termios.h>
++ #include <sys/ioctl_compat.h>
+ #include "calctool.h"
+ #include "color.h"
+ #include "extern.h"
+
diff --git a/math/calctool/files/patch-ab b/math/calctool/files/patch-ab
new file mode 100644
index 000000000000..d80496ae6611
--- /dev/null
+++ b/math/calctool/files/patch-ab
@@ -0,0 +1,48 @@
+--- Makefile.orig Sat May 29 11:35:43 1993
++++ Makefile Wed Dec 11 21:32:54 1996
+@@ -116,8 +116,8 @@
+ # library files are not in a standard place, then the following
+ # two lines should be uncommented, and set appropriately.
+ #
+-#X11INCDIR = -I$(OPENWINHOME)/include
+-#X11LIBDIR = -L$(OPENWINHOME)/lib
++X11INCDIR = -I/usr/X11R6/include
++X11LIBDIR = -L/usr/X11R6/lib
+ #-------------------------------------------------------------------------
+ # If you are compiling the XView version, then the following two lines
+ # should be uncommented.
+@@ -130,10 +130,10 @@
+ # Default locations where calctool files will be installed.
+ # You might wish to alter these values.
+ #
+-BINDIR = /usr/local/bin
+-LIBDIR = /usr/local/lib
+-MANDIR = /usr/man/man$(MANSECT)
+-MANSECT = l
++BINDIR = ${PREFIX}/bin
++LIBDIR = ${PREFIX}/lib/X11
++MANDIR = ${PREFIX}/man/man$(MANSECT)
++MANSECT = 1
+ #
+ # Compilation flags and standard macro definitions.
+ #
+@@ -144,8 +144,9 @@
+ #
+ #=========================================================================
+
+-BINARIES = mgr_calctool ps_calctool sv_calctool \
+- tty_calctool xcalctool xv_calctool
++#BINARIES = mgr_calctool ps_calctool sv_calctool \
++# tty_calctool xcalctool xv_calctool
++BINARIES = x11
+
+ CC = cc
+
+@@ -233,7 +234,6 @@
+ ld -o libcalctool.so.1.1 -assert pure-text $?
+
+ install:
+- install -c -m 644 $(LIBNAME) $(LIBDIR)
+ install -s -m 751 calctool $(BINDIR)
+ install -c -m 644 calctool.help $(LIBDIR)
+ install -c -m 644 calctool.ps $(LIBDIR)