From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,URIBL_BLACK autolearn=no version=3.2.5 Date: Sat, 8 Nov 2008 15:38:24 +0300 From: "Alexey I. Froloff" To: ALT Devel discussion list Message-ID: <20081108123824.GJ27961@altlinux.org> References: <20081025200510.6B5F61B18175@granary.armor.altlinux.org> <20081026175351.GE26597@wo.int.altlinux.org> <20081027223919.GA23852@wo.int.altlinux.org> <200810281054.19155.shrek@altlinux.ru> <20081028100655.GC30267@wo.int.altlinux.org> <20081108113623.GG27961@altlinux.org> <20081108114726.GF20311@wo.int.altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9kwpIYUMbI/2cCx" Content-Disposition: inline In-Reply-To: <20081108114726.GF20311@wo.int.altlinux.org> User-Agent: Mutt/1.5.18 (2008-05-29) Subject: Re: [devel] xconsole-1.0.3-alt2: i586 rebuild failed X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2008 12:39:05 -0000 Archived-At: List-Archive: List-Post: --M9kwpIYUMbI/2cCx Content-Type: multipart/mixed; boundary="cDtQGJ/EJIRf/Cpq" Content-Disposition: inline --cDtQGJ/EJIRf/Cpq Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry V. Levin [081108 14:48]: > =E5=D3=CC=C9 =C5=D3=D4=D8 configure, =D4=CF =D0=D2=CF=D7=C5=D2=C9=D4=D8 = =CE=C1=CC=C9=DE=C9=C5 sys/stropts.h =C9 =D7=D9=CB=CC=C0=DE=C1=D4=D8 =CB=CF= =C4 =D0=CF > HAVE_SYS_STROPTS_H > =E5=D3=CC=C9 =CE=C5=D4 configure, =D4=CF =D7=D9=CB=CC=C0=DE=C1=D4=D8 =CB= =CF=C4 =D0=CF > #ifndef __linux__ =F2=CF=C4=C9=CC =CE=C5=DE=D4=CF (=D7 =C1=D4=D4=C1=DE=C5, =CD=CF=D6=C5=D4 = =CB=CF=CD=D5 =D0=D2=C9=C7=CF=C4=C9=D4=D3=D1). =F1 =D0=D2=C1=D7=C9=CC=D8=CE= =CF =D0=CF=CE=C9=CD=C1=C0, =DE=D4=CF ioctl(fd, I_PUSH, "foobar"); =D5 =CE=C1=D3= =D7=D3=A3 =D2=C1=D7=CE=CF =CE=C9=DE=C5=C7=CF =CE=C5 =C4=C5=CC=C1=CC=C9? --=20 Regards, Sir Raorn. --cDtQGJ/EJIRf/Cpq Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="aterm-STREAMS.patch" Content-Transfer-Encoding: quoted-printable diff --git a/aterm/autoconf/configure.in b/aterm/autoconf/configure.in index a798111..5290532 100644 --- a/aterm/autoconf/configure.in +++ b/aterm/autoconf/configure.in @@ -418,6 +418,7 @@ AC_CHECK_HEADERS( \ sys/ioctl.h \ sys/select.h \ sys/sockio.h \ + sys/stropts.h \ sys/time.h \ ) =20 diff --git a/aterm/src/command.c b/aterm/src/command.c index 70b3cbe..cc9b3a7 100644 --- a/aterm/src/command.c +++ b/aterm/src/command.c @@ -97,7 +97,9 @@ static const char rcsid[] =3D "$Id: command.c,v 1.24 2006= /06/26 18:01:20 sasha Exp =20 #if defined (__svr4__) || defined (__lnx21__) # include /* for struct rlimit */ -# include /* for I_PUSH */ +# ifdef HAVE_SYS_STROPTS_H +# include /* for I_PUSH */ +# endif # define _NEW_TTY_CTRL /* to get proper defines in */ #endif =20 @@ -683,6 +685,7 @@ get_tty(void) exit(EXIT_FAILURE); } #if defined (__svr4__) || defined (__lnx21__) +# ifdef HAVE_SYS_STROPTS_H /* * Push STREAMS modules: * ptem: pseudo-terminal hardware emulation module. @@ -692,6 +695,7 @@ get_tty(void) ioctl(fd, I_PUSH, "ptem"); ioctl(fd, I_PUSH, "ldterm"); ioctl(fd, I_PUSH, "ttcompat"); +# endif #else /* __svr4__ */ { /* change ownership of tty to real uid and real group */ --cDtQGJ/EJIRf/Cpq-- --M9kwpIYUMbI/2cCx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFJFYg9VqT7+fkT8woRAo8SAKChHbmiF55Uha9vGi01d9flH0qabgCg3g8D JpbyDd9NqMfHZfbKJFfp8kg= =TXAO -----END PGP SIGNATURE----- --M9kwpIYUMbI/2cCx--