aboutsummaryrefslogtreecommitdiff
path: root/mail/mls
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2007-08-25 19:37:34 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2007-08-25 19:37:34 +0000
commit0453f7e7786ba9db0e712aae0b8ed921f8c41efd (patch)
tree60b8c4fd04917dcfd64aee36443ab174e262c172 /mail/mls
parent539ab171b21322d5a5674c880e55a49eba00e9d9 (diff)
downloadports-0453f7e7786ba9db0e712aae0b8ed921f8c41efd.tar.gz
ports-0453f7e7786ba9db0e712aae0b8ed921f8c41efd.zip
Notes
Diffstat (limited to 'mail/mls')
-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);