pkgsrc/devel/kpty/patches/patch-src_kptydevice.cpp
markd edbfdcbdb8 Add KDE Frameworks 5.21.0 packages:
kbookmarks - Support for bookmarks and the XBEL format
kcmutils - Utilities for interacting with KCModules
kconfig - Configuration system
kcoreaddons - Addons to QtCore
kcrash - Support for application crash analysis and bug report from apps
kdeclarative - Provides integration of QML and KDE Frameworks
kdoctools - Documentation generation from docbook
ki18n - Advanced internationalization framework
kidletime - Monitoring user activity
kio - Resource and network access abstraction
kitemmodels - Models for Qt Model/View system
knotifications - Abstraction for system notifications
knotifyconfig - Configuration system for KNotify
kpackage - Installation and loading of additional content as packages
kparts - Document centric plugin system
kpeople - Provides access to all contacts and aggregates them by person
kpty - Pty abstraction
kservice - Advanced plugin and service introspection
ktexteditor - Advanced embeddable text editor
threadweaver - High-level multithreading framework
2016-05-26 08:29:04 +00:00

15 lines
480 B
C++

$NetBSD: patch-src_kptydevice.cpp,v 1.1 2016/05/26 08:29:06 markd Exp $
NetBSD like FreeBSD
--- src/kptydevice.cpp.orig 2016-04-03 21:01:19.000000000 +0000
+++ src/kptydevice.cpp
@@ -43,7 +43,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)