Package: gnat-gps
Version: 5.0-11
Severity: important
Tags: patch
Usertags: hurd
User: [email protected]

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
 


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/1342626827.16717.31.camel@x60

Reply via email to