diff options
author | Sam James <sam@gentoo.org> | 2021-04-19 10:04:16 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-19 20:11:25 +0100 |
commit | 79fc004e3472e55e8dd0cb31a5aded9fae97f580 (patch) | |
tree | bb652b6a4c78b93e60f1f5392b711ab4bed7e25b /app-text/txt2pdbdoc | |
parent | app-text/xlhtml: port to EAPI 7 (diff) | |
download | gentoo-79fc004e3472e55e8dd0cb31a5aded9fae97f580.tar.gz gentoo-79fc004e3472e55e8dd0cb31a5aded9fae97f580.tar.bz2 gentoo-79fc004e3472e55e8dd0cb31a5aded9fae97f580.zip |
app-text/txt2pdbdoc: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/txt2pdbdoc')
-rw-r--r-- | app-text/txt2pdbdoc/files/txt2pdbdoc-1.4.4-implicit-decl-getopt.patch | 10 | ||||
-rw-r--r-- | app-text/txt2pdbdoc/txt2pdbdoc-1.4.4.ebuild | 15 |
2 files changed, 21 insertions, 4 deletions
diff --git a/app-text/txt2pdbdoc/files/txt2pdbdoc-1.4.4-implicit-decl-getopt.patch b/app-text/txt2pdbdoc/files/txt2pdbdoc-1.4.4-implicit-decl-getopt.patch new file mode 100644 index 000000000000..777d0e0e130e --- /dev/null +++ b/app-text/txt2pdbdoc/files/txt2pdbdoc-1.4.4-implicit-decl-getopt.patch @@ -0,0 +1,10 @@ +--- a/txt2pdbdoc.c ++++ b/txt2pdbdoc.c +@@ -25,6 +25,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <unistd.h> + + /* local */ + #include "palm.h" diff --git a/app-text/txt2pdbdoc/txt2pdbdoc-1.4.4.ebuild b/app-text/txt2pdbdoc/txt2pdbdoc-1.4.4.ebuild index 5b2215cf8c73..a40e3f9e28c1 100644 --- a/app-text/txt2pdbdoc/txt2pdbdoc-1.4.4.ebuild +++ b/app-text/txt2pdbdoc/txt2pdbdoc-1.4.4.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 inherit autotools @@ -12,14 +12,21 @@ SRC_URI="http://homepage.mac.com/pauljlucas/software/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc sparc x86" -IUSE="" DEPEND="dev-lang/perl" RDEPEND="${DEPEND}" DOCS=( AUTHORS README ChangeLog ) +PATCHES=( + "${FILESDIR}"/${PN}-1.4.4-implicit-decl-getopt.patch +) + src_prepare() { - sed -i -e "/^CFLAGS/d" configure.in + default + + sed -i -e "/^CFLAGS/d" configure.in || die + mv configure.{in,ac} || die + eautoreconf } |