From david  Fri Sep 11 22:00:04 1998
Return-Path: <discard-all@chiark.greenend.org.uk>
Received: from mail
	by fetchmail-4.5.6 POP3
	for <david/localhost> (single-drop); Fri, 11 Sep 1998 22:00:04 CDT
Received: from h1.mail.home.com ([24.0.0.50]) by ha1.rdc1.tx.home.com
          (Netscape Mail Server v2.02) with ESMTP id AAA12197
          for <dlengel@mail.grlnd1.tx.home.com>;
          Fri, 11 Sep 1998 19:53:41 -0700
Received: from mx-temp.home.com (mx-temp.home.com [24.0.30.3])
	by h1.mail.home.com (8.9.0/8.9.0) with ESMTP id TAA21497
	for <dlengel@home.com>; Fri, 11 Sep 1998 19:53:41 -0700 (PDT)
Received: from master.debian.org (debian.novare.net [205.229.104.5])
	by mx-temp.home.com (8.8.5/8.8.5-AtHome) with SMTP id TAA21665
	for <dlengel@home.com>; Fri, 11 Sep 1998 19:53:40 -0700 (PDT)
Received: (qmail 13733 invoked by uid 834); 12 Sep 1998 02:53:40 -0000
Delivered-To: david@debian.org
Received: (qmail 13725 invoked from network); 12 Sep 1998 02:53:38 -0000
Received: from debian.novare.net (HELO submailer.bugs.debian.org) (iwj@205.229.104.5)
  by debian.novare.net with SMTP; 12 Sep 1998 02:53:38 -0000
Received: by submailer.bugs.debian.org id m0zHfGI-001sA4C
	(Debian /\oo/\ Smail3.1.29.1 #29.35); Fri, 11 Sep 98 21:18 CDT
Subject: Bug#26651: expect5.24: Does not compile on glibc 2.1
Reply-To: <drow@drow.res.cmu.edu>, 26651@bugs.debian.org
Resent-From: <drow@drow.res.cmu.edu>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: David Engel <david@debian.org>
Resent-Date: Sat, 12 Sep 1998 02:18:03 GMT
Resent-Message-ID: <handler.26651.B.90556579419675@bugs.debian.org>
Resent-Sender: iwj@debian.org
X-Debian-PR-Message: report 26651
X-Debian-PR-Package: expect5.24
X-Loop: owner@bugs.debian.org
Received: via spool by bugs@bugs.debian.org id=B.90556579419675
          (code B ref -1); Sat, 12 Sep 1998 02:18:03 GMT
From: <drow@drow.res.cmu.edu>
To: submit@bugs.debian.org
X-Mailer: bug 3.1.6.1
Message-Id: <E0zHf67-0003RA-00@drow.res.cmu.edu>
Date: Fri, 11 Sep 1998 22:07:35 -0400
Status: RO
Content-Length: 1573
Lines: 53

Package: expect5.24
Version: 5.26.1-1

Another easy one - why can't they all be like this?

Also, you should remove debian/*substvars (or use dh_clean) in the clean
target.

Dan


diff -uNr expect-5.26.1/pty_termios.c expect-5.26.1.ppc/pty_termios.c
--- expect-5.26.1/pty_termios.c	Mon Mar 16 19:53:41 1998
+++ expect-5.26.1.ppc/pty_termios.c	Mon Sep  7 03:02:13 1998
@@ -130,6 +130,12 @@
 #undef HAVE__GETPTY
 #endif
 
+#ifdef HAVE_OPENPTY
+static char master_name[64];
+static char slave_name[64];
+#undef HAVE_PTMX
+#endif
+
 #if defined(HAVE__GETPTY) || defined(HAVE_PTC_PTS) || defined(HAVE_PTMX)
 static char *slave_name;
 #endif
@@ -167,11 +173,6 @@
 static char master_name[MAXPTYNAMELEN];
 static char slave_name[MAXPTYNAMELEN];
 #endif /* HAVE_SCO_CLIST_PTYS */
-
-#ifdef HAVE_OPENPTY
-static char master_name[64];
-static char slave_name[64];
-#endif
 
 char *exp_pty_slave_name;
 char *exp_pty_error;



-- System Information
Debian Release: slink
Kernel Version: Linux drow.res.cmu.edu 2.1.120 #2 Wed Sep 9 19:26:22 EDT 1998 ppc unknown

Versions of the packages expect5.24 depends on:
ii  libc6           2.0.95-1.1     The GNU C library version 2 (run-time files)
ii  libreadlineg2   2.1-11         GNU readline and history libraries, run-time
ii  ncurses3.4      1.9.9g-8.6     Video terminal manipulation - shared librari
ii  tcl8.0          8.0p2-3        The Tool Command Language (TCL) v8.0 - Run-T
ii  tk8.0           8.0p2-4        The Tk toolkit for TCL and X11 v8.0 - Run-Ti
ii  xlib6g          3.3.2.1-1      shared libraries required by X clients

