summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOvidiu-Dan Bogat <4z0r@ovidiu.at>2020-03-21 16:07:51 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-03-25 15:45:24 +0200
commitf8448ce2f5cf828cdf63df45f52eb643cb9a937c (patch)
tree972dfbe692c80d5d0fde4a459a765e207bb77612 /app-text
parentdev-python/patch-ng: use EPYTHON in python_test() (diff)
downloadgentoo-f8448ce2f5cf828cdf63df45f52eb643cb9a937c.tar.gz
gentoo-f8448ce2f5cf828cdf63df45f52eb643cb9a937c.tar.bz2
gentoo-f8448ce2f5cf828cdf63df45f52eb643cb9a937c.zip
app-text/robodoc: revision to build against musl
Closes: https://bugs.gentoo.org/713616 Signed-off-by: Ovidiu-Dan Bogat <ovi@ovidiu.at> Package-Manager: Portage-2.3.89, Repoman-2.3.20 Closes: https://github.com/gentoo/gentoo/pull/15035 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/robodoc/files/robodoc-4.99.43_clean_libc.patch13
-rw-r--r--app-text/robodoc/robodoc-4.99.43-r1.ebuild32
2 files changed, 45 insertions, 0 deletions
diff --git a/app-text/robodoc/files/robodoc-4.99.43_clean_libc.patch b/app-text/robodoc/files/robodoc-4.99.43_clean_libc.patch
new file mode 100644
index 000000000000..db2b112641a8
--- /dev/null
+++ b/app-text/robodoc/files/robodoc-4.99.43_clean_libc.patch
@@ -0,0 +1,13 @@
+diff --git a/Source/troff_generator.c b/Source/troff_generator.c
+index 1b123b8..94ddcda 100644
+--- a/Source/troff_generator.c
++++ b/Source/troff_generator.c
+@@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ #include <ctype.h>
+
+ #include <sys/param.h>
+-#include <sys/unistd.h>
++#include <unistd.h>
+
+ #include "troff_generator.h"
+ #include "util.h"
diff --git a/app-text/robodoc/robodoc-4.99.43-r1.ebuild b/app-text/robodoc/robodoc-4.99.43-r1.ebuild
new file mode 100644
index 000000000000..483fe4424f20
--- /dev/null
+++ b/app-text/robodoc/robodoc-4.99.43-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Automating Software Documentation"
+HOMEPAGE="https://www.xs4all.nl/~rfsber/Robo/robodoc.html"
+SRC_URI="https://rfsber.home.xs4all.nl/Robo/archives/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+PATCHES=(
+ "${FILESDIR}/${P}_clean_libc.patch"
+ )
+
+RDEPEND=">=dev-util/ctags-5.3.1"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ default
+
+ insinto /usr/share/${PN}
+ doins Contributions/*
+
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins -r Examples/PerlExample
+ fi
+}