pkgsrc/x11/kdelibs4/patches/patch-ah

14 lines
447 B
Text
Raw Normal View History

2012-03-19 12:28:48 +01:00
$NetBSD: patch-ah,v 1.2 2012/03/19 11:28:49 markd Exp $
2012-03-19 12:28:48 +01:00
--- kpty/kptydevice.cpp.orig 2011-04-01 13:55:51.000000000 +0000
+++ kpty/kptydevice.cpp
2012-03-19 12:28:48 +01:00
@@ -44,7 +44,7 @@
# include <sys/time.h>
#endif
-#if defined(Q_OS_FREEBSD) || defined(Q_OS_MAC)
+#if defined(Q_OS_FREEBSD) || defined(Q_OS_MAC) || defined(Q_OS_NETBSD)
// "the other end's output queue size" - kinda braindead, huh?
# define PTY_BYTES_AVAILABLE TIOCOUTQ
#elif defined(TIOCINQ)