From 92beeeaf95ae2ad45c15f2829ab5b2317ac04589 Mon Sep 17 00:00:00 2001 From: Kacper KoƂodziej Date: Sun, 18 Sep 2016 13:05:33 +0200 Subject: media-plugins/calf: fix cpp14 compilation errors, bug #594116 Gentoo-bug: https://bugs.gentoo.org/show_bug.cgi?id=594116 Change types of some numbers: * from float to double * casts some variables to types required by context Closes: https://github.com/gentoo/gentoo/pull/2356 Signed-off-by: David Seifert --- media-plugins/calf/calf-0.0.60.ebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'media-plugins/calf/calf-0.0.60.ebuild') diff --git a/media-plugins/calf/calf-0.0.60.ebuild b/media-plugins/calf/calf-0.0.60.ebuild index 3a0b8061f503..f4a90b7a806c 100644 --- a/media-plugins/calf/calf-0.0.60.ebuild +++ b/media-plugins/calf/calf-0.0.60.ebuild @@ -36,6 +36,10 @@ RDEPEND="dev-libs/atk DEPEND="${RDEPEND} virtual/pkgconfig" +PATCHES=( + "${FILESDIR}/${P}-cpp14.patch" # bug #594116 +) + src_configure() { myeconfargs=( --with-lv2-dir=/usr/$(get_libdir)/lv2 -- cgit v1.2.3-65-gdbad