pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/dvipng Add two patches that avoid double free()s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f4f805c625b0
branches:  trunk
changeset: 464796:f4f805c625b0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Dec 15 13:45:07 2003 +0000

description:
Add two patches that avoid double free()s of the same space.
Bump PKGREVISION to 1. (patches have been sent to author)

diffstat:

 print/dvipng/Makefile         |   3 ++-
 print/dvipng/distinfo         |   4 +++-
 print/dvipng/patches/patch-ab |  12 ++++++++++++
 print/dvipng/patches/patch-ac |  12 ++++++++++++
 4 files changed, 29 insertions(+), 2 deletions(-)

diffs (57 lines):

diff -r efc3b2fe2df0 -r f4f805c625b0 print/dvipng/Makefile
--- a/print/dvipng/Makefile     Mon Dec 15 10:34:40 2003 +0000
+++ b/print/dvipng/Makefile     Mon Dec 15 13:45:07 2003 +0000
@@ -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 -r efc3b2fe2df0 -r f4f805c625b0 print/dvipng/distinfo
--- a/print/dvipng/distinfo     Mon Dec 15 10:34:40 2003 +0000
+++ b/print/dvipng/distinfo     Mon Dec 15 13:45:07 2003 +0000
@@ -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 -r efc3b2fe2df0 -r f4f805c625b0 print/dvipng/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/dvipng/patches/patch-ab     Mon Dec 15 13:45:07 2003 +0000
@@ -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 -r efc3b2fe2df0 -r f4f805c625b0 print/dvipng/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/dvipng/patches/patch-ac     Mon Dec 15 13:45:07 2003 +0000
@@ -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);
+ }
+   



Home | Main Index | Thread Index | Old Index