summaryrefslogtreecommitdiff
path: root/sci-mathematics/msieve/files/msieve-1.53-fix-version.patch
blob: eb9a8d7ac2d0fc598207a356d7a39489a50d2556 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"