Description: lintian cleanups
 Spelling, license wording, and fortify functions.
Forwarded: not-needed
Author: Camm Maguire <camm@debian.org>

--- fricas-1.3.6.orig/config/var-def.mk
+++ fricas-1.3.6/config/var-def.mk
@@ -53,6 +53,7 @@ datadir = @datadir@
 AR = @AR@
 CC = @CC@
 CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
 OBJEXT = @OBJEXT@
 EXEEXT = @EXEEXT@
 
--- fricas-1.3.6.orig/contrib/texmacs/fricas/doc/fricas-demo.en.tm
+++ fricas-1.3.6/contrib/texmacs/fricas/doc/fricas-demo.en.tm
@@ -190,7 +190,7 @@
   <tmdoc-license|Permission is granted to copy, distribute and/or modify this
   document under the terms of the GNU Free Documentation License, Version 1.1
   or any later version published by the Free Software Foundation; with no
-  Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
+  Invariant Sections, no Front-Cover Texts, and no Back-Cover
   Texts. A copy of the license is included in the section entitled "GNU Free
   Documentation License".>
 </body>
--- fricas-1.3.6.orig/pre-generated/target/algebra/browse.daase
+++ fricas-1.3.6/pre-generated/target/algebra/browse.daase
@@ -4003,7 +4003,7 @@ NIL
 (|DeRhamComplex| |CoefRing| |listIndVar|) 
 ((|constructor|
   (NIL
-   "The deRham complex of Euclidean space,{} that is,{} the class of differential forms of arbitary degree over a coefficient ring. See Flanders,{} Harley,{} Differential Forms,{} With Applications to the Physical Sciences,{} New York,{} Academic Press,{} 1963."))
+   "The deRham complex of Euclidean space,{} that is,{} the class of differential forms of arbitrary degree over a coefficient ring. See Flanders,{} Harley,{} Differential Forms,{} With Applications to the Physical Sciences,{} New York,{} Academic Press,{} 1963."))
  (|exteriorDifferential|
   (($ $)
    "\\spad{exteriorDifferential(df)} returns the exterior derivative (gradient,{} curl,{} divergence,{} ...) of the differential form \\spad{df}."))
--- fricas-1.3.6.orig/pre-generated/target/algebra/comdb.text
+++ fricas-1.3.6/pre-generated/target/algebra/comdb.text
@@ -301,7 +301,7 @@
 20764`A domain for finite cyclic groups.
 20848`This domain provides some nice functions on lists
 20919`\indented{1}{This domain implements a simple view of a database whose fields are} indexed by symbols
-20995`The deRham complex of Euclidean space,{} that is,{} the class of differential forms of arbitary degree over a coefficient ring. See Flanders,{} Harley,{} Differential Forms,{} With Applications to the Physical Sciences,{} New York,{} Academic Press,{} 1963.
+20995`The deRham complex of Euclidean space,{} that is,{} the class of differential forms of arbitrary degree over a coefficient ring. See Flanders,{} Harley,{} Differential Forms,{} With Applications to the Physical Sciences,{} New York,{} Academic Press,{} 1963.
 21124`This domain allows rational numbers to be presented as repeating decimal expansions.
 21206`\indented{2}{Similar to Simplicial Complex but faces (edges,{} triangles,{} etc.)} \indented{2}{are indexed by 'face maps' into the next lower face map until} \indented{2}{we get down to the vertices.} \indented{2}{for more documentation see:} \indented{2}{http://www.euclideanspace.com/prog/scratchpad/mycode/topology/delta/} Date Created: Feb 2016 Basic Operations: Related packages: Related categories: Related Domains: FiniteSimplicialComplex is a simpler and more \indented{3}{compact representation which can be used if edges,{} triangles,{}} \indented{3}{etc. don\spad{'t} need to be indexed.} Also See: AMS Classifications:
 21280`\indented{1}{A Denavit-Hartenberg Matrix is a 4x4 Matrix of the form:} \indented{1}{\spad{nx ox ax px}} \indented{1}{\spad{ny oy ay py}} \indented{1}{\spad{nz oz az pz}} \indented{2}{\spad{0\space{2}0\space{2}0\space{2}1}} (\spad{n},{} \spad{o},{} and a are the direction cosines)
--- fricas-1.3.6.orig/src/algebra/derham.spad
+++ fricas-1.3.6/src/algebra/derham.spad
@@ -295,7 +295,7 @@ AntiSymm(R : Ring, lVar : List Symbol) :
 ++ Needs: LeftAlgebra, ExtAlgBasis, FreeMod(Ring, OrderedSet)
 ++
 ++ Description: The deRham complex of Euclidean space, that is, the
