mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- fix build WEBALIZER_LANG=ukrainian
This commit is contained in:
parent
ce9247ef9c
commit
bec7e0dcd1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272982
@ -110,10 +110,6 @@ CONFIGURE_ARGS+= --with-language=${WEBALIZER_LANG}
|
||||
.if ${WEBALIZER_LANG} == japanese
|
||||
EXTRA_PATCHES+= ${FILESDIR}/ja-webalizer.conf-dist.patch
|
||||
.endif
|
||||
.if ${WEBALIZER_LANG} == ukrainian
|
||||
EXTRA_PATCHES+= ${FILESDIR}/uk-lang.h
|
||||
EXTRA_PATCHES+= ${FILESDIR}/uk-output.c
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(WITH_WEBALIZER_CONV)
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- lang.h.orig Thu May 17 19:47:24 2001
|
||||
+++ lang.h Thu May 17 16:42:11 2001
|
||||
@@ -124,6 +124,8 @@
|
||||
extern char *msg_mtot_ms ;
|
||||
extern char *msg_mtot_th ;
|
||||
extern char *msg_mtot_tf ;
|
||||
+extern char *msg_mtot_tp ;
|
||||
+extern char *msg_mtot_tv ;
|
||||
extern char *msg_mtot_tx ;
|
||||
extern char *msg_mtot_us ;
|
||||
extern char *msg_mtot_ur ;
|
@ -1,20 +0,0 @@
|
||||
--- output.c.orig 2008-07-01 00:04:39.000000000 +0200
|
||||
+++ output.c 2008-08-05 21:30:12.000000000 +0200
|
||||
@@ -534,13 +534,13 @@
|
||||
"<TD ALIGN=right COLSPAN=2><FONT SIZE=\"-1\"><B>%llu</B>" \
|
||||
"</FONT></TD></TR>\n",msg_mtot_tf,t_file);
|
||||
/* Total Pages */
|
||||
- fprintf(out_fp,"<TR><TD WIDTH=380><FONT SIZE=\"-1\">%s %s</FONT></TD>\n" \
|
||||
+ fprintf(out_fp,"<TR><TD WIDTH=380><FONT SIZE=\"-1\">%s</FONT></TD>\n" \
|
||||
"<TD ALIGN=right COLSPAN=2><FONT SIZE=\"-1\"><B>%llu</B>" \
|
||||
- "</FONT></TD></TR>\n",msg_h_total, msg_h_pages, t_page);
|
||||
+ "</FONT></TD></TR>\n",msg_mtot_tp, t_page);
|
||||
/* Total Visits */
|
||||
- fprintf(out_fp,"<TR><TD WIDTH=380><FONT SIZE=\"-1\">%s %s</FONT></TD>\n" \
|
||||
+ fprintf(out_fp,"<TR><TD WIDTH=380><FONT SIZE=\"-1\">%s</FONT></TD>\n" \
|
||||
"<TD ALIGN=right COLSPAN=2><FONT SIZE=\"-1\"><B>%llu</B>" \
|
||||
- "</FONT></TD></TR>\n",msg_h_total, msg_h_visits, t_visit);
|
||||
+ "</FONT></TD></TR>\n",msg_mtot_tv, t_visit);
|
||||
/* Total XFer */
|
||||
fprintf(out_fp,"<TR><TD WIDTH=380><FONT SIZE=\"-1\">%s</FONT></TD>\n" \
|
||||
"<TD ALIGN=right COLSPAN=2><FONT SIZE=\"-1\"><B>%.0f</B>" \
|
Loading…
Reference in New Issue
Block a user