sci-mathematics/msieve: remove unused patches
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Thu, 2 Feb 2017 17:57:25 +0000 (18:57 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 3 Feb 2017 08:03:21 +0000 (09:03 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3778

sci-mathematics/msieve/files/reduce-printf2.patch [deleted file]
sci-mathematics/msieve/files/reduce-printf3.patch [deleted file]

diff --git a/sci-mathematics/msieve/files/reduce-printf2.patch b/sci-mathematics/msieve/files/reduce-printf2.patch
deleted file mode 100644 (file)
index fdaa344..0000000
+++ /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 (file)
index dedadde..0000000
+++ /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);