Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698198 - sci-mathematics/rkward-0.7.0b : ebuild needs a patch
Summary: sci-mathematics/rkward-0.7.0b : ebuild needs a patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-21 12:12 UTC by Helmut Jarausch
Modified: 2019-10-21 12:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2019-10-21 12:12:55 UTC
Compilation fails with
rkward/windows/rktoolwindowbar.cpp: 
 In member function 'void RKToolWindowBar::setSplitter(QSplitter*)':
rkward/windows/rktoolwindowbar.cpp:116:6: 
error: expected type-specifier before 'QHBoxLayout'

This can be fixed with the following addition to the ebuild

src_prepare() {
	cmake-utils_src_prepare
	sed -i -e '/include <QPointer>/a \
#include <QHBoxLayout>' rkward/windows/rkworkplace.h || die
	eapply_user
}
Comment 1 Andreas Sturmlechner gentoo-dev 2019-10-21 12:15:48 UTC
Proper patch please, no sed.
Comment 2 Andreas Sturmlechner gentoo-dev 2019-10-21 12:16:00 UTC
missing emerge --info, missing build.log.
Comment 3 Larry the Git Cow gentoo-dev 2019-10-21 12:28:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0cecc84ef03cbd65782dfee4f5caec81ced0f1e

commit e0cecc84ef03cbd65782dfee4f5caec81ced0f1e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-10-21 12:26:59 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-10-21 12:28:17 +0000

    sci-mathematics/rkward: Fix build with Qt 5.13 (?)
    
    Reported-by: Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
    Closes: https://bugs.gentoo.org/698198
    Package-Manager: Portage-2.3.77, Repoman-2.3.17
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../rkward/files/rkward-0.7.0b-qt-5.13-1.patch     | 23 +++++++++++++++
 .../rkward/files/rkward-0.7.0b-qt-5.13-2.patch     | 23 +++++++++++++++
 .../rkward/files/rkward-0.7.0b-qt-5.13-3.patch     | 33 ++++++++++++++++++++++
 sci-mathematics/rkward/rkward-0.7.0b.ebuild        |  2 ++
 4 files changed, 81 insertions(+)