Skip to content

Commit

Permalink
dev-vcs/subversion: Fixed creation of docs with USE="java" (bug #5510…
Browse files Browse the repository at this point in the history
…94).

Thanks to Alexander Miller for providing a patch.

Package-Manager: portage-2.3.1
Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
Lars Wendler committed Oct 11, 2016
1 parent 8433db3 commit 4ebaa7e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dev-vcs/subversion/files/subversion-1.8.16-javadoc-nolint.patch
Original file line number Diff line number Diff line change
@@ -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 \
1 change: 1 addition & 0 deletions dev-vcs/subversion/subversion-1.8.16.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions dev-vcs/subversion/subversion-1.9.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ebaa7e

Please sign in to comment.