aboutsummaryrefslogtreecommitdiff
path: root/textproc/modlogan
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2004-08-13 14:03:17 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2004-08-13 14:03:17 +0000
commit729d54bf57a36e07d9501af4bdbafff01828a21d (patch)
treec4a36a05b64d7c6bd86f27f732d5d76c3523e9e4 /textproc/modlogan
parent1daeddb8f38ca4c768e612fe969a282f08db3649 (diff)
downloadports-729d54bf57a36e07d9501af4bdbafff01828a21d.tar.gz
ports-729d54bf57a36e07d9501af4bdbafff01828a21d.zip
Add an official patch which fixes a segfault in output_modlogan.
Notes
Notes: svn path=/head/; revision=116107
Diffstat (limited to 'textproc/modlogan')
-rw-r--r--textproc/modlogan/Makefile1
-rw-r--r--textproc/modlogan/files/patch-output_modlogan47
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;
+
+
+