diff options
Diffstat (limited to 'app-emulation/x48/x48-0.6.4-r2.ebuild')
-rw-r--r-- | app-emulation/x48/x48-0.6.4-r2.ebuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app-emulation/x48/x48-0.6.4-r2.ebuild b/app-emulation/x48/x48-0.6.4-r2.ebuild index 60123e66d5ad..190b92ee0d07 100644 --- a/app-emulation/x48/x48-0.6.4-r2.ebuild +++ b/app-emulation/x48/x48-0.6.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,11 +7,11 @@ inherit autotools DESCRIPTION="HP48 Calculator Emulator" HOMEPAGE="http://x48.berlios.de/" -SRC_URI="mirror://sourceforge/x48.berlios/${P}.tar.bz2" +SRC_URI="https://downloads.sourceforge.net/x48.berlios/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86" IUSE="readline" RDEPEND=" @@ -22,15 +22,15 @@ DEPEND="${RDEPEND} virtual/pkgconfig x11-libs/libXt" -src_unpack() { - mkdir -p "${S}" - cd "${S}" - unpack ${A} -} +PATCHES=( + "${FILESDIR}"/${P}-static.patch + "${FILESDIR}"/${P}-void_return.patch + ) + +S=${WORKDIR} src_prepare() { default - sed -i '698s/inline/static inline/' src/emulate.c || die eautoreconf } |