mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 17:32:57 +02:00
sarg: update to 2.3.11 (needed for gcc-7)
This commit is contained in:
committed by
Michael Tremer
parent
f205319ca0
commit
eaec148fd8
39
src/patches/sarg/sarg-2.3.11-format.patch
Normal file
39
src/patches/sarg/sarg-2.3.11-format.patch
Normal file
@@ -0,0 +1,39 @@
|
||||
diff -Naur sarg-2.3.11.org/index.c sarg-2.3.11/index.c
|
||||
--- sarg-2.3.11.org/index.c 2018-01-14 19:00:22.000000000 +0100
|
||||
+++ sarg-2.3.11/index.c 2018-01-24 14:38:19.746338020 +0100
|
||||
@@ -89,9 +89,9 @@
|
||||
char monthdir[MAXLEN];
|
||||
char monthname1[9], monthname2[9];
|
||||
char nmonth[30];
|
||||
- char monthnum[10];
|
||||
+ char monthnum[15];
|
||||
char dayindex[MAXLEN];
|
||||
- char daynum[10];
|
||||
+ char daynum[15];
|
||||
char title[80];
|
||||
int yearsort[150];
|
||||
int nyears;
|
||||
diff -Naur sarg-2.3.11.org/report.c sarg-2.3.11/report.c
|
||||
--- sarg-2.3.11.org/report.c 2018-01-14 19:00:23.000000000 +0100
|
||||
+++ sarg-2.3.11/report.c 2018-01-24 14:38:19.742337939 +0100
|
||||
@@ -54,7 +54,7 @@
|
||||
char accsmart[MAXLEN];
|
||||
char crc2[MAXLEN/2 -1];
|
||||
char siteind[MAX_TRUNCATED_URL];
|
||||
- char arqtt[256];
|
||||
+ char arqtt[MAX_USER_FNAME_LEN * 2 + MAXLEN + 10];
|
||||
char *oldurltt=NULL;
|
||||
char oldaccdiatt[11],oldacchoratt[9];
|
||||
char tmp3[MAXLEN];
|
||||
diff -Naur sarg-2.3.11.org/userinfo.c sarg-2.3.11/userinfo.c
|
||||
--- sarg-2.3.11.org/userinfo.c 2013-06-01 20:02:04.000000000 +0200
|
||||
+++ sarg-2.3.11/userinfo.c 2018-01-24 14:38:19.746338020 +0100
|
||||
@@ -67,7 +67,7 @@
|
||||
int skip;
|
||||
int flen;
|
||||
int count, clen;
|
||||
- char cstr[9];
|
||||
+ char cstr[10];
|
||||
|
||||
last=NULL;
|
||||
for (group=first_user_group ; group ; group=group->next) {
|
||||
Reference in New Issue
Block a user