Index: head/devel/qt5-core/Makefile =================================================================== --- head/devel/qt5-core/Makefile (revision 446461) +++ head/devel/qt5-core/Makefile (revision 446462) @@ -1,46 +1,46 @@ # $FreeBSD$ PORTNAME= core DISTVERSION= ${QT5_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt core non-graphical module LIB_DEPENDS= libicui18n.so:devel/icu \ libpcre.so:devel/pcre USES= execinfo USE_GNOME= glib20 USE_QT5= qmake_build buildtools_build QT_DIST= base HAS_CONFIGURE= yes # Disable (almost) everything to install minimal qconfig.h. # -no-feature-* adds QT_NO_* (for features which have no switch or # that need to be detected). CONFIGURE_ARGS= -no-accessibility -no-gif -no-libpng -no-libjpeg \ -no-openssl -no-gui -no-widgets -no-cups \ -no-iconv -no-dbus -no-opengl \ -no-alsa -no-egl -no-evdev -no-feature-concurrent \ -no-fontconfig -no-freetype -no-gtk -no-harfbuzz \ -no-libudev -no-pulseaudio -no-xcb -no-xinput2 -no-xkb -no-xcb-xlib \ -no-xkbcommon -no-xrender -no-xshape -no-xsync -no-libinput USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/src/corelib INSTALL_WRKSRC= ${BUILD_WRKSRC} QT_DEFINES= GLIB QT_CONFIG= glib icu .include post-install: # Allow qconfig.h to be customized by single ports. ${AWK} 'BEGIN{print "#include "}{print}' \ ${STAGEDIR}${PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig.h > ${WRKDIR}/qconfig.h ${MV} ${WRKDIR}/qconfig.h ${STAGEDIR}${PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig.h .include Index: head/devel/qt5-core/files/patch-git_fa3940cc =================================================================== --- head/devel/qt5-core/files/patch-git_fa3940cc (nonexistent) +++ head/devel/qt5-core/files/patch-git_fa3940cc (revision 446462) @@ -0,0 +1,37 @@ +From fa3940cc4b5580070f465d1f64a23a69bc925367 Mon Sep 17 00:00:00 2001 +From: Thiago Macieira +Date: Mon, 29 May 2017 14:00:53 -0700 +Subject: [PATCH] QStorageInfo: Pass MNT_NOWAIT to getmntinfo + +This forces the API not to wait for synchronous I/O from the filesystems +and get the information, but instead just use the cached information +directly. It's a good idea if we have an unresponsive FS, like NFS with +an unreachable server. + +Task-number: QTBUG-61096 +Change-Id: Iddeeffb6f4ad4a2894a2fffd14c32f6e90664a63 +Reviewed-by: Tobias C. Berner +Reviewed-by: Shawn Rutledge +Reviewed-by: Edward Welbourne +--- + src/corelib/io/qstorageinfo_unix.cpp | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git src/corelib/io/qstorageinfo_unix.cpp src/corelib/io/qstorageinfo_unix.cpp +index b9c9883609..9072b34f54 100644 +--- src/corelib/io/qstorageinfo_unix.cpp ++++ src/corelib/io/qstorageinfo_unix.cpp +@@ -195,8 +195,12 @@ static bool shouldIncludeFs(const QStorageIterator &it) + + #if defined(Q_OS_BSD4) + ++#ifndef MNT_NOWAIT ++# define MNT_NOWAIT 0 ++#endif ++ + inline QStorageIterator::QStorageIterator() +- : entryCount(::getmntinfo(&stat_buf, 0)), ++ : entryCount(::getmntinfo(&stat_buf, MNT_NOWAIT)), + currentIndex(-1) + { + } Property changes on: head/devel/qt5-core/files/patch-git_fa3940cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property