pkgsrc/cad/gtkwave/patches/patch-ab
drochner 89ed965917 Add a patch to work around the non-working partial vcd file reading
(disable it), and another one to use memory a bit more efficiently.
The program is now usable with VCD files larger than 10M.
Update to the latest snapshot to ease discussion with the author;
a notable change in this is improved LXT support.
2003-07-15 12:32:58 +00:00

13 lines
382 B
Text

$NetBSD: patch-ab,v 1.1 2003/07/15 12:32:59 drochner Exp $
--- src/utils.c.orig 2003-07-14 21:12:05.000000000 +0200
+++ src/utils.c 2003-07-14 21:12:57.000000000 +0200
@@ -186,7 +186,7 @@
* freed so this is OK...
*/
#ifndef HISTENT_GRANULARITY
-#define HISTENT_GRANULARITY 100
+#define HISTENT_GRANULARITY ((64*1024)/sizeof(HistEnt))
#endif
HistEnt *histent_calloc (void)