summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-calculators/tiemu')
-rw-r--r--sci-calculators/tiemu/files/tiemu-3.03-fix-ftbfs-with-customized-abort-function.patch14
-rw-r--r--sci-calculators/tiemu/tiemu-3.03-r1.ebuild1
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() {