File fix-compile.patch of Package webalizer

--- webalizer.h.orig	2021-03-25 10:45:37.234044844 +0100
+++ webalizer.h	2021-03-25 10:46:00.034254345 +0100
@@ -144,11 +144,11 @@
 /* Response URL structure */
 struct response_url { char respurl[MAXURLH];       /* resp url struct       */
 			u_long    count; };
-struct response_url * respnotfound;
+extern 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     */
+extern struct responsetmp_url * respnotfoundtmp;
+extern u_long resp_counter;                               /* total 404 counter     */
 
 /* Country code structure */
 struct	country_code {u_int64_t idx;              /* TLD index number     */
--- webalizer.c.orig	2021-03-25 10:45:40.898078508 +0100
+++ webalizer.c	2021-03-25 10:46:24.146475909 +0100
@@ -111,6 +111,10 @@
 /* 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        */
openSUSE Build Service is sponsored by