diff options
author | ben <ben@pkgsrc.org> | 2004-01-15 22:26:08 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2004-01-15 22:26:08 +0000 |
commit | c966b11bfb9f31f5fd5d3b250c3a7164266313a6 (patch) | |
tree | 825dcef55f4d9626ea344461b05da94d5d2f083e | |
parent | d6b59964145c63e602a2b60c54643edf9a7bd5ab (diff) | |
download | pkgsrc-c966b11bfb9f31f5fd5d3b250c3a7164266313a6.tar.gz |
Make mscompress output valid archives on sparc64.
-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)); |