aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/mls/files/patch-mls.h12
-rw-r--r--mail/mls/files/patch-mls_text.c12
-rw-r--r--mail/mls/files/patch-mls_text.h11
3 files changed, 35 insertions, 0 deletions
diff --git a/mail/mls/files/patch-mls.h b/mail/mls/files/patch-mls.h
new file mode 100644
index 000000000000..1a0883f8dc8d
--- /dev/null
+++ b/mail/mls/files/patch-mls.h
@@ -0,0 +1,12 @@
+--- mls.h.orig 2007-08-26 03:26:30.000000000 +0800
++++ mls.h 2007-08-26 03:27:11.000000000 +0800
+@@ -75,6 +75,9 @@
+ #define EXIT_NOMEM 4
+ #define EXIT_REGEX 5
+
++// because we must specify it when 2dimensional array is passed to function
++#define SNUMB_LEN 4
++
+ /* *** structures for BEST messages *** */
+ typedef struct bestQUOTE* nQptr;
+ struct bestQUOTE {
diff --git a/mail/mls/files/patch-mls_text.c b/mail/mls/files/patch-mls_text.c
new file mode 100644
index 000000000000..20a5fd18403e
--- /dev/null
+++ b/mail/mls/files/patch-mls_text.c
@@ -0,0 +1,12 @@
+--- mls_text.c.orig 2007-08-26 03:28:10.000000000 +0800
++++ mls_text.c 2007-08-26 03:28:32.000000000 +0800
+@@ -22,9 +22,6 @@
+ #include "mls_lang.h"
+ #include "mls_stat.h"
+
+-// because we must specify it when 2dimensional array is passed to function
+-#define SNUMB_LEN 4
+-
+ extern int lang;
+ extern int graph;
+ extern int onlytitle;
diff --git a/mail/mls/files/patch-mls_text.h b/mail/mls/files/patch-mls_text.h
new file mode 100644
index 000000000000..d72686def995
--- /dev/null
+++ b/mail/mls/files/patch-mls_text.h
@@ -0,0 +1,11 @@
+--- mls_text.h.orig 2007-08-26 03:29:23.000000000 +0800
++++ mls_text.h 2007-08-26 03:30:12.000000000 +0800
+@@ -30,7 +30,7 @@
+ void PrintTopQ(nTptr, int);
+ void PrintTopHtml(nTptr, int);
+ void PrintGraph(long[], int, int);
+-void PrintGraphHtml(long[], long[][], int, char *);
++void PrintGraphHtml(long[], long[][SNUMB_LEN], int, char *);
+
+ void PrintStatText(int, char *);
+ void PrintStatHtml(int, char *, short);