summaryrefslogtreecommitdiff
path: root/german/webalizer2/files/patch-ad
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-05-29 20:01:19 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-05-29 20:01:19 +0000
commit2ed7e49c3976f89faa2d0d3354277a60715d0d7a (patch)
tree00c19d2bbf5b9cdd21d61d2ca28cbb4a382da1d1 /german/webalizer2/files/patch-ad
parentTake over maintainership (diff)
- Make this PORTS a slave port of www/webalizer
- Allow Makefile.local in the slave dir.
Notes
Notes: svn path=/head/; revision=43285
Diffstat (limited to 'german/webalizer2/files/patch-ad')
-rw-r--r--german/webalizer2/files/patch-ad33
1 files changed, 0 insertions, 33 deletions
diff --git a/german/webalizer2/files/patch-ad b/german/webalizer2/files/patch-ad
deleted file mode 100644
index 4ef6e9feebda..000000000000
--- a/german/webalizer2/files/patch-ad
+++ /dev/null
@@ -1,33 +0,0 @@
---- output.c.orig Fri Sep 29 07:51:42 2000
-+++ output.c Sat Oct 14 17:18:55 2000
-@@ -1450,10 +1450,17 @@
- rptr=*pointer++;
- if (rptr->flag == OBJ_REG)
- {
-- fprintf(out_fp,"%-8lu %6.02f%% %s\n",
-- rptr->count,
-- (t_hit==0)?0:((float)rptr->count/t_hit)*100.0,
-- rptr->string);
-+ if (strstr(rptr->string,"://")!=NULL)
-+ fprintf(out_fp,"%-8lu %6.02f%% <A HREF=\"%s\">%s</A>\n",
-+ rptr->count,
-+ (t_hit==0)?0:((float)rptr->count/t_hit)*100.0,
-+ rptr->string,
-+ rptr->string);
-+ else
-+ fprintf(out_fp,"%-8lu %6.02f%% %s\n",
-+ rptr->count,
-+ (t_hit==0)?0:((float)rptr->count/t_hit)*100.0,
-+ rptr->string);
- r_reg--;
- }
- }
-@@ -1932,7 +1939,7 @@
- {
- domain = hptr->string+strlen(hptr->string)-1;
- while ( (*domain!='.')&&(domain!=hptr->string)) domain--;
-- if ((domain==hptr->string)||(isdigit((int)*++domain)))
-+ if ((domain==hptr->string)||(isdigit((unsigned char)*++domain)))
- {
- ctry[0].count+=hptr->count;
- ctry[0].files+=hptr->files;