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

Bug#682001: gnat-gps: FTBFS on GNU/Hurd



Package: gnat-gps
Version: 5.0-11
Severity: important
Tags: patch
Usertags: hurd
User: debian-hurd@lists.debian.org

Hello,

The following small patch inlined below makes gnat-gps build properly
on GNU/Hurd, when the patches for #681998 and #673015 (libgtkada
build-depends on gprbuild) are applied. Thanks! The patch avoids
inclusion of <termio.h> since it is absent also for GNU/Hurd. 

--- a/common/tty/terminals.c    2012-07-17 22:46:24.000000000 +0200
+++ b/common/tty/terminals.c    2012-07-17 23:26:27.000000000 +0200
@@ -43,7 +43,7 @@
 
 /* On some system termio is either absent or including it will disable
termios
    (HP-UX) */
-#if ! defined (__hpux__) && ! defined (FREEBSD) && ! defined
(__APPLE__)
+#if ! defined (__hpux__) && ! defined (FREEBSD) && ! defined
(__APPLE__) && ! defined (__GNU__)
 #   include <termio.h>
 #endif
 


Reply to: