Debian Codegraph @

debian/patches/0005-treat-VERSION-as-string.patch

raw symbols SCIP
1 Authorscip-debian debian scythe 0.994+git20141017.20d3cff-5 scythe/patches/`0005-treat-VERSION-as-string.patch`#Author.: Andreas Tille <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Last-Updatescip-debian debian scythe 0.994+git20141017.20d3cff-5 scythe/patches/`0005-treat-VERSION-as-string.patch`#Last-Update.: Thu, 16 Mar 2017 14:19:14 +0100
3 Bug-Debianscip-debian debian scythe 0.994+git20141017.20d3cff-5 scythe/patches/`0005-treat-VERSION-as-string.patch`#Bug-Debian.: https://bugs.debian.org/857900scip-debian-bts debian-bts . . 857900:
4 Descriptionscip-debian debian scythe 0.994+git20141017.20d3cff-5 scythe/patches/`0005-treat-VERSION-as-string.patch`#Description.: Make sure also C-code interprets VERSION as string
5
6 --- a/src/scythe.cscip-debian debian scythe 0.994+git20141017.20d3cff-5 scythe/upstream/`src/scythe.c`:
7 +++ b/src/scythe.cscip-debian debian scythe 0.994+git20141017.20d3cff-5 scythe/upstream/`src/scythe.c`:
8 @@ -30,7 +30,7 @@ static const float default_prior = 0.3;
9 #endif
10
11 #ifndef VERSION
12 -#define VERSION 0.994
13 +#define VERSION "0.994"
14 #endif
15
16 /* Options drawn from GNU's coreutils/src/system.h */
17 @@ -50,11 +50,11 @@ enum {
18 break;
19 #define case_GETOPT_VERSION_CHAR(Program_name, Version, Authors) \
20 case GETOPT_VERSION_CHAR: \
21 - fprintf(stdout, "%s version %0.3f\nCopyright (c) 2011 The Regents " \
22 + fprintf(stdout, "%s version %s\nCopyright (c) 2011 The Regents " \
23 "of University of California, Davis Campus.\n" \
24 "%s is free software and comes with ABSOLUTELY NO WARRANTY.\n" \
25 "Distributed under the MIT License.\n\nWritten by %s\n", \
26 - Program_name, (double) Version, Program_name, Authors); \
27 + Program_name, Version, Program_name, Authors); \
28 exit(EXIT_SUCCESS); \
29 break;
30 /* end code drawn from system.h */