summaryrefslogtreecommitdiff
path: root/archivers/mscompress/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/mscompress/patches/patch-aa')
-rw-r--r--archivers/mscompress/patches/patch-aa16
1 files changed, 14 insertions, 2 deletions
diff --git a/archivers/mscompress/patches/patch-aa b/archivers/mscompress/patches/patch-aa
index 0078a50994c..6abfa833183 100644
--- a/archivers/mscompress/patches/patch-aa
+++ b/archivers/mscompress/patches/patch-aa
@@ -1,6 +1,9 @@
-$NetBSD: patch-aa,v 1.1 2004/01/15 22:26:08 ben Exp $
+$NetBSD: patch-aa,v 1.2 2011/08/28 20:31:13 dholland Exp $
---- mscompress.c.orig 2000-04-15 06:15:38.000000000 -0700
+- work properly on sparc64
+- fix void main
+
+--- mscompress.c.orig 2000-04-15 13:15:38.000000000 +0000
+++ mscompress.c
@@ -156,10 +156,10 @@ compress (int in, char *inname, int out,
int ch, i, run, len, match, size, mask;
@@ -16,3 +19,12 @@ $NetBSD: patch-aa,v 1.1 2004/01/15 22:26:08 ben Exp $
/* 28.5 kB */
buffer = malloc (N + F + (N + 1 + N + N + 256) * sizeof (int));
+@@ -306,7 +306,7 @@ usage (char *progname)
+ exit (0);
+ }
+
+-void
++int
+ main (int argc, char **argv)
+ {
+ int in, out;