bug-bash
[Top][All Lists]
Advanced

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

patch for bash-3.2 to compile under Debian GNU/Linux 4.0 with DietLibc


From: Antonio Gallo
Subject: patch for bash-3.2 to compile under Debian GNU/Linux 4.0 with DietLibc
Date: Thu, 04 Sep 2008 15:25:08 +0200
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

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)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]