From f5bb2f1c5d4bb2f447261643faf2ef17310bf724 Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Sun, 13 Sep 2015 17:26:30 -0700 Subject: [PATCH] For MacOSX, get it so that it builds Remove kde_file and comment out parts that used it. Konsole currently builds on OSX but dies upon startup kdelibs4support/src/kdecore/kcmdlineargs.cpp +1492 --- src/ProcessInfo.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ProcessInfo.cpp b/src/ProcessInfo.cpp index afcd6e6b6..55d37f3b5 100644 --- a/src/ProcessInfo.cpp +++ b/src/ProcessInfo.cpp @@ -50,7 +50,6 @@ #if defined(Q_OS_MAC) #include -#include #endif #if defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) @@ -874,6 +873,7 @@ private: int managementInfoBase[4]; size_t mibLength; struct kinfo_proc* kInfoProc; +/* KDE_struct_stat statInfo; // Find the tty device of 'pid' (Example: /dev/ttys001) @@ -922,6 +922,8 @@ private: setPid(aPid); } return true; +*/ + return false; } virtual bool readArguments(int aPid) {