Skip to content

Commit

Permalink
media-gfx/enblend: Fix build with GCC-10
Browse files Browse the repository at this point in the history
Thanks-to: Walter Hüttenmeyer <[email protected]>
Closes: https://bugs.gentoo.org/723306
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Jul 10, 2020
1 parent 0e85e56 commit 98d7c17
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion media-gfx/enblend/enblend-4.2.0_p20161007-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down Expand Up @@ -49,6 +49,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}"/${PN}-4.2-doc-install-dir-fix.patch
"${FILESDIR}"/${P}-cmake.patch
"${FILESDIR}"/${P}-gcc-10.patch
)

src_prepare() {
Expand Down
16 changes: 16 additions & 0 deletions media-gfx/enblend/files/enblend-4.2.0_p20161007-gcc-10.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Fix build with GCC-10.

Thanks-to: Walter Hüttenmeyer
Bug: https://bugs.gentoo.org/724988

--- a/src/minimizer.cc 2016-09-24 11:29:40.000000000 +0200
+++ b/src/minimizer.cc 2020-05-24 13:09:58.199170984 +0200
@@ -19,7 +19,7 @@
*/

#include <gsl/gsl_errno.h>
-
+#include <limits>
#include "minimizer.h"


0 comments on commit 98d7c17

Please sign in to comment.