* 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>
--- /dev/null
+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
PATCHES=(
"${FILESDIR}"/${P}-remove_depreciated_gtk_calls.patch
"${FILESDIR}"/${P}-r2820.patch
+ "${FILESDIR}"/${P}-fix-ftbfs-with-customized-abort-function.patch
)
src_prepare() {