man-db 2.7.6.1
[git/cygwin-packages/man-db.git] / 2.7.4-shared-libmandb.patch
1 --- origsrc/man-db-2.7.4/libdb/db_ver.c 2015-04-08 04:23:25.000000000 -0500
2 +++ src/man-db-2.7.4/libdb/db_ver.c 2015-10-08 21:17:15.986955600 -0500
3 @@ -37,6 +37,8 @@
4
5 #include "mydbm.h"
6
7 +char *database = NULL;
8 +
9 int dbver_rd (MYDBM_FILE dbfile)
10 {
11 datum key, content;
12 --- origsrc/man-db-2.7.4/src/accessdb.c 2015-04-08 04:23:25.000000000 -0500
13 +++ src/man-db-2.7.4/src/accessdb.c 2015-10-08 21:18:29.661811100 -0500
14 @@ -49,9 +49,6 @@
15 char *program_name;
16 const char *cat_root;
17
18 -/* for db_storage.c */
19 -char *database;
20 -
21 const char *argp_program_version = "accessdb " PACKAGE_VERSION;
22 const char *argp_program_bug_address = PACKAGE_BUGREPORT;
23 error_t argp_err_exit_status = FAIL;
24 --- origsrc/man-db-2.7.4/src/catman.c 2015-04-08 04:23:25.000000000 -0500
25 +++ src/man-db-2.7.4/src/catman.c 2015-10-08 21:18:33.018237300 -0500
26 @@ -85,7 +85,6 @@ int quiet = 1;
27 MYDBM_FILE dbf_close_post_fork;
28 char *manp;
29 extern char *user_config_file;
30 -char *database;
31 static const char **sections;
32
33 const char *argp_program_version = "catman " PACKAGE_VERSION;
34 --- origsrc/man-db-2.7.4/src/man.c 2015-10-07 19:44:31.000000000 -0500
35 +++ src/man-db-2.7.4/src/man.c 2015-10-08 21:18:45.220786900 -0500
36 @@ -189,7 +189,6 @@ static char *manpathlist[MAXDIRS];
37 /* globals */
38 int quiet = 1;
39 char *program_name;
40 -char *database = NULL;
41 extern const char *extension; /* for globbing.c */
42 extern char *user_config_file; /* defined in manp.c */
43 extern int disable_cache;
44 --- origsrc/man-db-2.7.4/src/mandb.c 2015-09-22 08:15:30.000000000 -0500
45 +++ src/man-db-2.7.4/src/mandb.c 2015-10-08 21:18:52.547217200 -0500
46 @@ -76,7 +76,6 @@ char *program_name;
47 int quiet = 1;
48 extern int opt_test; /* don't update db */
49 char *manp;
50 -char *database = NULL;
51 extern char *extension; /* for globbing.c */
52 extern int force_rescan; /* for check_mandirs.c */
53 static char *single_filename = NULL;
54 --- origsrc/man-db-2.7.4/src/whatis.c 2015-04-08 04:23:25.000000000 -0500
55 +++ src/man-db-2.7.4/src/whatis.c 2015-10-08 21:18:59.648619000 -0500
56 @@ -85,7 +85,6 @@ static int num_keywords;
57
58 char *program_name;
59 int am_apropos;
60 -char *database;
61 int quiet = 1;
62
63 #ifdef HAVE_ICONV
This page took 0.036138 seconds and 5 git commands to generate.