commit:     0881f14b2da1e08e0f038fc5c18aac11bf63cd6c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 12:02:33 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 22 18:31:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0881f14b

media-gfx/meshlab: Fix build with Qt 5.15

Closes: https://bugs.gentoo.org/727764
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/2016.12/meshlab-2016.12-qt-5.15.patch    | 33 ++++++++++++++++++++++
 media-gfx/meshlab/meshlab-2016.12-r4.ebuild        |  1 +
 2 files changed, 34 insertions(+)

diff --git a/media-gfx/meshlab/files/2016.12/meshlab-2016.12-qt-5.15.patch 
b/media-gfx/meshlab/files/2016.12/meshlab-2016.12-qt-5.15.patch
new file mode 100644
index 00000000000..ab052cd69eb
--- /dev/null
+++ b/media-gfx/meshlab/files/2016.12/meshlab-2016.12-qt-5.15.patch
@@ -0,0 +1,33 @@
+From c57222e79f1c7840e1ed01a4abd17d089f5e5185 Mon Sep 17 00:00:00 2001
+From: alemuntoni <muntoni.alessan...@gmail.com>
+Date: Tue, 26 May 2020 12:35:03 +0200
+Subject: [PATCH] missing include
+
+---
+ meshlab/glarea.cpp  | 1 +
+ meshlab/meshlab.pro | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/meshlab/glarea.cpp b/meshlab/glarea.cpp
+index 6c0421062..dfd7af229 100644
+--- a/meshlab/glarea.cpp
++++ b/meshlab/glarea.cpp
+@@ -34,6 +34,7 @@
+ #include <QFileDialog>
+ #include <QClipboard>
+ #include <QLocale>
++#include <QPainterPath>
+ 
+ #include <wrap/gl/picking.h>
+ #include <wrap/qt/trackball.h>
+diff --git a/meshlab/meshlab.pro b/meshlab/meshlab.pro
+index 26ef88d00..842eb5ea5 100644
+--- a/meshlab/meshlab.pro
++++ b/meshlab/meshlab.pro
+@@ -1,5 +1,6 @@
+ # You have to copy the file by hand into the meshlab.app/Contents/Resources 
directory.
+ # ICON += images/meshlab_obj.icns
++QT += gui
+ QT += opengl
+ QT += xml
+ QT += xmlpatterns

diff --git a/media-gfx/meshlab/meshlab-2016.12-r4.ebuild 
b/media-gfx/meshlab/meshlab-2016.12-r4.ebuild
index 35b63858d6b..505a20ab0b5 100644
--- a/media-gfx/meshlab/meshlab-2016.12-r4.ebuild
+++ b/media-gfx/meshlab/meshlab-2016.12-r4.ebuild
@@ -62,6 +62,7 @@ PATCHES=(
        "${FILESDIR}/${PV}/${P}-asString.patch"
        "${FILESDIR}/${PV}/${P}-qprintable.patch"
        "${FILESDIR}/${PV}/${P}-qt-includes.patch"
+       "${FILESDIR}/${PV}/${P}-qt-5.15.patch"
 )
 
 src_prepare() {

Reply via email to