pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/mscompress/patches Make mscompress output va...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9efca03e9a44
branches: trunk
changeset: 466337:9efca03e9a44
user: ben <ben%pkgsrc.org@localhost>
date: Thu Jan 15 22:26:08 2004 +0000
description:
Make mscompress output valid archives on sparc64.
diffstat:
archivers/mscompress/patches/patch-aa | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diffs (22 lines):
diff -r bae227213801 -r 9efca03e9a44 archivers/mscompress/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/mscompress/patches/patch-aa Thu Jan 15 22:26:08 2004 +0000
@@ -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));
Home |
Main Index |
Thread Index |
Old Index