[singular] 02/03: Correct spelling-error-in-binary as detected by Lintian

Jerome Benoit calculus-guest at moszumanska.debian.org
Wed Nov 9 16:24:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

calculus-guest pushed a commit to branch stretch
in repository singular.

commit 6a76290c9bf4ea0cfd5d13ad3c748fbb939b3af8
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Wed Nov 9 15:42:52 2016 +0000

    Correct spelling-error-in-binary as detected by Lintian
---
 debian/changelog                                   |  5 +-
 .../upstream-lintian-spelling-error-silence.patch  | 54 ++++++++++++++++++++--
 2 files changed, 53 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1a0473b..1b73967 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,10 @@
 singular (1:4.0.3-p3+ds-4) UNRELEASED; urgency=medium
 
   * Debianization:
-    - debian/gbp.conf, revisit (default debian-branch: unstable).
+    - debian/gbp.conf, revisit (default debian-branch: unstable);
+    - debian/patches/upstream-lintian-spelling-error-silence.patch, refresh.
 
- -- Jerome Benoit <calculus at rezozer.net>  Wed, 09 Nov 2016 15:00:47 +0000
+ -- Jerome Benoit <calculus at rezozer.net>  Wed, 09 Nov 2016 15:39:11 +0000
 
 singular (1:4.0.3-p3+ds-3) unstable; urgency=medium
 
diff --git a/debian/patches/upstream-lintian-spelling-error-silence.patch b/debian/patches/upstream-lintian-spelling-error-silence.patch
index 3b702d4..9855500 100644
--- a/debian/patches/upstream-lintian-spelling-error-silence.patch
+++ b/debian/patches/upstream-lintian-spelling-error-silence.patch
@@ -1,12 +1,10 @@
 Description: source typo
  Correct spelling error as reported by lintian in some binraries;
- meant to silence lintian and eventually to be submitted to the
- upstream maintainer.
+ meant to silence lintian.
 Origin: debian
-Forwarded: WIP
 Comment: spelling-error-in-binary
 Author: Jerome Benoit <calculus at rezozer.net>
-Last-Update: 2016-08-21
+Last-Update: 2016-11-09
 
 --- a/kernel/numeric/mpr_base.cc
 +++ b/kernel/numeric/mpr_base.cc
@@ -19,3 +17,51 @@ Last-Update: 2016-08-21
          return -1;
        }
        bucket[optSum[c].set]++;
+--- a/kernel/combinatorics/hilb.cc
++++ b/kernel/combinatorics/hilb.cc
+@@ -68,7 +68,7 @@
+     {
+       if (z>(MAX_INT_VAL)/2)
+       {
+-       WerrorS("interal arrays too big");
++       WerrorS("internal arrays too big");
+        return;
+       }
+       p = (int *)omAlloc((unsigned long)z * sizeof(int));
+--- a/factory/NTLconvert.cc
++++ b/factory/NTLconvert.cc
+@@ -205,10 +205,10 @@
+     if (!i.coeff().isImm())
+     {
+       #ifndef NOSTREAMIO
+-      cout<<"convertFacCF2NTLGF2X: coefficient not immidiate! : " << f << "\n";
++      cout<<"convertFacCF2NTLGF2X: coefficient not immediate! : " << f << "\n";
+       #else
+       //NTL_SNS
+-      printf("convertFacCF2NTLGF2X: coefficient not immidiate!");
++      printf("convertFacCF2NTLGF2X: coefficient not immediate!");
+       #endif
+       NTL_SNS exit(1);
+     }
+--- a/libpolys/coeffs/longrat.h
++++ b/libpolys/coeffs/longrat.h
+@@ -105,7 +105,7 @@
+   n_Test(q, r);
+ 
+   if (SR_HDL(q) & SR_INT)
+-    return TRUE; // immidiate int
++    return TRUE; // immediate int
+ 
+   return ( q->s == 3 );
+ }
+--- a/libpolys/coeffs/longrat.cc
++++ b/libpolys/coeffs/longrat.cc
+@@ -576,7 +576,7 @@
+   if (a==INT_TO_SR(0))
+      return 0; /* rational 0*/
+   if (SR_HDL(a) & SR_INT)
+-     return 1; /* immidiate int */
++     return 1; /* immediate int */
+   int s=a->z[0]._mp_alloc;
+ //  while ((s>0) &&(a->z._mp_d[s]==0L)) s--;
+ //#if SIZEOF_LONG == 8

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/singular.git



More information about the debian-science-commits mailing list