From 2c025a146da7309d2223b40ec40f7011fbbd868c Mon Sep 17 00:00:00 2001 From: mycroft Date: Fri, 19 Jul 2002 03:14:31 +0000 Subject: Fix obvious LP64 problems. --- archivers/lha/distinfo | 5 ++++- archivers/lha/patches/patch-ah | 15 +++++++++++++++ archivers/lha/patches/patch-ai | 14 ++++++++++++++ archivers/lha/patches/patch-aj | 15 +++++++++++++++ 4 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 archivers/lha/patches/patch-ah create mode 100644 archivers/lha/patches/patch-ai create mode 100644 archivers/lha/patches/patch-aj (limited to 'archivers/lha') diff --git a/archivers/lha/distinfo b/archivers/lha/distinfo index f5112f9603f..4befaf3e9c5 100644 --- a/archivers/lha/distinfo +++ b/archivers/lha/distinfo @@ -1,7 +1,10 @@ -$NetBSD: distinfo,v 1.3 2001/12/06 05:09:47 jlam Exp $ +$NetBSD: distinfo,v 1.4 2002/07/19 03:14:31 mycroft Exp $ SHA1 (lha-114i.tar.gz) = 79e35271f2cf783f946db3f22e304fef72dbac99 Size (lha-114i.tar.gz) = 64608 bytes SHA1 (patch-ae) = ad6040f318ecb2762618f210fbac35c03a17af66 SHA1 (patch-af) = 0c2f6d5bf23c3c98b102487abe3dd1190470f50c SHA1 (patch-ag) = 9ad3bc807a3cda4f71d8fbbbea19306f252f2489 +SHA1 (patch-ah) = cd44b40fa7e25a9996b2441d1b78a1a6570977b2 +SHA1 (patch-ai) = d988b7d048656080d14bfad1da89c9888c9ddf90 +SHA1 (patch-aj) = 6331fce7f55eef1c2003e693f165dd0565e7172e diff --git a/archivers/lha/patches/patch-ah b/archivers/lha/patches/patch-ah new file mode 100644 index 00000000000..e80189ec8bf --- /dev/null +++ b/archivers/lha/patches/patch-ah @@ -0,0 +1,15 @@ +$NetBSD: patch-ah,v 1.1 2002/07/19 03:14:31 mycroft Exp $ + +--- src/lharc.c.orig Thu Oct 5 17:33:34 2000 ++++ src/lharc.c Fri Jul 19 03:11:24 2002 +@@ -44,6 +44,10 @@ + + #include "lha.h" + ++#if defined(__STDC__) || defined(NEWSOS) ++#include ++#endif ++ + /* ------------------------------------------------------------------------ */ + /* PROGRAM */ + /* ------------------------------------------------------------------------ */ diff --git a/archivers/lha/patches/patch-ai b/archivers/lha/patches/patch-ai new file mode 100644 index 00000000000..d9e46c5a702 --- /dev/null +++ b/archivers/lha/patches/patch-ai @@ -0,0 +1,14 @@ +$NetBSD: patch-ai,v 1.1 2002/07/19 03:14:32 mycroft Exp $ + +--- src/slide.c.orig Wed Oct 4 14:57:38 2000 ++++ src/slide.c Fri Jul 19 03:11:39 2002 +@@ -13,6 +13,9 @@ + + #include "lha.h" + ++#if defined(__STDC__) || defined(NEWSOS) ++#include ++#endif + + #ifdef DEBUG + FILE *fout = NULL; diff --git a/archivers/lha/patches/patch-aj b/archivers/lha/patches/patch-aj new file mode 100644 index 00000000000..13e72891b2b --- /dev/null +++ b/archivers/lha/patches/patch-aj @@ -0,0 +1,15 @@ +$NetBSD: patch-aj,v 1.1 2002/07/19 03:14:33 mycroft Exp $ + +--- src/util.c.orig Wed Oct 4 14:57:38 2000 ++++ src/util.c Fri Jul 19 03:11:46 2002 +@@ -15,6 +15,10 @@ + */ + #include + ++#if defined(__STDC__) || defined(NEWSOS) ++#include ++#endif ++ + /* ------------------------------------------------------------------------ */ + extern unsigned short crc; + extern int quiet; -- cgit v1.2.3