diff options
Diffstat (limited to 'x11/qt5-qtbase/patches/patch-src_corelib_io_qfilesystemwatcher.cpp')
-rw-r--r-- | x11/qt5-qtbase/patches/patch-src_corelib_io_qfilesystemwatcher.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/qt5-qtbase/patches/patch-src_corelib_io_qfilesystemwatcher.cpp b/x11/qt5-qtbase/patches/patch-src_corelib_io_qfilesystemwatcher.cpp new file mode 100644 index 00000000000..60a4a897a7e --- /dev/null +++ b/x11/qt5-qtbase/patches/patch-src_corelib_io_qfilesystemwatcher.cpp @@ -0,0 +1,24 @@ +$NetBSD: patch-src_corelib_io_qfilesystemwatcher.cpp,v 1.1 2014/12/30 17:23:46 adam Exp $ + +* Add NetBSD support + +--- src/corelib/io/qfilesystemwatcher.cpp.orig 2014-09-11 10:48:06.000000000 +0000 ++++ src/corelib/io/qfilesystemwatcher.cpp +@@ -60,7 +60,7 @@ + # include "qfilesystemwatcher_win_p.h" + #elif defined(USE_INOTIFY) + # include "qfilesystemwatcher_inotify_p.h" +-#elif defined(Q_OS_FREEBSD) || defined(Q_OS_IOS) || (defined(Q_OS_OSX) && MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7) ++#elif defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_IOS) || (defined(Q_OS_OSX) && MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7) + # include "qfilesystemwatcher_kqueue_p.h" + #elif defined(Q_OS_OSX) && MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_6 + # include "qfilesystemwatcher_fsevents_p.h" +@@ -76,7 +76,7 @@ QFileSystemWatcherEngine *QFileSystemWat + // there is a chance that inotify may fail on Linux pre-2.6.13 (August + // 2005), so we can't just new inotify directly. + return QInotifyFileSystemWatcherEngine::create(parent); +-#elif defined(Q_OS_FREEBSD) || defined(Q_OS_IOS) || (defined(Q_OS_OSX) && MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7) ++#elif defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_IOS) || (defined(Q_OS_OSX) && MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7) + return QKqueueFileSystemWatcherEngine::create(parent); + #elif defined(Q_OS_OSX) && MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_6 + return QFseventsFileSystemWatcherEngine::create(parent); |