Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/msieve/files: fix-version.patch fix-version2.patch
Date: Fri, 30 Nov 2012 08:52:18
Message-Id: 20121130085208.00E3F20C9F@flycatcher.gentoo.org
1 patrick 12/11/30 08:52:07
2
3 Added: fix-version.patch fix-version2.patch
4 Log:
5 Fix displayed versioning
6
7 (Portage version: 2.2.0_alpha143/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.1 sci-mathematics/msieve/files/fix-version.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/msieve/files/fix-version.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/msieve/files/fix-version.patch?rev=1.1&content-type=text/plain
14
15 Index: fix-version.patch
16 ===================================================================
17 --- common/driver.c 2011-05-02 09:10:50.000000000 +0800
18 +++ common/driver.c.new 2012-11-30 16:43:59.067925006 +0800
19 @@ -191,10 +191,9 @@
20
21 logprintf(obj, "\n");
22 logprintf(obj, "\n");
23 - logprintf(obj, "Msieve v. %d.%02d (SVN %s)\n",
24 + logprintf(obj, "Msieve v. %d.%02d\n",
25 MSIEVE_MAJOR_VERSION,
26 - MSIEVE_MINOR_VERSION,
27 - MSIEVE_SVN_VERSION);
28 + MSIEVE_MINOR_VERSION);
29 start_time = time(NULL);
30 if (obj->flags & MSIEVE_FLAG_LOG_TO_STDOUT) {
31 printf("%s", ctime(&start_time));
32
33
34
35 1.1 sci-mathematics/msieve/files/fix-version2.patch
36
37 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/msieve/files/fix-version2.patch?rev=1.1&view=markup
38 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/msieve/files/fix-version2.patch?rev=1.1&content-type=text/plain
39
40 Index: fix-version2.patch
41 ===================================================================
42 --- demo.c 2011-11-25 00:25:28.000000000 +0800
43 +++ demo.c.new 2012-11-30 16:46:50.417333847 +0800
44 @@ -81,9 +81,8 @@
45 /*--------------------------------------------------------------------*/
46 void print_usage(char *progname) {
47
48 - printf("\nMsieve v. %d.%02d (SVN %s)\n", MSIEVE_MAJOR_VERSION,
49 - MSIEVE_MINOR_VERSION,
50 - MSIEVE_SVN_VERSION);
51 + printf("\nMsieve v. %d.%02d\n", MSIEVE_MAJOR_VERSION,
52 + MSIEVE_MINOR_VERSION);
53
54 printf("\nusage: %s [options] [one_number]\n", progname);
55 printf("\nnumbers starting with '0' are treated as octal,\n"