<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e3567ccea11bee2ee6f8b62367d2159afeebd6b8">https://github.com/macports/macports-ports/commit/e3567ccea11bee2ee6f8b62367d2159afeebd6b8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e3567ccea11bee2ee6f8b62367d2159afeebd6b8
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Dec 13 16:24:35 2020 -0800
<span style='display:block; white-space:pre;color:#404040;'> qt5-qtwebkit-examples: add missing header
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> fixes build against qt 5.15.2
</span><span style='display:block; white-space:pre;color:#404040;'> revbump to rebuild
</span>---
aqua/qt5/Portfile | 5 ++++-
.../files/patch-qtwebkit-examples-browser-qpainterpath.diff | 10 ++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt5/Portfile b/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b97c968b587..11b7eceedc7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -672,7 +672,7 @@ array set modules {
</span> {"examples for Qt WebKit"}
"community support only (use Qt WebEngine)"
"variant overrides: ++examples ~docs "
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "revision 3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 4"
</span> "License: "
}
qtwebsockets {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1487,6 +1487,9 @@ foreach {module module_info} [array get modules] {
</span> if { ${module} eq "qtwebkit-examples" } {
# in Qt 5.12, qmake changed how it generated Makefiles
patchfiles-append patch-qtwebkit-examples_header_location.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # in Qt 5.15.2, need one additional header
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-qtwebkit-examples-browser-qpainterpath.diff
</span> }
# special case
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt5/files/patch-qtwebkit-examples-browser-qpainterpath.diff b/aqua/qt5/files/patch-qtwebkit-examples-browser-qpainterpath.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..bab686ad4ea
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt5/files/patch-qtwebkit-examples-browser-qpainterpath.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- examples/webkitwidgets/browser/searchlineedit.cpp.orig 2020-12-13 16:11:46.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ examples/webkitwidgets/browser/searchlineedit.cpp 2020-12-13 16:14:09.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -34,6 +34,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "searchlineedit.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <QtGui/QPainter>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <QtGui/QPainterPath>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <QtGui/QMouseEvent>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <QtWidgets/QMenu>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <QtWidgets/QStyle>
</span></pre><pre style='margin:0'>
</pre>