diff options
author | wiz <wiz> | 2003-12-15 13:45:07 +0000 |
---|---|---|
committer | wiz <wiz> | 2003-12-15 13:45:07 +0000 |
commit | f8de8dd17862719378b54bce867ee251d57918bc (patch) | |
tree | 97a5cfe94ec7b390f8bc813e53578875245ef296 /print/dvipng | |
parent | df74db3714864f1c446a52f5d15c67412b00964a (diff) | |
download | pkgsrc-f8de8dd17862719378b54bce867ee251d57918bc.tar.gz |
Add two patches that avoid double free()s of the same space.
Bump PKGREVISION to 1. (patches have been sent to author)
Diffstat (limited to 'print/dvipng')
-rw-r--r-- | print/dvipng/Makefile | 3 | ||||
-rw-r--r-- | print/dvipng/distinfo | 4 | ||||
-rw-r--r-- | print/dvipng/patches/patch-ab | 12 | ||||
-rw-r--r-- | print/dvipng/patches/patch-ac | 12 |
4 files changed, 29 insertions, 2 deletions
diff --git a/print/dvipng/Makefile b/print/dvipng/Makefile index 79d752a60b8..33598bfc7d7 100644 --- a/print/dvipng/Makefile +++ b/print/dvipng/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2003/12/12 22:36:14 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2003/12/15 13:45:07 wiz Exp $ # DISTNAME= dvipng-0.8 +PKGREVISION= 1 CATEGORIES= textproc converters MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=preview-latex/} diff --git a/print/dvipng/distinfo b/print/dvipng/distinfo index 645899bcdf5..7f37adbb2e8 100644 --- a/print/dvipng/distinfo +++ b/print/dvipng/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.3 2003/12/12 22:36:14 wiz Exp $ +$NetBSD: distinfo,v 1.4 2003/12/15 13:45:07 wiz Exp $ SHA1 (dvipng-0.8.tar.gz) = 563115707185ef23bfe211518f4ff7c1555d718f Size (dvipng-0.8.tar.gz) = 119186 bytes SHA1 (patch-aa) = a493bdd38e2728b37efed8b0b2d46d199aebe77a +SHA1 (patch-ab) = dfbcbdf80d503d5c63c892b77e739eb60bd07fc0 +SHA1 (patch-ac) = 05a6b2afdf13359313b7fb692d97bcd83e08bc43 diff --git a/print/dvipng/patches/patch-ab b/print/dvipng/patches/patch-ab new file mode 100644 index 00000000000..df4b6f34dd3 --- /dev/null +++ b/print/dvipng/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2003/12/15 13:45:07 wiz Exp $ + +--- font.c.orig Sun Nov 30 12:56:55 2003 ++++ font.c +@@ -294,7 +294,6 @@ void ClearFonts(void) + while(hfontptr!=NULL) { + tmp=hfontptr->next; + DoneFont(hfontptr); +- free(hfontptr); + hfontptr=tmp; + } + FreeFontNumP(dvi->fontnump); diff --git a/print/dvipng/patches/patch-ac b/print/dvipng/patches/patch-ac new file mode 100644 index 00000000000..45c9fa5d64c --- /dev/null +++ b/print/dvipng/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1 2003/12/15 13:45:07 wiz Exp $ + +--- tfm.c.orig Sun Nov 30 12:56:55 2003 ++++ tfm.c +@@ -58,7 +58,6 @@ bool ReadTFM(struct font_entry * tfontp, + c++; + position += 4; + } +- free(width); + return(true); + } + |