diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /sci-mathematics/msieve/files | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'sci-mathematics/msieve/files')
-rw-r--r-- | sci-mathematics/msieve/files/fix-version.patch | 15 | ||||
-rw-r--r-- | sci-mathematics/msieve/files/reduce-printf.patch | 62 |
2 files changed, 0 insertions, 77 deletions
diff --git a/sci-mathematics/msieve/files/fix-version.patch b/sci-mathematics/msieve/files/fix-version.patch deleted file mode 100644 index 748a7ae8c68c..000000000000 --- a/sci-mathematics/msieve/files/fix-version.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- common/driver.c 2011-05-02 09:10:50.000000000 +0800 -+++ common/driver.c.new 2012-11-30 16:43:59.067925006 +0800 -@@ -191,10 +191,9 @@ - - logprintf(obj, "\n"); - logprintf(obj, "\n"); -- logprintf(obj, "Msieve v. %d.%02d (SVN %s)\n", -+ logprintf(obj, "Msieve v. %d.%02d\n", - MSIEVE_MAJOR_VERSION, -- MSIEVE_MINOR_VERSION, -- MSIEVE_SVN_VERSION); -+ MSIEVE_MINOR_VERSION); - start_time = time(NULL); - if (obj->flags & MSIEVE_FLAG_LOG_TO_STDOUT) { - printf("%s", ctime(&start_time)); diff --git a/sci-mathematics/msieve/files/reduce-printf.patch b/sci-mathematics/msieve/files/reduce-printf.patch deleted file mode 100644 index dad1dc7db8f3..000000000000 --- a/sci-mathematics/msieve/files/reduce-printf.patch +++ /dev/null @@ -1,62 +0,0 @@ -diff -Naur msieve-1.50/common/minimize.c msieve-copy/common/minimize.c ---- msieve-1.50/common/minimize.c 2011-07-04 23:32:33.000000000 +0800 -+++ msieve-copy/common/minimize.c 2012-11-26 23:09:22.889240528 +0800 -@@ -210,7 +210,7 @@ - } - } - -- printf("too many line iterations\n"); -+ //printf("too many line iterations\n"); - *min_out = x; - *status = 1; - return fx; -diff -Naur msieve-1.50/gnfs/poly/stage2/optimize.c msieve-copy/gnfs/poly/stage2/optimize.c ---- msieve-1.50/gnfs/poly/stage2/optimize.c 2011-10-15 23:03:39.000000000 +0800 -+++ msieve-copy/gnfs/poly/stage2/optimize.c 2012-11-26 23:14:36.243232414 +0800 -@@ -390,7 +390,7 @@ - score = minimize(best, num_vars, tol, 40, - objective, &opt_data); - -- printf("i %u score %le\n", i, score); -+ //printf("i %u score %le\n", i, score); - for (j = 0; j <= rotate_dim; j++) { - double cj = floor(best[ROTATE0 + j] + 0.5); - mpz_set_d(c->gmp_help1, cj); -@@ -422,7 +422,7 @@ - tol = 1e-5; - score = ifs_rectangular(apoly.coeff, apoly.degree, - best[SKEWNESS]); -- printf("transition score %le\n", score); -+ //printf("transition score %le\n", score); - } - } - -@@ -430,9 +430,9 @@ - #if 0 - printf("norm %.7e skew %lf\n", *pol_norm, best[SKEWNESS]); - for (i = 0; i < 2; i++) -- gmp_printf("%+Zd\n", c->gmp_lina[i]); -+ //gmp_printf("%+Zd\n", c->gmp_lina[i]); - for (i = 0; i <= deg; i++) -- gmp_printf("%+Zd\n", c->gmp_a[i]); -+ //gmp_printf("%+Zd\n", c->gmp_a[i]); - #endif - } - -diff -Naur msieve-1.50/gnfs/poly/stage2/stage2.c msieve-copy/gnfs/poly/stage2/stage2.c ---- msieve-1.50/gnfs/poly/stage2/stage2.c 2011-10-09 09:32:49.000000000 +0800 -+++ msieve-copy/gnfs/poly/stage2/stage2.c 2012-11-26 23:14:30.894232552 +0800 -@@ -122,10 +122,10 @@ - } - - #if 0 -- gmp_printf("%+Zd\n", c->gmp_lina[0]); -- gmp_printf("%+Zd\n", c->gmp_lina[1]); -+ //gmp_printf("%+Zd\n", c->gmp_lina[0]); -+ //gmp_printf("%+Zd\n", c->gmp_lina[1]); - for (i = 0; i <= degree; i++) -- gmp_printf("%+Zd\n", c->gmp_a[i]); -+ //gmp_printf("%+Zd\n", c->gmp_a[i]); - - printf("coeff ratio = %.5lf\n", - fabs(mpz_get_d(c->gmp_a[degree-2])) / coeff_bound); |