Antonio Gallo wrote:
Here you are:

mercurius:/usr/src/BadPenguin# cat bash-3.2-dietlibc.unified-patch
--- build/bash-3.2/lib/sh/winsize.c.orig 2006-07-28 05:57:45.000000000 +0200
+++ build/bash-3.2/lib/sh/winsize.c     2008-09-03 14:56:46.000000000 +0200
@@ -43,6 +43,11 @@

#include <stdio.h>

+/* Antonio Gallo <agx>, Dietlibc under Debian GNU/Linux declare winsize inside termios.h */
+#if !defined(winsize)
+#include <termios.h>
+#endif
+
/* Return the fd from which we are actually getting input. */
#define input_tty() (shell_tty != -1) ? shell_tty : fileno (stderr)

`winsize' is not a define anywhere, so this patch isn't really a good
solution.  A better one would be finding out why the BASH_STRUCT_WINSIZE
macro in aclocal.m4 isn't able to correctly deduce the location of the
`struct winsize' definition.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


Reply via email to