summaryrefslogtreecommitdiff
path: root/archivers/unshield/patches/patch-ab
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-10-31 05:41:41 +0000
committerminskim <minskim@pkgsrc.org>2005-10-31 05:41:41 +0000
commit0abaf828e8d1e0222d1c65d53a73ce1b1b477f0b (patch)
tree633075719afdb0fdc0d64db3db15687994701e9c /archivers/unshield/patches/patch-ab
parentc77b5124f5438ac1f504ba858589a237b995e464 (diff)
downloadpkgsrc-0abaf828e8d1e0222d1c65d53a73ce1b1b477f0b.tar.gz
Regen to make GNU patch happy.
Diffstat (limited to 'archivers/unshield/patches/patch-ab')
-rw-r--r--archivers/unshield/patches/patch-ab22
1 files changed, 6 insertions, 16 deletions
diff --git a/archivers/unshield/patches/patch-ab b/archivers/unshield/patches/patch-ab
index 2e3063d788a..5aff7b7dd2c 100644
--- a/archivers/unshield/patches/patch-ab
+++ b/archivers/unshield/patches/patch-ab
@@ -1,17 +1,13 @@
-$NetBSD: patch-ab,v 1.1.1.1 2005/08/01 14:22:02 martin Exp $
+$NetBSD: patch-ab,v 1.2 2005/10/31 05:41:41 minskim 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 @@
+--- src/unshield.c.orig 2005-07-08 07:08:37.000000000 -0700
++++ src/unshield.c
+@@ -2,3 +2,3 @@
#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;
-
+@@ -280,6 +280,6 @@ static bool extract_file(Unshield* unshi
default:
- if (!isprint(*p))
+ if (!isprint((unsigned char)*p))
@@ -20,11 +16,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2005/08/01 14:22:02 martin Exp $
- *p = tolower(*p);
+ *p = tolower((unsigned char)*p);
break;;
- }
- }
-@@ -298,10 +298,10 @@
-
- for (p = filename; *p != '\0'; p++)
+@@ -300,6 +300,6 @@ static bool extract_file(Unshield* unshi
{
- if (!isprint(*p))
+ if (!isprint((unsigned char)*p))
@@ -33,5 +25,3 @@ $NetBSD: patch-ab,v 1.1.1.1 2005/08/01 14:22:02 martin Exp $
- *p = tolower(*p);
+ *p = tolower((unsigned char)*p);
}
-
- printf(" extracting: %s\n", filename);