diff options
author | ben <ben> | 2004-01-15 22:26:08 +0000 |
---|---|---|
committer | ben <ben> | 2004-01-15 22:26:08 +0000 |
commit | 5a2d00b7005218599f4fbaf45fa8c59e0b2c04bd (patch) | |
tree | 825dcef55f4d9626ea344461b05da94d5d2f083e /archivers/mscompress | |
parent | d26103f805cff37d357cc5fb32f774856c51aae2 (diff) | |
download | pkgsrc-5a2d00b7005218599f4fbaf45fa8c59e0b2c04bd.tar.gz |
Make mscompress output valid archives on sparc64.
Diffstat (limited to 'archivers/mscompress')
-rw-r--r-- | archivers/mscompress/patches/patch-aa | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/archivers/mscompress/patches/patch-aa b/archivers/mscompress/patches/patch-aa new file mode 100644 index 00000000000..0078a50994c --- /dev/null +++ b/archivers/mscompress/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1 2004/01/15 22:26:08 ben Exp $ + +--- mscompress.c.orig 2000-04-15 06:15:38.000000000 -0700 ++++ mscompress.c +@@ -156,10 +156,10 @@ compress (int in, char *inname, int out, + int ch, i, run, len, match, size, mask; + char buf[17]; + struct stat st; +- unsigned long magic1; +- unsigned long magic2; ++ unsigned int magic1; ++ unsigned int magic2; + unsigned short magic3; +- unsigned long filesize; ++ unsigned int filesize; + + /* 28.5 kB */ + buffer = malloc (N + F + (N + 1 + N + N + 256) * sizeof (int)); |