Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 740286 Details for
Bug 779016
app-admin/webalizer-2.23.08[xtended] fails with multiple definition of `resp_counter'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Additional GCC 10 fix
webalizer-fix-gcc10.patch (text/plain), 2.63 KB, created by
Vladislav Dudar
on 2021-09-20 11:16:33 UTC
(
hide
)
Description:
Additional GCC 10 fix
Filename:
MIME Type:
Creator:
Vladislav Dudar
Created:
2021-09-20 11:16:33 UTC
Size:
2.63 KB
patch
obsolete
>Additional fix to get Webalizer to compile under GCC 10. Untested - what does this program even do? >Index: webalizer-2.23-08/output.c >=================================================================== >--- webalizer-2.23-08.orig/output.c >+++ webalizer-2.23-08/output.c >@@ -65,6 +65,9 @@ > #include "graphs.h" > #include "output.h" > >+extern struct response_url * respnotfound; >+extern struct responsetmp_url * respnotfoundtmp; >+extern u_long resp_counter; /* total 404 counter */ > /* internal function prototypes */ > void write_html_head(char *, FILE *); /* head of html page */ > void write_html_tail(FILE *); /* tail of html page */ >Index: webalizer-2.23-08/preserve.c >=================================================================== >--- webalizer-2.23-08.orig/preserve.c >+++ webalizer-2.23-08/preserve.c >@@ -57,6 +57,8 @@ > #include "preserve.h" > > struct hist_rec hist[HISTSIZE]; /* history structure array */ >+extern u_long resp_counter; /* total 404 counter */ >+extern struct response_url * respnotfound; > > /*********************************************/ > /* GET_HISTORY - load in history file */ >Index: webalizer-2.23-08/webalizer.c >=================================================================== >--- webalizer-2.23-08.orig/webalizer.c >+++ webalizer-2.23-08/webalizer.c >@@ -111,6 +111,9 @@ int isipaddr(char *); > /* GLOBAL VARIABLES */ > /*********************************************/ > >+struct response_url * respnotfound; >+struct responsetmp_url * respnotfoundtmp; >+u_long resp_counter; /* total 404 counter */ > char *version = "2.23"; /* program version */ > char *editlvl = "08"; /* edit level */ > char *moddate = "26-Aug-2013"; /* modification date */ >Index: webalizer-2.23-08/webalizer.h >=================================================================== >--- webalizer-2.23-08.orig/webalizer.h >+++ webalizer-2.23-08/webalizer.h >@@ -144,11 +144,8 @@ struct response_code { char *desc > /* Response URL structure */ > struct response_url { char respurl[MAXURLH]; /* resp url struct */ > u_long count; }; >-struct response_url * respnotfound; > struct responsetmp_url { char respurl[MAXURLH]; /* temp resp url struct */ > u_long count; }; >-struct responsetmp_url * respnotfoundtmp; >-u_long resp_counter; /* total 404 counter */ > > /* Country code structure */ > struct country_code {u_int64_t idx; /* TLD index number */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 779016
:
695736
| 740286