diff options
Diffstat (limited to 'sci-mathematics/msieve/files/msieve-1.53-fix-version.patch')
-rw-r--r-- | sci-mathematics/msieve/files/msieve-1.53-fix-version.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sci-mathematics/msieve/files/msieve-1.53-fix-version.patch b/sci-mathematics/msieve/files/msieve-1.53-fix-version.patch new file mode 100644 index 000000000000..eb9a8d7ac2d0 --- /dev/null +++ b/sci-mathematics/msieve/files/msieve-1.53-fix-version.patch @@ -0,0 +1,33 @@ +diff --git a/common/driver.c b/common/driver.c +index ffecfa9..3e1da78 100644 +--- a/common/driver.c ++++ b/common/driver.c +@@ -189,10 +189,9 @@ void msieve_run(msieve_obj *obj) { + + 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/demo.c b/demo.c +index a882732..ec3e869 100644 +--- a/demo.c ++++ b/demo.c +@@ -81,9 +81,8 @@ void get_random_seeds(uint32 *seed1, uint32 *seed2) { + /*--------------------------------------------------------------------*/ + void print_usage(char *progname) { + +- printf("\nMsieve v. %d.%02d (SVN %s)\n", MSIEVE_MAJOR_VERSION, +- MSIEVE_MINOR_VERSION, +- MSIEVE_SVN_VERSION); ++ printf("\nMsieve v. %d.%02d\n", MSIEVE_MAJOR_VERSION, ++ MSIEVE_MINOR_VERSION); + + printf("\nusage: %s [options] [one_number]\n", progname); + printf("\nnumbers starting with '0' are treated as octal,\n" |