Index: head/x11-themes/qt5-style-plugins/Makefile =================================================================== --- head/x11-themes/qt5-style-plugins/Makefile (revision 541465) +++ head/x11-themes/qt5-style-plugins/Makefile (revision 541466) @@ -1,32 +1,30 @@ # Created by: Marie Loise Nolden # $FreeBSD$ PORTNAME= qt5-style-plugins DISTVERSIONPREFIX= v DISTVERSION= 5.0.0-23 DISTVERSIONSUFFIX= -g335dbe PORTREVISION= 8 CATEGORIES= x11-themes DIST_SUBDIR= KDE/Qt/addons MAINTAINER= kde@FreeBSD.org COMMENT= Additional Styles for Qt 5 and KDE LICENSE= LGPL21 -BROKEN= Not compatible with modern Qt - LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= compiler:c++11-lang gettext-runtime gl gnome pkgconfig qmake \ qt:5 xorg USE_GITHUB= yes GH_ACCOUNT= qt GH_PROJECT= qtstyleplugins USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango USE_QT= core dbus gui widgets buildtools_build USE_GL= gl USE_XORG= x11 xext .include Index: head/x11-themes/qt5-style-plugins/files/patch-fix_build_against_qt5.15 =================================================================== --- head/x11-themes/qt5-style-plugins/files/patch-fix_build_against_qt5.15 (nonexistent) +++ head/x11-themes/qt5-style-plugins/files/patch-fix_build_against_qt5.15 (revision 541466) @@ -0,0 +1,43 @@ +From 335dbece103e2cbf6c7cf819ab6672c2956b17b3 Mon Sep 17 00:00:00 2001 +From: Fabian Vogt +Date: Thu, 28 May 2020 12:35:42 +0200 +Subject: [PATCH] fix build against Qt 5.15 + +With 0a93db4d82c051164923a10e4382b12de9049b45 ("Unify application +palette handling between QGuiApplication and QApplication") +QApplicationPrivate::setSystemPalette is no longer used and necessary. +--- + src/plugins/styles/gtk2/qgtkstyle.cpp | 2 ++ + src/plugins/styles/gtk2/qgtkstyle_p.cpp | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/src/plugins/styles/gtk2/qgtkstyle.cpp b/src/plugins/styles/gtk2/qgtkstyle.cpp +index 36169c9..2544593 100644 +--- src/plugins/styles/gtk2/qgtkstyle.cpp ++++ src/plugins/styles/gtk2/qgtkstyle.cpp +@@ -440,7 +440,9 @@ void QGtkStyle::polish(QApplication *app) + // not supported as these should be entirely determined by + // current Gtk settings + if (app->desktopSettingsAware() && d->isThemeAvailable()) { ++#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) + QApplicationPrivate::setSystemPalette(standardPalette()); ++#endif + QApplicationPrivate::setSystemFont(d->getThemeFont()); + d->applyCustomPaletteHash(); + if (!d->isKDE4Session()) +diff --git a/src/plugins/styles/gtk2/qgtkstyle_p.cpp b/src/plugins/styles/gtk2/qgtkstyle_p.cpp +index e57b3d8..e71beb0 100644 +--- src/plugins/styles/gtk2/qgtkstyle_p.cpp ++++ src/plugins/styles/gtk2/qgtkstyle_p.cpp +@@ -508,7 +508,9 @@ void QGtkStyleUpdateScheduler::updateTheme() + if (oldTheme != QGtkStylePrivate::getThemeName()) { + oldTheme = QGtkStylePrivate::getThemeName(); + QPalette newPalette = qApp->style()->standardPalette(); ++#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) + QApplicationPrivate::setSystemPalette(newPalette); ++#endif + QApplication::setPalette(newPalette); + if (!QGtkStylePrivate::instances.isEmpty()) { + QGtkStylePrivate::instances.last()->initGtkWidgets(); +-- +2.26.2 Property changes on: head/x11-themes/qt5-style-plugins/files/patch-fix_build_against_qt5.15 ___________________________________________________________________ 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