diff options
author | garga <garga@FreeBSD.org> | 2006-03-28 18:46:44 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-03-28 18:46:44 +0800 |
commit | 9eca3bf4656749c5ded78034035f7a7defa4aa30 (patch) | |
tree | 7d4374e10d1579e77c4399beb205e479e2dd42fd /www | |
parent | dc479b0bde411c581324bab516208047308e5ef1 (diff) | |
download | freebsd-ports-graphics-9eca3bf4656749c5ded78034035f7a7defa4aa30.tar.gz freebsd-ports-graphics-9eca3bf4656749c5ded78034035f7a7defa4aa30.tar.zst freebsd-ports-graphics-9eca3bf4656749c5ded78034035f7a7defa4aa30.zip |
Add a patch to css.c, to fix an overflow if you are using external css and
have a lot of html to proccess. The external css file is open so many times
and never closed.
PR: ports/95022
Submitted by: Eugene M. Zheganin <emz@norma.perm.ru>
Diffstat (limited to 'www')
-rw-r--r-- | www/sarg/Makefile | 2 | ||||
-rw-r--r-- | www/sarg/files/patch-css.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/www/sarg/Makefile b/www/sarg/Makefile index f5c80a712b5..acbe291b1e0 100644 --- a/www/sarg/Makefile +++ b/www/sarg/Makefile @@ -7,7 +7,7 @@ PORTNAME= sarg PORTVERSION= 2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/www/sarg/files/patch-css.c b/www/sarg/files/patch-css.c new file mode 100644 index 00000000000..5fcdb67b913 --- /dev/null +++ b/www/sarg/files/patch-css.c @@ -0,0 +1,10 @@ +--- css.c.orig Tue Mar 28 10:25:11 2006 ++++ css.c Tue Mar 28 10:25:41 2006 +@@ -40,6 +40,7 @@ + while(fgets(buf,MAXLEN,fp_in)!=NULL) + fputs(buf,fp_ou); + fputs("</style>\n",fp_ou); ++ fclose(fp_in); + return; + } + |