diff options
| author | Jan Kundrát <jkt@kde.org> | 2018-05-05 10:59:52 +0200 |
|---|---|---|
| committer | Gilles Dartiguelongue <eva@gentoo.org> | 2018-05-22 14:17:03 +0200 |
| commit | 85e6e0e04ae19670b071820947d941e521d1200e (patch) | |
| tree | 315ffe7974d7e6b19ba9cc4c97ada0474eb4152e /dev-cpp/glibmm/glibmm-2.52.1.ebuild | |
| parent | c8db93643969f86705699322499b7de072ce34e9 (diff) | |
| download | gentoo-85e6e0e04ae19670b071820947d941e521d1200e.tar.gz gentoo-85e6e0e04ae19670b071820947d941e521d1200e.tar.bz2 gentoo-85e6e0e04ae19670b071820947d941e521d1200e.zip | |
dev-cpp/glibmm: Fix build with GCC 8
Patch taken from upstream and adapted to actually touch the pregenerated
file shipped with the release tarbal as well. That code appears to have
been always wrong, with no chance to build. This probably means that GCC
8 is suddenly being detected in some other way, making the code use that
include file which was previously apparently kept unused. But anyway,
upstream killed that include in a later release, so let's just let this
build and watch the eventual breakage.
Upstream says:
> Fixed in the glibmm-2-54 branch. No fix is necessary in the master
> branch. The threads.hg and threads.h files don't exist there.
Closes: https://bugs.gentoo.org/654776
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=791711
Closes: https://github.com/gentoo/gentoo/pull/8324
Diffstat (limited to 'dev-cpp/glibmm/glibmm-2.52.1.ebuild')
| -rw-r--r-- | dev-cpp/glibmm/glibmm-2.52.1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-cpp/glibmm/glibmm-2.52.1.ebuild b/dev-cpp/glibmm/glibmm-2.52.1.ebuild index 925442a83aeb..18a948873dbe 100644 --- a/dev-cpp/glibmm/glibmm-2.52.1.ebuild +++ b/dev-cpp/glibmm/glibmm-2.52.1.ebuild @@ -22,6 +22,12 @@ DEPEND="${RDEPEND} " # dev-cpp/mm-common needed for eautoreconf +PATCHES=( + # Fix build with GCC-8 + # https://bugs.gentoo.org/654776 + "${FILESDIR}"/${PN}-fix-threads-gobject.patch +) + src_prepare() { if ! use test; then # don't waste time building tests |
