diff options
author | martin <martin@pkgsrc.org> | 2005-08-01 14:22:02 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2005-08-01 14:22:02 +0000 |
commit | 99b336d5232bc4e8d268582aa5d4342dda8a7e7c (patch) | |
tree | 9bddb61a754f42134809eb115f45c73694d71304 /archivers/unshield/patches/patch-ab | |
parent | 014c8480421adc2c5b88b9789a784cc523dff40a (diff) | |
download | pkgsrc-99b336d5232bc4e8d268582aa5d4342dda8a7e7c.tar.gz |
Import of unshield-0.5, a tool to extract .CAB archives in InstallShield
format.
Diffstat (limited to 'archivers/unshield/patches/patch-ab')
-rw-r--r-- | archivers/unshield/patches/patch-ab | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/archivers/unshield/patches/patch-ab b/archivers/unshield/patches/patch-ab new file mode 100644 index 00000000000..2e3063d788a --- /dev/null +++ b/archivers/unshield/patches/patch-ab @@ -0,0 +1,37 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/08/01 14:22:02 martin Exp $ + +--- src/unshield.c.orig 2005-07-08 16:08:37.000000000 +0200 ++++ src/unshield.c 2005-08-01 15:31:14.000000000 +0200 +@@ -2,5 +2,5 @@ + #define _BSD_SOURCE 1 +-#define _POSIX_C_SOURCE 2 ++/* #define _POSIX_C_SOURCE 2 */ + #include "../lib/libunshield.h" + #include <ctype.h> + #include <locale.h> +@@ -278,10 +278,10 @@ + break; + + default: +- if (!isprint(*p)) ++ if (!isprint((unsigned char)*p)) + *p = '_'; + else if (make_lowercase) +- *p = tolower(*p); ++ *p = tolower((unsigned char)*p); + break;; + } + } +@@ -298,10 +298,10 @@ + + for (p = filename; *p != '\0'; p++) + { +- if (!isprint(*p)) ++ if (!isprint((unsigned char)*p)) + *p = '_'; + else if (make_lowercase) +- *p = tolower(*p); ++ *p = tolower((unsigned char)*p); + } + + printf(" extracting: %s\n", filename); |