69f43aff5e
It is practically impossible to use any of the unzip slave ports. This is because archivers/unzip is used by the ports infrastruction (via USES=zip, USES=zip:infozip) and each slave port conflicts with it. If you install the slave port first, then the port infrastructure can't install archivers/unzip (although if attempted, the extracts dependency might be satisfied by the slave port so it might actually work). In any case, this change: * Adds "iconv" support as an non-default option * Add a localization group that can have zero or one selection * That group contains Chinese, Korean, or Russian support * WITH_UNZIP_UNREDUCE support was removed (I'm not sure it even worked) * Makefile was simplified (several loops removed) * Removes unzip-iconv, Chinese, Korean, Russian slave ports PR: 190349 Reported by: Mikhail Rokhin Unzip overhaul: marino Approved by: maintainer (ehaupt@)
16 lines
752 B
C
16 lines
752 B
C
--- process.c.orig 2009-03-06 01:25:10 UTC
|
|
+++ process.c
|
|
@@ -101,10 +101,10 @@ static ZCONST char Far CannotAllocateBuf
|
|
/* do_seekable() strings */
|
|
# ifdef UNIX
|
|
static ZCONST char Far CannotFindZipfileDirMsg[] =
|
|
- "%s: cannot find zipfile directory in one of %s or\n\
|
|
- %s%s.zip, and cannot find %s, period.\n";
|
|
+ "%s: cannot find zipfile directory in one of %.512s or\n\
|
|
+ %s%.512s.zip, and cannot find %.512s, period.\n";
|
|
static ZCONST char Far CannotFindEitherZipfile[] =
|
|
- "%s: cannot find or open %s, %s.zip or %s.\n";
|
|
+ "%s: cannot find or open %.512s, %.512s.zip or %.512s.\n";
|
|
# else /* !UNIX */
|
|
static ZCONST char Far CannotFindZipfileDirMsg[] =
|
|
"%s: cannot find zipfile directory in %s,\n\
|