dev-vcs/subversion: Fixed creation of docs with USE="java" (bug #551094).

Thanks to Alexander Miller for providing a patch.

Package-Manager: portage-2.3.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2016-10-11 15:25:21 +02:00
parent 8433db339f
commit 4ebaa7e551
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
With newer versions of javadoc (since JDK-1.8), "make doc-javahl"
reports many errors, causing build failures. Add "-Xdoclint:none"
option to restore old, sloppy behavior.
Patch created for subversion-1.8.16, should work for other other
versions, too.
See <https://bugs.gentoo.org/show_bug.cgi?id=551094>
--- a/Makefile.in
+++ b/Makefile.in
@@ -650,7 +650,7 @@
# Generate API documentation for the JavaHL package.
doc-javahl:
- $(JAVADOC) -d $(abs_builddir)/doc/javadoc \
+ $(JAVADOC) -Xdoclint:none -d $(abs_builddir)/doc/javadoc \
-sourcepath $(top_srcdir)/subversion/bindings/javahl/src \
-link http://java.sun.com/javase/6/docs/api/ \
org.tigris.subversion.javahl \

View File

@@ -70,6 +70,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.8.0-hpux-dso.patch
"${FILESDIR}"/${PN}-fix-parallel-build-support-for-perl-bindings.patch
"${FILESDIR}"/${PN}-1.8.1-revert_bdb6check.patch
"${FILESDIR}"/${PN}-1.8.16-javadoc-nolint.patch
)
want_apache

View File

@@ -70,6 +70,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.8.0-hpux-dso.patch
"${FILESDIR}"/${PN}-fix-parallel-build-support-for-perl-bindings.patch
"${FILESDIR}"/${PN}-1.8.1-revert_bdb6check.patch
"${FILESDIR}"/${PN}-1.8.16-javadoc-nolint.patch
)
want_apache