]> git.pld-linux.org Git - packages/squidview.git/blob - squidview-pld.patch
- up to 0.69
[packages/squidview.git] / squidview-pld.patch
1 diff -Nur old/squidview.cpp new/squidview.cpp
2 --- old/squidview.cpp   2003-11-21 03:25:58.000000000 +0000
3 +++ new/squidview.cpp   2003-11-28 20:58:27.000000000 +0000
4 @@ -41,7 +41,7 @@
5  #ifdef HAVE_CONFIG_H
6  #include <config.h>
7  #else
8 -#  define SHAREDIR "/usr/local/share/squidview"
9 +#  define SHAREDIR "/usr/share/doc/squidview-0.69/"
10  #  define PACKAGE "squidview"
11  #  define VERSION "0.6"
12  #endif
13 @@ -3910,6 +3910,7 @@
14    IOstring ("sRepFocus", sRepFocus);
15    IOstring ("sRepBDTuser", sRepBDTuser);
16    IOstring ("sViewer", sViewer);
17 +  IOstring ("sZipViewer", sZipViewer);
18    IOstring ("sCurrentReport", sCurrentReport);
19    IOstring ("sCurrentEmail", sCurrentEmail);
20    IOint ("iSizeHitGrade", iSizeHitGrade);
21 @@ -3960,7 +3961,7 @@
22      }
23    }
24    else
25 -    RunProgram (sViewer + " " + sHowToLink);
26 +    RunProgram (sZipViewer + " " + sHowToLink);
27  }
28  
29  
30 diff -Nur old/squidview.h new/squidview.h
31 --- old/squidview.h     2003-11-21 03:25:58.000000000 +0000
32 +++ new/squidview.h     2003-11-28 20:55:09.000000000 +0000
33 @@ -76,12 +76,13 @@
34  const char szWordFile[] = "words";         // search words 
35  const char szUsersFile[] = "users";        // list of real names 
36  const char szAliasesFile[] = "aliases";    // map IPs to user names
37 -const char szHowToFile[] = "HOWTO";      // link name 
38 +const char szHowToFile[] = "HOWTO.gz";      // link name 
39  
40  string sLogFile1, sLogFile2, sLogFile3;
41  string sWordFile, sUsersFile, sAliasesFile, sSetFileName, sHowToLink;
42  
43  string sViewer = "less";
44 +string sZipViewer = "zless";
45  string sCurrentReport = "";
46  string sCurrentEmail = "";
47  const string sReportExt = ".txt";
This page took 0.033326 seconds and 4 git commands to generate.