You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-mathematics/msieve/files/msieve-1.53-fix-version.patch

34 lines
1.1 KiB

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"