freebsd-ports/devel/RStudio/files/patch-src_cpp_desktop_DesktopDownloadItemHelper.cpp
Yuri Victorovich cd9e0d60c3 devel/RStudio: Update 1.1.453 -> 1.2.637
Port changes:
* Add to PATCHFILES for corrections that the upstream made needed to build on FreeBSD
* Add USES=ssl
* Add USE_QT5=webengine
* Update GWT_VERSION/GIN_VERSION - versions of side-projects needed to build RStudio
* Implemented the FreeBSD-specific version of getOpenFds included in the PosixSystem.cpp patch
* Added numerous corrections to the PosixSystem.cpp patch
* Now rstudio and other related executables depend on libprocstat.so - corresponding patches were added

Reported by:	portscout
2018-05-31 07:29:11 +00:00

15 lines
739 B
C++

--- src/cpp/desktop/DesktopDownloadItemHelper.cpp.orig 2018-05-30 17:56:35 UTC
+++ src/cpp/desktop/DesktopDownloadItemHelper.cpp
@@ -37,9 +37,9 @@ DownloadHelper::DownloadHelper(QWebEngin
connect(item, &QWebEngineDownloadItem::finished,
this, &DownloadHelper::onFinished);
-
- connect(item, &QWebEngineDownloadItem::isPausedChanged,
- this, &DownloadHelper::onPausedChanged);
+ // exists from 5.10, while FreeBSD kept qt5-webengine at 5.9.5, the handler is empty anyway
+ //connect(item, &QWebEngineDownloadItem::isPausedChanged,
+ // this, &DownloadHelper::onPausedChanged);
connect(item, &QWebEngineDownloadItem::stateChanged,
this, &DownloadHelper::onStateChanged);