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

Index: fricas-1.3.7/config/var-def.mk
===================================================================
--- fricas-1.3.7.orig/config/var-def.mk
+++ fricas-1.3.7/config/var-def.mk
@@ -53,6 +53,7 @@ datadir = @datadir@
 AR = @AR@
 CC = @CC@
 CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
 OBJEXT = @OBJEXT@
 EXEEXT = @EXEEXT@
 
Index: fricas-1.3.7/contrib/texmacs/fricas/doc/fricas-demo.en.tm
===================================================================
--- fricas-1.3.7.orig/contrib/texmacs/fricas/doc/fricas-demo.en.tm
+++ fricas-1.3.7/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>
Index: fricas-1.3.7/pre-generated/target/algebra/browse.daase
===================================================================
--- fricas-1.3.7.orig/pre-generated/target/algebra/browse.daase
+++ fricas-1.3.7/pre-generated/target/algebra/browse.daase
@@ -3966,7 +3966,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}."))
Index: fricas-1.3.7/src/algebra/derham.spad
===================================================================
--- fricas-1.3.7.orig/src/algebra/derham.spad
+++ fricas-1.3.7/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.
 
Index: fricas-1.3.7/src/algebra/fs2ups.spad
===================================================================
--- fricas-1.3.7.orig/src/algebra/fs2ups.spad
+++ fricas-1.3.7/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]]
 
Index: fricas-1.3.7/src/interp/foam_l.lisp
===================================================================
--- fricas-1.3.7.orig/src/interp/foam_l.lisp
+++ fricas-1.3.7/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")
Index: fricas-1.3.7/src/lib/util.c
===================================================================
--- fricas-1.3.7.orig/src/lib/util.c
+++ fricas-1.3.7/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("");
Index: fricas-1.3.7/src/sman/sman.c
===================================================================
--- fricas-1.3.7.orig/src/sman/sman.c
+++ fricas-1.3.7/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);
     }
 
