]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/sarg/sarg-2.3.11-format.patch
sarg: update to 2.3.11 (needed for gcc-7)
[ipfire-2.x.git] / src / patches / sarg / sarg-2.3.11-format.patch
CommitLineData
eaec148f
AF
1diff -Naur sarg-2.3.11.org/index.c sarg-2.3.11/index.c
2--- sarg-2.3.11.org/index.c 2018-01-14 19:00:22.000000000 +0100
3+++ sarg-2.3.11/index.c 2018-01-24 14:38:19.746338020 +0100
4@@ -89,9 +89,9 @@
5 char monthdir[MAXLEN];
6 char monthname1[9], monthname2[9];
7 char nmonth[30];
8- char monthnum[10];
9+ char monthnum[15];
10 char dayindex[MAXLEN];
11- char daynum[10];
12+ char daynum[15];
13 char title[80];
14 int yearsort[150];
15 int nyears;
16diff -Naur sarg-2.3.11.org/report.c sarg-2.3.11/report.c
17--- sarg-2.3.11.org/report.c 2018-01-14 19:00:23.000000000 +0100
18+++ sarg-2.3.11/report.c 2018-01-24 14:38:19.742337939 +0100
19@@ -54,7 +54,7 @@
20 char accsmart[MAXLEN];
21 char crc2[MAXLEN/2 -1];
22 char siteind[MAX_TRUNCATED_URL];
23- char arqtt[256];
24+ char arqtt[MAX_USER_FNAME_LEN * 2 + MAXLEN + 10];
25 char *oldurltt=NULL;
26 char oldaccdiatt[11],oldacchoratt[9];
27 char tmp3[MAXLEN];
28diff -Naur sarg-2.3.11.org/userinfo.c sarg-2.3.11/userinfo.c
29--- sarg-2.3.11.org/userinfo.c 2013-06-01 20:02:04.000000000 +0200
30+++ sarg-2.3.11/userinfo.c 2018-01-24 14:38:19.746338020 +0100
31@@ -67,7 +67,7 @@
32 int skip;
33 int flen;
34 int count, clen;
35- char cstr[9];
36+ char cstr[10];
37
38 last=NULL;
39 for (group=first_user_group ; group ; group=group->next) {