diff options
| author | Yen-Ming Lee <leeym@FreeBSD.org> | 2006-12-19 01:27:09 +0000 |
|---|---|---|
| committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2006-12-19 01:27:09 +0000 |
| commit | c417b0776e1bfbfa293728e5bf8bbf9b62194d6e (patch) | |
| tree | a3f920a43c3f6418c49126156a87cf7e229ceab0 /www/squidguard/files/patch-src_main.c | |
| parent | - Update to snapshot 5556 (diff) | |
- utilize USE_BDB
PR: 89023
Notes
Notes:
svn path=/head/; revision=180111
Diffstat (limited to 'www/squidguard/files/patch-src_main.c')
| -rw-r--r-- | www/squidguard/files/patch-src_main.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/squidguard/files/patch-src_main.c b/www/squidguard/files/patch-src_main.c new file mode 100644 index 000000000000..29e243171aa8 --- /dev/null +++ b/www/squidguard/files/patch-src_main.c @@ -0,0 +1,14 @@ +--- src/main.c.orig Thu Jun 14 01:56:54 2001 ++++ src/main.c Sun Jan 1 17:04:13 2006 +@@ -108,7 +108,11 @@ + globalUpdate = 1; + break; + case 'v': ++#if DB_VERSION_MAJOR * 10 + DB_VERSION_MINOR == 42 ++ fprintf(stderr, "SquidGuard: %s %s\n", VERSION,db_version_4002(NULL,NULL,NULL)); ++#else + fprintf(stderr, "SquidGuard: %s %s\n", VERSION,db_version(NULL,NULL,NULL)); ++#endif + exit(0); + break; + case 't': |
