diff options
author | netchild <netchild@FreeBSD.org> | 2004-08-13 22:03:17 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2004-08-13 22:03:17 +0800 |
commit | 1b35c2fdd51ad591c52f9b78da3416613c55c3ed (patch) | |
tree | 336a4da8ec7e700d460d6f575488a17a455d6625 /textproc | |
parent | d8bf87d4b02e22624bf1f5b4498909037e63b46d (diff) | |
download | freebsd-ports-gnome-1b35c2fdd51ad591c52f9b78da3416613c55c3ed.tar.gz freebsd-ports-gnome-1b35c2fdd51ad591c52f9b78da3416613c55c3ed.tar.zst freebsd-ports-gnome-1b35c2fdd51ad591c52f9b78da3416613c55c3ed.zip |
Add an official patch which fixes a segfault in output_modlogan.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/modlogan/Makefile | 1 | ||||
-rw-r--r-- | textproc/modlogan/files/patch-output_modlogan | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/textproc/modlogan/Makefile b/textproc/modlogan/Makefile index 7c2c30015d43..1d4d9da09473 100644 --- a/textproc/modlogan/Makefile +++ b/textproc/modlogan/Makefile @@ -7,6 +7,7 @@ PORTNAME= modlogan PORTVERSION= 0.8.12 +PORTREVISION= 1 CATEGORIES= textproc www MASTER_SITES= http://jan.kneschke.de/projects/modlogan/download/ \ ${MASTER_SITE_SOURCEFORGE} diff --git a/textproc/modlogan/files/patch-output_modlogan b/textproc/modlogan/files/patch-output_modlogan new file mode 100644 index 000000000000..bd5360b640b0 --- /dev/null +++ b/textproc/modlogan/files/patch-output_modlogan @@ -0,0 +1,47 @@ +--- src/output/modlogan/generate.c 18 Mar 2004 13:54:20 -0000 1.99 ++++ src/output/modlogan/generate.c 13 Aug 2004 10:26:16 -0000 +@@ -53,6 +53,8 @@ + #include "pictures.h" + #include "plugin_config.h" + ++#include "generate.h" ++ + #define HIGHLIGHT 1 + #define GROUPING 2 + #define VISITS 4 +--- src/output/modlogan/generate.h 26 Sep 2002 13:10:27 -0000 1.6 ++++ src/output/modlogan/generate.h 13 Aug 2004 10:26:16 -0000 +@@ -30,7 +30,7 @@ + #include "plugin_config.h" + #include "mhash.h" + +-mhash *get_visit_path_length(mhash *h); +-mhash *get_visit_duration(mhash *h); ++mhash *get_visit_path_length(mconfig *ext_config, mhash *h); ++mhash *get_visit_duration(mconfig *ext_config, mhash *h); + + #endif +--- src/output/modlogan/pictures_vd.c 29 Jul 2003 12:38:37 -0000 1.17 ++++ src/output/modlogan/pictures_vd.c 13 Aug 2004 10:26:16 -0000 +@@ -88,7 +89,7 @@ + GRAPH_CUTOFF_TEXT + ); + +- h = get_visit_duration(staweb->visits); ++ h = get_visit_duration(ext_conf, staweb->visits); + + max = 0; + +--- src/output/modlogan/pictures_vpl.c 1 Aug 2003 21:30:01 -0000 1.20 ++++ src/output/modlogan/pictures_vpl.c 13 Aug 2004 10:26:16 -0000 +@@ -87,7 +87,7 @@ + GRAPH_CUTOFF_TEXT + ); + +- h = get_visit_path_length(staweb->visits); ++ h = get_visit_path_length(ext_conf, staweb->visits); + + max = 0; + + + |