summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-02-02 18:57:25 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-03 09:03:21 +0100
commit854c4e81dbae56276cf2984aab83eb1a8b249148 (patch)
tree2656d51956d24097c70cae8134780d30db10624d /sci-mathematics/msieve
parentmedia-libs/opencollada: Remove expat support. (diff)
downloadgentoo-854c4e81dbae56276cf2984aab83eb1a8b249148.tar.gz
gentoo-854c4e81dbae56276cf2984aab83eb1a8b249148.tar.bz2
gentoo-854c4e81dbae56276cf2984aab83eb1a8b249148.zip
sci-mathematics/msieve: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/3778
Diffstat (limited to 'sci-mathematics/msieve')
-rw-r--r--sci-mathematics/msieve/files/reduce-printf2.patch52
-rw-r--r--sci-mathematics/msieve/files/reduce-printf3.patch31
2 files changed, 0 insertions, 83 deletions
diff --git a/sci-mathematics/msieve/files/reduce-printf2.patch b/sci-mathematics/msieve/files/reduce-printf2.patch
deleted file mode 100644
index fdaa344a3a07..000000000000
--- a/sci-mathematics/msieve/files/reduce-printf2.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- gnfs/poly/stage2/root_sieve_deg45_x.c 2011-08-23 20:59:59.000000000 +0800
-+++ gnfs/poly/stage2/root_sieve_deg45_x.c.new 2012-11-30 17:09:22.553116526 +0800
- return;
- }
-
-@@ -585,7 +585,7 @@
- if (obj->flags & MSIEVE_FLAG_STOP_SIEVING)
- break;
- }
-- printf("\n");
-+ printf(",");
- }
-
- /*-------------------------------------------------------------------------*/
-@@ -604,7 +604,7 @@
- xline_heap_t xline_heap;
- uint32 cutoff_score;
-
-- printf("L %u\n", (uint32)lattice_size);
-+ /* printf("L %u\n", (uint32)lattice_size); */
-
- mpz_set_ui(xy->y_base, (unsigned long)0);
- xy->y_blocks = 0;
-@@ -621,7 +621,7 @@
- x->x_blocks = line_max - line_min;
- x->curr_score = 0;
- root_sieve_line(rs);
-- printf("\n");
-+ printf("_");
- return;
- }
-
-@@ -664,5 +664,5 @@
- break;
- }
-
-- printf("\n");
-+ printf("*");
- }
---- gnfs/poly/stage2/root_sieve_deg5_xy.c 2011-07-15 09:49:00.000000000 +0800
-+++ gnfs/poly/stage2/root_sieve_deg5_xy.c.new 2012-11-30 17:09:51.462454813 +0800
-@@ -290,8 +290,8 @@
- }
- xy->y_blocks = y_blocks;
-
-- printf("\n%.0lf %u %u\n", (double)lattice_size,
-- y_blocks, num_lattices);
-+ /* printf("\n%.0lf %u %u\n", (double)lattice_size,
-+ y_blocks, num_lattices); */
-
- sieve_x_run_deg5(rs);
- }
diff --git a/sci-mathematics/msieve/files/reduce-printf3.patch b/sci-mathematics/msieve/files/reduce-printf3.patch
deleted file mode 100644
index dedadde51d42..000000000000
--- a/sci-mathematics/msieve/files/reduce-printf3.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- gnfs/poly/poly_skew.c 2011-12-23 03:48:49.000000000 +0800
-+++ gnfs/poly/poly_skew.c.new 2012-11-30 17:14:29.802747785 +0800
-@@ -221,7 +221,7 @@
- static void stage1_callback(mpz_t high_coeff, mpz_t p, mpz_t m,
- double coeff_bound, void *extra) {
-
-- gmp_printf("%Zd %Zd %Zd\n", high_coeff, p, m);
-+ /* gmp_printf("%Zd %Zd %Zd\n", high_coeff, p, m); */
- poly_stage2_run((poly_stage2_t *)extra, high_coeff, p, m,
- coeff_bound, NULL);
- }
-@@ -231,7 +231,7 @@
- double coeff_bound, void *extra) {
-
- FILE *mfile = (FILE *)extra;
-- gmp_printf("%Zd %Zd %Zd\n", high_coeff, p, m);
-+ /* gmp_printf("%Zd %Zd %Zd\n", high_coeff, p, m); */
- gmp_fprintf(mfile, "%Zd %Zd %Zd\n",
- high_coeff, p, m);
- fflush(mfile);
---- gnfs/poly/stage2/root_sieve_line.c 2011-11-25 00:25:28.000000000 +0800
-+++ gnfs/poly/stage2/root_sieve_line.c.new 2012-11-30 17:18:19.887475567 +0800
-@@ -402,7 +402,7 @@
- uint32 num_primes = rs->num_primes;
- uint16 *block = rs->sieve_block;
-
-- printf("%u ", num_blocks); fflush(stdout);
-+ /* printf("%u ", num_blocks); fflush(stdout); */
-
- if (mpz_cmp_ui(x->mp_lattice_size, 1) == 0)
- prepare_sieve_line(rs);