From: Christophe Lermytte Date: Sun, 26 Jan 2020 21:39:24 +0000 (+0100) Subject: sci-calculators/tiemu: fix missing include X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3a59fc591d931e381a4a80df9586f8f46a757d5d;p=gentoo.git 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 --- 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 000000000000..effcbc12aea7 --- /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 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 ++#include + + // 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 7be3aee95f02..b21f37d02707 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() {