pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/tme Fixes to ctype macro usage so that this ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b521a5cc7a66
branches:  trunk
changeset: 485192:b521a5cc7a66
user:      skrll <skrll%pkgsrc.org@localhost>
date:      Sun Dec 05 07:32:17 2004 +0000

description:
Fixes to ctype macro usage so that this builds on -current.

diffstat:

 emulators/tme/distinfo         |   6 ++++--
 emulators/tme/patches/patch-ac |  13 +++++++++++--
 emulators/tme/patches/patch-ad |  13 +++++++++++++
 emulators/tme/patches/patch-ae |  22 ++++++++++++++++++++++
 4 files changed, 50 insertions(+), 4 deletions(-)

diffs (83 lines):

diff -r 68e50a0f0d6d -r b521a5cc7a66 emulators/tme/distinfo
--- a/emulators/tme/distinfo    Sun Dec 05 07:01:19 2004 +0000
+++ b/emulators/tme/distinfo    Sun Dec 05 07:32:17 2004 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/01/23 08:21:56 skrll Exp $
+$NetBSD: distinfo,v 1.2 2004/12/05 07:32:17 skrll Exp $
 
 SHA1 (tme-0.2.tar.gz) = b4a42c1ef65836fb3da2226293fc631a98db5f08
 Size (tme-0.2.tar.gz) = 1183794 bytes
 SHA1 (patch-aa) = 49dd1b5505990522011071752544209c1540ed21
 SHA1 (patch-ab) = 762aca8120b6864e9609ab79ae1385a783ffd9e7
-SHA1 (patch-ac) = 03f61f24a02e4380ef6e75845f59de380e022ffa
+SHA1 (patch-ac) = c6c62adabf588b8445b724cf5da93a36e2cc1124
+SHA1 (patch-ad) = efb8815d0a1cd501a10268b9ef0a4f4fea16678c
+SHA1 (patch-ae) = 2f472a55f5afd1c0079349ce49bd3eb251ea9d76
diff -r 68e50a0f0d6d -r b521a5cc7a66 emulators/tme/patches/patch-ac
--- a/emulators/tme/patches/patch-ac    Sun Dec 05 07:01:19 2004 +0000
+++ b/emulators/tme/patches/patch-ac    Sun Dec 05 07:32:17 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.1.1.1 2004/01/23 08:21:59 skrll Exp $
+$NetBSD: patch-ac,v 1.2 2004/12/05 07:32:17 skrll Exp $
 
---- libtme/module.c.orig       Sat Aug 23 14:48:30 2003
+--- libtme/module.c.orig       2003-08-23 14:48:30.000000000 +0100
 +++ libtme/module.c
 @@ -107,7 +107,7 @@ _tme_modules_find(const char *top_name,
    FILE *modules_index;
@@ -11,3 +11,12 @@
  
      /* get the next search path environment variable value: */
      search_path = NULL;
+@@ -230,7 +230,7 @@ tme_module_open(const char *module_fake_
+   for (p1 = module_raw_name;
+        (c = *p1) != '\0';
+        p1++) {
+-    if (!isalnum(c)) {
++    if (!isalnum((unsigned char)c)) {
+       *p1 = '_';
+       if (c == '/'
+         && first_slash == NULL) {
diff -r 68e50a0f0d6d -r b521a5cc7a66 emulators/tme/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/tme/patches/patch-ad    Sun Dec 05 07:32:17 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2004/12/05 07:32:17 skrll Exp $
+
+--- libtme/misc.c.orig 2003-06-27 22:00:21.000000000 +0100
++++ libtme/misc.c
+@@ -83,7 +83,7 @@ tme_misc_tokenize(const char *string,
+ 
+     /* if this is a token delimiter: */
+     if (c == '\0'
+-      || isspace(c)
++      || isspace((unsigned char)c)
+       || c == comment) {
+ 
+       /* if we had been collecting a token, it's finished: */
diff -r 68e50a0f0d6d -r b521a5cc7a66 emulators/tme/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/tme/patches/patch-ae    Sun Dec 05 07:32:17 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.1 2004/12/05 07:32:17 skrll Exp $
+
+--- serial/serial-kb.c.orig    2003-10-16 03:48:25.000000000 +0100
++++ serial/serial-kb.c
+@@ -966,7 +966,7 @@ TME_ELEMENT_X_NEW_DECL(tme_serial_,kb,ke
+       }
+       for (p1 = line_buffer;
+          ((c = *(p1++)) != '\0'
+-          && isspace(c)););
++          && isspace((unsigned char)c)););
+       if (c == '\0'
+         || c == '#') {
+       continue;
+@@ -1049,7 +1049,7 @@ TME_ELEMENT_X_NEW_DECL(tme_serial_,kb,ke
+     }
+     for (p1 = line_buffer;
+        ((c = *(p1++)) != '\0'
+-        && isspace(c)););
++        && isspace((unsigned char)c)););
+     if (c == '\0'
+       || c == '#') {
+       continue;



Home | Main Index | Thread Index | Old Index