diff options
author | Christophe Lermytte <gentoo@lermytte.be> | 2020-01-26 22:39:24 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-01-26 22:39:24 +0100 |
commit | 3a59fc591d931e381a4a80df9586f8f46a757d5d (patch) | |
tree | 0d429e7c8bdd90a15a60b44b3e676b3202fa406a /sci-calculators/tiemu | |
parent | dev-python/drf-yasg: 1.17.0 bump (diff) | |
download | gentoo-3a59fc591d931e381a4a80df9586f8f46a757d5d.tar.gz gentoo-3a59fc591d931e381a4a80df9586f8f46a757d5d.tar.bz2 gentoo-3a59fc591d931e381a4a80df9586f8f46a757d5d.zip |
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@gentoo.org>
Diffstat (limited to 'sci-calculators/tiemu')
-rw-r--r-- | sci-calculators/tiemu/files/tiemu-3.03-fix-ftbfs-with-customized-abort-function.patch | 14 | ||||
-rw-r--r-- | sci-calculators/tiemu/tiemu-3.03-r1.ebuild | 1 |
2 files changed, 15 insertions, 0 deletions
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 <andi@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 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() { |