summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-misc/fortune-mod-osfortune/files/spelling.patch4
-rw-r--r--games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild11
2 files changed, 8 insertions, 7 deletions
diff --git a/games-misc/fortune-mod-osfortune/files/spelling.patch b/games-misc/fortune-mod-osfortune/files/spelling.patch
index 2871ec2c00e3..70929db65b9e 100644
--- a/games-misc/fortune-mod-osfortune/files/spelling.patch
+++ b/games-misc/fortune-mod-osfortune/files/spelling.patch
@@ -1,5 +1,5 @@
---- osfortune.orig 2004-08-18 07:40:54.000000000 -0400
-+++ osfortune 2004-08-19 07:14:41.008409016 -0400
+--- a/osfortune
++++ b/osfortune
@@ -15,7 +15,7 @@
-- Bruce Perens, on the future of Open Source software. (Open Sources, 1999 O'Reilly and Associates)
diff --git a/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild b/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
index 4f66714592db..2c8783a0b9a3 100644
--- a/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
+++ b/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
@@ -1,25 +1,26 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils
+EAPI=7
DESCRIPTION="Open sources fortune file"
HOMEPAGE="https://web.archive.org/web/20030803031143/http://www.dibona.com/opensources/index.shtml"
SRC_URI="https://web.archive.org/web/20030919200547/http://www.dibona.com/opensources/osfortune.tar.gz"
+S="${WORKDIR}"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
-IUSE=""
DEPEND="games-misc/fortune-mod"
RDEPEND="${DEPEND}"
-S=${WORKDIR}
+PATCHES=(
+ "${FILESDIR}"/spelling.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/spelling.patch
+ default
strfile osfortune || die
}