LaMont Jones has reported a couple of problems with tn5250 0.16.1 (and
presumably the CVS version as well) in the Debian bug tracking system:
see <URL:http://bugs.debian.org/97380>.

There are two issues:

1. In gcc 3.0, printf is a macro, so the preprocessor conditionals in
src/tn5250.c syntax() don't work.  LaMont has provided a patch:

diff -ur z/tn5250-0.16.1/src/tn5250.c tn5250-0.16.1/src/tn5250.c
--- z/tn5250-0.16.1/src/tn5250.c        Thu May 25 07:54:51 2000
+++ tn5250-0.16.1/src/tn5250.c  Sun May 13 17:58:12 2001
@@ -175,11 +175,14 @@
       printf ("%s, ", m->name);
       m++; i++;
    }
-   printf ("\n\
-   env.DEVNAME=NAME         Use NAME as session name (default: none).\n"
 #ifndef NDEBUG
-"   trace=FILE              Log session to FILE.\n"
+#define PRINT_NDEBUG   "   trace=FILE              Log session to FILE.\n"
+#else
+#define PRINT_NDEBUG
 #endif
+   printf ("\n\
+   env.DEVNAME=NAME         Use NAME as session name (default: none).\n"
+PRINT_NDEBUG
 "   +/-underscores          Use/don't use underscores instead of underline\n\
                            attribute.\n\
    +/-version              Show emulator version and exit.\n\


2. The config.guess and config.sub files in the distribution tarball
apparently need to be updated to the current versions for configure to
work properly on PARISC.  LaMont points to the CVS repository at
<URL:http://subversions.gnu.org/cgi-bin/cvsweb/config>, which are the
same ones that Debian's libtool package in unstable has included since
last month.

Can someone see about getting the patch above or something similar
checked into CVS, and try to remember the second point when the time
for the next release rolls around?

-- 
         Carey Evans  http://home.clear.net.nz/pages/c.evans/

            "Quiet, you'll miss the humorous conclusion."
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---

Reply via email to