[libntl] 07/12: Refreshed the patch for typos

Julien Puydt julien.puydt at laposte.net
Wed Aug 30 20:27:45 UTC 2017


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

jpuydt-guest pushed a commit to branch master
in repository libntl.

commit 175810d429b39a48914eb92a0c07d84e5249eef3
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Wed Aug 30 21:40:20 2017 +0200

    Refreshed the patch for typos
---
 debian/changelog                    |  1 +
 debian/patches/0002-Fix-typos.patch | 22 +++++++++-------------
 2 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1f848a7..1c510a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ ntl (10.5.0-1) UNRELEASED; urgency=medium
   * Bump std-ver to 4.0.1.
   * Bump d/watch to version 4.
   * Remove obsolete patch (MIPS and gcc 4.5)
+  * Refresh the patch for typos.
 
  -- Julien Puydt <julien.puydt at laposte.net>  Wed, 30 Aug 2017 21:30:38 +0200
 
diff --git a/debian/patches/0002-Fix-typos.patch b/debian/patches/0002-Fix-typos.patch
index b2d3688..1608085 100644
--- a/debian/patches/0002-Fix-typos.patch
+++ b/debian/patches/0002-Fix-typos.patch
@@ -4,15 +4,13 @@ Date: Wed, 1 Jun 2016 17:01:14 +0200
 Subject: Fix typos
 
 ---
- src/FFT.c   | 2 +-
- src/ZZ_pX.c | 2 +-
+ src/FFT.cpp   | 2 +-
+ src/ZZ_pX.cpp | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/src/FFT.c b/src/FFT.c
-index f49e4ff..7f9f91b 100644
---- a/src/FFT.c
-+++ b/src/FFT.c
-@@ -479,7 +479,7 @@ SmartPtr<zz_pInfoT> Build_zz_pInfo(FFTPrimeInfo *info) { return 0; }
+--- a/src/FFT.cpp
++++ b/src/FFT.cpp
+@@ -484,7 +484,7 @@
  
  void UseFFTPrime(long index)
  {
@@ -20,12 +18,10 @@ index f49e4ff..7f9f91b 100644
 +   if (index < 0) LogicError("invalid FFT prime index");
     if (index >= NTL_MAX_FFTPRIMES) ResourceError("FFT prime index too large");
  
-    do {  // NOTE: thread safe lazy init
-diff --git a/src/ZZ_pX.c b/src/ZZ_pX.c
-index 3e7c23c..4b09716 100644
---- a/src/ZZ_pX.c
-+++ b/src/ZZ_pX.c
-@@ -3107,7 +3107,7 @@ void rem(ZZ_pX& x, const ZZ_pX& a, const ZZ_pXModulus& F)
+    if (index+1 >= NTL_NSP_BOUND) ResourceError("FFT prime index too large");
+--- a/src/ZZ_pX.cpp
++++ b/src/ZZ_pX.cpp
+@@ -3102,7 +3102,7 @@
     long da = deg(a);
     long n = F.n;
  

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



More information about the debian-science-commits mailing list