summaryrefslogtreecommitdiffstats
path: root/misc/alevt/files/patch-ab
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2004-08-26 14:11:02 +0000
committeroliver <oliver@FreeBSD.org>2004-08-26 14:11:02 +0000
commit5e535ea301a7295467e3fbd00e573ec4a83c9fef (patch)
treec7f1bac86dbd63b15c84a8336f5d0d01454682ed /misc/alevt/files/patch-ab
parent604bc172e01272d55af58001986299939c0162e0 (diff)
downloadFreeBSD-ports-5e535ea301a7295467e3fbd00e573ec4a83c9fef.zip
FreeBSD-ports-5e535ea301a7295467e3fbd00e573ec4a83c9fef.tar.gz
update to 1.6.1 which fixes build on RELENG_5
Approved By: maintainer-timeout (9 days)
Diffstat (limited to 'misc/alevt/files/patch-ab')
-rw-r--r--misc/alevt/files/patch-ab32
1 files changed, 7 insertions, 25 deletions
diff --git a/misc/alevt/files/patch-ab b/misc/alevt/files/patch-ab
index c23be7e..b499e4a 100644
--- a/misc/alevt/files/patch-ab
+++ b/misc/alevt/files/patch-ab
@@ -1,34 +1,16 @@
---- exp-html.c.orig Tue May 30 02:09:15 2000
-+++ exp-html.c Wed Oct 18 08:50:59 2000
-@@ -214,7 +214,7 @@
- {
- if (last_space)
- {
-- fprintf(fp,"&nbsp;");
-+ fprintf(fp,"&nbsp");
- last_space=0;
- nbsp=1;
- }
-@@ -251,7 +251,7 @@
- {
- if (last_space)
- {
-- fprintf(fp,"&nbsp;");
-+ fprintf(fp,"&nbsp");
- last_space=0;
- nbsp=1;
- }
+--- exp-html.c.orig Tue Oct 17 21:28:30 2000
++++ exp-html.c Tue Aug 17 16:31:33 2004
@@ -268,7 +268,12 @@
{
//if previous nbsp --> put semicolon!!!
if (nbsp) fputc(';',fp);
- fputc(pg->data[y][z].ch,fp);
+
-+ // Handle ascii characters which have HTML meanings
-+ if (pg->data[y][z].ch == '<') fprintf(fp,"&lt;");
-+ else if (pg->data[y][z].ch == '>') fprintf(fp,"&gt;");
-+ else if (pg->data[y][z].ch == '&') fprintf(fp,"&amp;");
-+ else fputc(pg->data[y][z].ch,fp);
++ // Handle ascii characters which have HTML meanings
++ if (pg->data[y][z].ch == '<') fprintf(fp,"&lt;");
++ else if (pg->data[y][z].ch == '>') fprintf(fp,"&gt;");
++ else if (pg->data[y][z].ch == '&') fprintf(fp,"&amp;");
++ else fputc(pg->data[y][z].ch,fp);
last_space=0;
nbsp=0;
}
OpenPOWER on IntegriCloud