From 323637e1ef9cf0b7b5658eb44669e163bae6c381 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 28 Aug 2011 20:31:13 +0000 Subject: void main --- archivers/mscompress/distinfo | 5 +++-- archivers/mscompress/patches/patch-aa | 16 ++++++++++++++-- archivers/mscompress/patches/patch-msexpand_c | 15 +++++++++++++++ 3 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 archivers/mscompress/patches/patch-msexpand_c (limited to 'archivers') diff --git a/archivers/mscompress/distinfo b/archivers/mscompress/distinfo index 63cba27154e..160fcf2babc 100644 --- a/archivers/mscompress/distinfo +++ b/archivers/mscompress/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 14:45:24 agc Exp $ +$NetBSD: distinfo,v 1.4 2011/08/28 20:31:13 dholland Exp $ SHA1 (mscompress-0.3.tar.bz2) = 76fd76b08ca62b20cf4aacef78e5030a4b08c285 RMD160 (mscompress-0.3.tar.bz2) = 15fed6fb4158e6f1a1284f97f0c4d7b4fc0fe4e4 Size (mscompress-0.3.tar.bz2) = 40989 bytes -SHA1 (patch-aa) = 0ea60f32b2d4479f006a9de15648d8875c31075e +SHA1 (patch-aa) = 6a6d7c29a8d07d2d85716fea3ad03b4eb07d72db +SHA1 (patch-msexpand_c) = 39a449e07acc1306098d89d042d4f7d96299a36f 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; diff --git a/archivers/mscompress/patches/patch-msexpand_c b/archivers/mscompress/patches/patch-msexpand_c new file mode 100644 index 00000000000..547e76e22e4 --- /dev/null +++ b/archivers/mscompress/patches/patch-msexpand_c @@ -0,0 +1,15 @@ +$NetBSD: patch-msexpand_c,v 1.1 2011/08/28 20:31:13 dholland Exp $ + +- fix void main + +--- msexpand.c.orig 2000-04-15 13:15:45.000000000 +0000 ++++ msexpand.c +@@ -215,7 +215,7 @@ usage (char *progname) + exit (0); + } + +-void ++int + main (int argc, char **argv) + { + int in, out; -- cgit v1.2.3