commit: cedb9aa7c5f9978ffce04f0f2579e39a1c0f6064
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 19 07:30:46 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 19 07:34:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cedb9aa7
games-emulation/atari800: Update the patch to work against -p1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
games-emulation/atari800/atari800-4.2.0-r1.ebuild | 8 +++++---
.../atari800/files/atari800-3.1.0-tgetent-detection.patch | 4 ++--
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/games-emulation/atari800/atari800-4.2.0-r1.ebuild
b/games-emulation/atari800/atari800-4.2.0-r1.ebuild
index a791f33ba0c..7e119486988 100644
--- a/games-emulation/atari800/atari800-4.2.0-r1.ebuild
+++ b/games-emulation/atari800/atari800-4.2.0-r1.ebuild
@@ -37,10 +37,12 @@ BDEPEND="
"
src_prepare() {
- default
+ local PATCHES=(
+ # Bug 544608
+ "${FILESDIR}"/atari800-3.1.0-tgetent-detection.patch
+ )
- # Bug 544608
- eapply -p2 "${FILESDIR}/atari800-3.1.0-tgetent-detection.patch"
+ default
eautoreconf
}
diff --git
a/games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch
b/games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch
index 018e423af6b..487577e5b1a 100644
--- a/games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch
+++ b/games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch
@@ -1,6 +1,6 @@
diff -ruN atari800-3.1.0/src/configure.ac new/src/configure.ac
---- atari800-3.1.0/src/configure.ac 2014-04-12 15:58:16.000000000 +0200
-+++ new/src/configure.ac 2015-03-26 23:36:24.419178078 +0100
+--- src/configure.ac 2014-04-12 15:58:16.000000000 +0200
++++ src/configure.ac 2015-03-26 23:36:24.419178078 +0100
@@ -982,7 +982,7 @@
dnl existence of the tgetent symbol in readline. If not, we search for tgetent
dnl in a few other libraries. All done with a single AC_SEARCH_LIBS statement.