commit: 3a59fc591d931e381a4a80df9586f8f46a757d5d Author: Christophe Lermytte <gentoo <AT> lermytte <DOT> be> AuthorDate: Sun Jan 26 21:39:24 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Jan 26 21:39:24 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a59fc59
sci-calculators/tiemu: fix missing include * Patch by Debian Bug: https://bugs.gentoo.org/664698 Closes: https://github.com/gentoo/gentoo/pull/14355 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: David Seifert <soap <AT> gentoo.org> ...emu-3.03-fix-ftbfs-with-customized-abort-function.patch | 14 ++++++++++++++ sci-calculators/tiemu/tiemu-3.03-r1.ebuild | 1 + 2 files changed, 15 insertions(+) diff --git a/sci-calculators/tiemu/files/tiemu-3.03-fix-ftbfs-with-customized-abort-function.patch b/sci-calculators/tiemu/files/tiemu-3.03-fix-ftbfs-with-customized-abort-function.patch new file mode 100644 index 00000000000..effcbc12aea --- /dev/null +++ b/sci-calculators/tiemu/files/tiemu-3.03-fix-ftbfs-with-customized-abort-function.patch @@ -0,0 +1,14 @@ +Description: Fix FTBFS error: '"abort" passed 1 arguments, but takes just 0' +Author: Andreas B. Mundt <a...@debian.org> with help from #debian-science (jokva). +Last-Update: 2018-05-19 + +--- a/src/core/uae/sysdeps.h ++++ b/src/core/uae/sysdeps.h +@@ -33,6 +33,7 @@ + #define _GNU_SOURCE + #endif + #include <limits.h> ++#include <stdlib.h> + + // Make sure that the character types take exactly 1 byte. + #if UCHAR_MAX != 0xFF diff --git a/sci-calculators/tiemu/tiemu-3.03-r1.ebuild b/sci-calculators/tiemu/tiemu-3.03-r1.ebuild index 7be3aee95f0..b21f37d0270 100644 --- a/sci-calculators/tiemu/tiemu-3.03-r1.ebuild +++ b/sci-calculators/tiemu/tiemu-3.03-r1.ebuild @@ -32,6 +32,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${P}-remove_depreciated_gtk_calls.patch "${FILESDIR}"/${P}-r2820.patch + "${FILESDIR}"/${P}-fix-ftbfs-with-customized-abort-function.patch ) src_prepare() {