[fplll] 03/03: Add upstream patch to fix typos
Julien Puydt
julien.puydt at laposte.net
Wed Nov 8 06:23:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository fplll.
commit c46a0ce48b1ee1f5f8a3ba751ba774e9c87f3bc2
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Wed Nov 8 07:20:20 2017 +0100
Add upstream patch to fix typos
---
debian/changelog | 1 +
debian/patches/fix_typos.patch | 43 ++++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 45 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 7a9131e..5edc028 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ fplll (5.2.0-1) UNRELEASED; urgency=medium
* Remove the test pruner patch : obsolete (upstream improved the code).
* Refresh the patch for versioned strategy paths.
* Follow upstream soname bump from 3 to 4.
+ * Add upstream patch to fix typos.
-- Julien Puydt <julien.puydt at laposte.net> Thu, 14 Sep 2017 06:48:31 +0200
diff --git a/debian/patches/fix_typos.patch b/debian/patches/fix_typos.patch
new file mode 100644
index 0000000..a91d395
--- /dev/null
+++ b/debian/patches/fix_typos.patch
@@ -0,0 +1,43 @@
+Description: fix typos
+Author: Laurent Grémy
+Forwarded: upstream commit 183798fb40dc487479a5df068053e750b5f11da6
+
+diff --git a/fplll/main.cpp b/fplll/main.cpp
+--- a/fplll/main.cpp
++++ b/fplll/main.cpp
+@@ -20,7 +20,7 @@
+
+ template <class ZT> int lll(Options &o, ZZ_mat<ZT> &b)
+ {
+- // Stupid intialization of u and u_inv to be not empty.
++ // Stupid initialization of u and u_inv to be not empty.
+ ZZ_mat<ZT> u(1, 1), u_inv(1, 1);
+ const char *format = o.output_format ? o.output_format : "b";
+ int status, flags = 0;
+@@ -114,7 +114,7 @@ template <> int bkz(Options &o, ZZ_mat<mpz_t> &b)
+ }
+
+ BKZParam param(o.block_size, strategies);
+- // Stupid intialization of u to be not empty.
++ // Stupid initialization of u to be not empty.
+ ZZ_mat<mpz_t> u(1, 1);
+ const char *format = o.output_format ? o.output_format : "b";
+ int status;
+@@ -522,7 +522,7 @@ void read_options(int argc, char **argv, Options &o)
+ << " -v\n"
+ << " Enable verbose mode\n"
+ << " -nolll\n"
+- << " Does not apply intial LLL-reduction (for bkz, hkz and svp)\n"
++ << " Does not apply initial LLL-reduction (for bkz, hkz and svp)\n"
+ << " -c <size>\n"
+ << " Was the number of columns (ignored)\n"
+ << " -r <size>\n"
+@@ -563,7 +563,7 @@ void read_options(int argc, char **argv, Options &o)
+ << " -of [bcstuv]\n"
+ << " Output formats.\n"
+
+- << "Please refer to https://github.com/fplll/fplll/README.md for more informations.\n";
++ << "Please refer to https://github.com/fplll/fplll/README.md for more information.\n";
+ exit(0);
+ }
+ else if (strcmp(argv[ac], "--version") == 0)
diff --git a/debian/patches/series b/debian/patches/series
index 104b9a3..7448770 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
versioned_strategies_path
+fix_typos.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/fplll.git
More information about the debian-science-commits
mailing list