Package: xfe / 1.32.5-2

03_xvt-for-all-hurd-kernels.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Package:     xfe
Subject:     xvt for other kernel
Author:      Joachim Wiedorn <ad_debian at joonet.de>
Forwarded:   still in  discussion
Last-Update: 2010-07-17

For xvt inside of xfe there is the need to configure xvt 
depending of the kernel. Adding some code for using with 
variants of the hurd system.
---

diff -urN v05/xvt/ttyinit.c v06/xvt/ttyinit.c
--- v05/xvt/ttyinit.c	2010-07-05 16:47:10.000000000 +0200
+++ v06/xvt/ttyinit.c	2010-07-17 23:14:22.530926344 +0200
@@ -142,7 +142,7 @@
 #endif /* KFREEBSD */
 
 /* GNU HURD */
-#if defined (__hurd__)
+#if defined (__hurd__) || defined (__gnu_hurd__) || defined (__GNU__)
 #include <sys/ioctl.h>
 #include <pty.h>
 #define BSD_PTY