-++ class of differential forms of arbitary degree over a coefficient ring.
+++ class of differential forms of arbitrary degree over a coefficient ring.
 ++ See Flanders, Harley, Differential Forms, With Applications to the Physical
 ++ Sciences, New York, Academic Press, 1963.
 
--- fricas-1.3.6.orig/src/algebra/fs2expxp.spad
+++ fricas-1.3.6/src/algebra/fs2expxp.spad
@@ -108,12 +108,12 @@ FunctionSpaceToExponentialExpansion(R, F
 --% 'problems' with conversion
 
     stateSeriesProblem(function, problem) ==
-      -- records the problem which occured in converting an expression
+      -- records the problem which occurred in converting an expression
       -- to a power series
       [[function, problem]]
 
     stateProblem(function, problem) ==
-      -- records the problem which occured in converting an expression
+      -- records the problem which occurred in converting an expression
       -- to an exponential expansion
       [[function, problem]]
 
--- fricas-1.3.6.orig/src/algebra/fs2ups.spad
+++ fricas-1.3.6/src/algebra/fs2ups.spad
@@ -250,7 +250,7 @@ FunctionSpaceToUnivariatePowerSeries2(R,
       [ans :: UPS]
 
     stateProblem(function, problem) ==
-      -- records the problem which occured in converting an expression
+      -- records the problem which occurred in converting an expression
       -- to a power series
       [[function, problem]]
 
--- fricas-1.3.6.orig/src/graph/Makenotes.tex
+++ fricas-1.3.6/src/graph/Makenotes.tex
@@ -128,7 +128,7 @@ version25:
   signals from the viewport manager (Scratchpad) are all processed properly.
   the condition where the user is not allowed to use the control panel of the
   viewport that Scratchpad is sending commands to no longer exists!!!! wow!!!
-  simultaneous processing without a race condition occuring (sorta) should
+  simultaneous processing without a race condition occurring (sorta) should
   not occur anymore.
   view3D: modification to keepDrawingViewport() so that signals also causes
   a return of no. this allows Scratchpad input files to be indistinguishable
--- fricas-1.3.6.orig/src/graph/view3D/draw.h
+++ fricas-1.3.6/src/graph/view3D/draw.h
@@ -38,7 +38,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
 
 #define clipOffset 500
 
-/* recalculation occurs if any of these situations have occured */
+/* recalculation occurs if any of these situations have occurred */
 
 #define recalc (rotated || zoomed || translated || !finishedList || \
                 firstTime || switchedPerspective || changedEyeDistance)
--- fricas-1.3.6.orig/src/hyper/event.c
+++ fricas-1.3.6/src/hyper/event.c
@@ -563,7 +563,7 @@ get_hyper_link(XButtonEvent * event)
 
 /*
  * Handle a button pressed event. window is the subwindow in which the event
- * occured, and button is the button which was pressed
+ * occurred, and button is the button which was pressed
  */
 
 static void
--- fricas-1.3.6.orig/src/hyper/htadd.c
+++ fricas-1.3.6/src/hyper/htadd.c
@@ -460,7 +460,7 @@ get_filename(void)
       case '\\':
       case '{':
       case '}':
-        fprintf(stderr, "Error unexpexted character %c\n",c);
+        fprintf(stderr, "Error unexpected character %c\n",c);
         exit(-1);
       default:
         do {
--- fricas-1.3.6.orig/src/hyper/parse-aux.c
+++ fricas-1.3.6/src/hyper/parse-aux.c
@@ -427,7 +427,7 @@ add_dependencies(void)
     SpadcomDepend *depend;
 
     if (cur_spadcom == NULL) {
-        fprintf(stderr, "(HyperDoc) \\bound occuring outside a \\spadcom\n");
+        fprintf(stderr, "(HyperDoc) \\bound occurring outside a \\spadcom\n");
         print_page_and_filename();
         exit(-1);
     }
--- fricas-1.3.6.orig/src/hyper/scrollbar.c
+++ fricas-1.3.6/src/hyper/scrollbar.c
@@ -617,7 +617,7 @@ scrollScroller(XButtonEvent * event)
 
     /*
      * This routine checks to see where in the window the button press
-     * occured. It then tries to move the scroller so that the top of the
+     * occurred. It then tries to move the scroller so that the top of the
      * scroller is at the spot of the event
      */
 
--- fricas-1.3.6.orig/src/interp/bc-misc.boot
+++ fricas-1.3.6/src/interp/bc-misc.boot
@@ -747,7 +747,7 @@ bcPuiseuxSeries(a,b) ==
     (text . "\tab{49}")
     (bcStrings (8 0 point F))
     (text . "\blankline ")
-    (text . "For Puiseux Series, the exponent of the power series variable ranges from an {\em initial value}, an arbitary rational number, to plus infinity; the {\em step size} is an any positive rational number.")
+    (text . "For Puiseux Series, the exponent of the power series variable ranges from an {\em initial value}, an arbitrary rational number, to plus infinity; the {\em step size} is an any positive rational number.")
     (text . "\blankline ")
     (text . "\newline ")
     (text . "\menuitemstyle{}\tab{2}")
--- fricas-1.3.6.orig/src/interp/compiler.boot
+++ fricas-1.3.6/src/interp/compiler.boot
@@ -446,7 +446,7 @@ compForm1(form is [op,:argl],m,e) ==
       nil
   op is ["Sel", domain, op'] => compSel1(domain, op', argl, m, e)
 
-  e:= addDomain(m,e) --???unneccessary because of comp2's call???
+  e:= addDomain(m,e) --???unnecessary because of comp2's call???
   (mmList:= getFormModemaps(form,e)) and (T:= compForm2(form,m,e,mmList)) => T
   compToApply(op,argl,m,e)
 
@@ -823,7 +823,7 @@ compLeave(["leave",level,x],m,e) ==
 compReturn(["return", x], m, e) ==
   ns := #$exitModeStack
   ns = $currentFunctionLevel =>
-    stackSemanticError(["the return before","%b",x,"%d","is unneccessary"],nil)
+    stackSemanticError(["the return before","%b",x,"%d","is unnecessary"],nil)
     nil
   index := MAX(0, ns - $currentFunctionLevel - 1)
   $returnMode:= resolve($exitModeStack.index,$returnMode)
--- fricas-1.3.6.orig/src/interp/daase.lisp
+++ fricas-1.3.6/src/interp/daase.lisp
@@ -516,7 +516,7 @@ database.
     (setq item (unsqueeze item))
     (unless (setq dbstruct (get (car item) 'database))
      (format t "browseOpen:~%")
-     (format t "the browse database contains a contructor ~a~%" item)
+     (format t "the browse database contains a constructor ~a~%" item)
      (format t "that is not in the interp.daase file. we cannot~%")
      (format t "get the database structure for this constructor and~%")
      (warn "will create a new one~%")
--- fricas-1.3.6.orig/src/interp/foam_l.lisp
+++ fricas-1.3.6/src/interp/foam_l.lisp
@@ -836,7 +836,7 @@
 (defmacro |atan2| (a b) `(atan ,a ,b))
 
 (defun |Halt| (n)
-  (error (cond ((= n 101) "System Error: Unfortunate use of dependant type")
+  (error (cond ((= n 101) "System Error: Unfortunate use of dependent type")
                ((= n 102) "User error: Reached a 'never'")
                ((= n 103) "User error: Bad union branch")
                ((= n 104) "User error: Assertion failed")
--- fricas-1.3.6.orig/src/interp/macros.lisp
+++ fricas-1.3.6/src/interp/macros.lisp
@@ -426,7 +426,7 @@
         ((CONS (CAR L) (ADDASSOC X Y (CDR L))))))
 
 (DEFUN DELLASOS (U V)
-  "Remove any assocation pair (U . X) from list V."
+  "Remove any association pair (U . X) from list V."
   (COND ((ATOM V) NIL)
         ((EQUAL U (CAAR V)) (CDR V))
         ((CONS (CAR V) (DELLASOS U (CDR V))))))
--- fricas-1.3.6.orig/src/lib/util.c
+++ fricas-1.3.6/src/lib/util.c
@@ -52,7 +52,7 @@ int
 checker(int code, int lineNumber, char *errorStr)
 {
   if (code < 0) {
-    fprintf(stderr, "Error occured during %s\n", errorStr);
+    fprintf(stderr, "Error occurred during %s\n", errorStr);
     fprintf(stderr, "Error code of %d\n", errno);
     fprintf(stderr, "Error in line number %d of process %d\n", lineNumber, getpid());
     perror("");
--- fricas-1.3.6.orig/src/sman/sman.c
+++ fricas-1.3.6/src/sman/sman.c
@@ -530,7 +530,7 @@ fork_FriCAS(void)
     /* group                                                        */
 
     if(setsid() < 0) {
-      perror("Dissassociating from parents group");
+      perror("Disassociating from parents group");
       exit(-1);
     }
 
