aboutsummaryrefslogtreecommitdiffstats
path: root/math/ss/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/ss/files')
-rw-r--r--math/ss/files/patch-aa60
-rw-r--r--math/ss/files/patch-ab11
-rw-r--r--math/ss/files/patch-ac11
3 files changed, 82 insertions, 0 deletions
diff --git a/math/ss/files/patch-aa b/math/ss/files/patch-aa
new file mode 100644
index 000000000000..1978199bd433
--- /dev/null
+++ b/math/ss/files/patch-aa
@@ -0,0 +1,60 @@
+--- Makefile.orig Sat Feb 12 02:38:25 1994
++++ Makefile Fri Jan 24 18:01:12 1997
+@@ -35,16 +35,19 @@
+ name = ss
+ NAME = SS
+
++# Installation prefix.
++ PREFIX ?=/usr/local
++
+ # This is where the install step puts the executables.
+- EXDIR = /usr/local/bin
++ EXDIR = $(PREFIX)/bin
+
+ # This is where the man page goes, also what the extention and permissions are.
+- MANDIR = /usr/local/man/man1
++ MANDIR = $(PREFIX)/man/man1
+ MANEXT = 1
+ MANMODE = 644
+
+ # This is where the library file (tutorial) goes.
+- LIBDIR = /usr/local/lib/$(name)
++ LIBDIR = $(PREFIX)/lib/$(name)
+
+ # Variables which are NOT commonly changed.
+ #---------------------------------------------------------------------------
+@@ -56,9 +59,9 @@
+ # some other yacc. Some systems don't allow you to
+ # increase the number of terminals (mostly AT&T), SCO's does though.
+ # NOTE: Do not use with bison 1.16! Get a new version...
+-# YACC =yacc
++ YACC =yacc
+ # YACC =bison -y -d
+- YACC =bison -y
++# YACC =bison -y
+
+ # MS-DOS needs y_tab instead of the normal y.tab
+ # YTAB =y_tab
+@@ -75,8 +78,8 @@
+ # of the general case is in the next section: "SYSTEM DEFINES"
+
+ CC = gcc # Default compiler
+- LIB = -lm -lcurses # Default needed libraries
+- CFLAGS = -O # Default cc flags
++ LIB = -lm -lcurses -ltermcap -lcompat
++ CFLAGS += -O -DBSD43 # Default cc flags
+ LDFLAGS = # Default ld flags
+
+ # *** SPECIAL NOTES ***
+@@ -214,9 +217,9 @@
+ # CFLAGS = -O -DSYSV3
+
+ ### Using gcc 2.*
+- CFLAGS = -O -DSYSV3 -I/usr/5include
++# CFLAGS = -O -DSYSV3 -I/usr/5include
+ ##CFLAGS = -g -DSYSV3 -I/usr/5include
+- LDFLAGS = -L/usr/5lib
++# LDFLAGS = -L/usr/5lib
+
+ # Ultrix Systems (preliminary - Ultrix V4.2a, Rev. 47)
+ #- - - - - - - - - - - - - - - - - - - -
diff --git a/math/ss/files/patch-ab b/math/ss/files/patch-ab
new file mode 100644
index 000000000000..210b851f0fed
--- /dev/null
+++ b/math/ss/files/patch-ab
@@ -0,0 +1,11 @@
+--- curs_sup.h.orig Sat Feb 19 02:37:51 1994
++++ curs_sup.h Fri Jan 24 17:57:20 1997
+@@ -44,7 +44,7 @@
+ * Or HP/Apollo. (16Feb94, Thomas Dickey, dickey@software.org)
+ * Or DOS w/djgpp. (16Feb94, Thomas Dickey, dickey@software.org)
+ */
+-#if defined (__bsdi__) || defined (__NeXT__) || defined(apollo) || defined(__GO32__)
++#if defined (__bsdi__) || defined (__FreeBSD__) || defined (__NeXT__) || defined(apollo) || defined(__GO32__)
+ # define STANDOUT_START standout()
+ # define STANDOUT_END standend()
+ #else
diff --git a/math/ss/files/patch-ac b/math/ss/files/patch-ac
new file mode 100644
index 000000000000..ca338d3c9ed1
--- /dev/null
+++ b/math/ss/files/patch-ac
@@ -0,0 +1,11 @@
+--- ss.h.orig Sat Feb 12 02:09:57 1994
++++ ss.h Fri Jan 24 17:57:20 1997
+@@ -651,7 +651,7 @@
+ * BSDI's BSD/386 is also missing it.
+ * From: Mike Durian <durian@advtech.uswest.com> 8 Feb 1994.
+ */
+-#if defined(apollo) || defined (__bsdi__)
++#if defined(apollo) || defined (__bsdi__) || defined(__FreeBSD__)
+ # define beep() write(2, "\007", 1)
+ #endif
+