openbsd-ports/archivers/macutil/patches/patch-macunpack_lzh_c
robert e250361755 - make gcc4 happy
- add a working MASTER_SITE
2010-05-09 15:22:43 +00:00

24 lines
625 B
Plaintext

$OpenBSD: patch-macunpack_lzh_c,v 1.1 2010/05/09 15:22:43 robert Exp $
--- macunpack/lzh.c.orig Sun May 9 17:19:55 2010
+++ macunpack/lzh.c Sun May 9 17:20:48 2010
@@ -40,13 +40,13 @@ static struct methodinfo methods[] = {
{"-lzs-", lzs}
};
static char *lzh_archive;
-static char *lzh_pointer;
-static char *lzh_data;
-static char *lzh_finfo;
-static int lzh_fsize;
-static int lzh_kind;
+char *lzh_pointer;
+char *lzh_data;
+char *lzh_finfo;
+int lzh_fsize;
+int lzh_kind;
static int oldsize;
-static char *lzh_file;
+char *lzh_file;
static int lzh_filesize;
static char *lzh_current;
static char *tmp_out_ptr;