Accepting request 522291 from Java:packages
Fix build with java 9 OBS-URL: https://build.opensuse.org/request/show/522291 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreadline-java?expand=0&rev=27
This commit is contained in:
commit
6a28c52db4
11
libreadline-java-0.8.0-doclint.patch
Normal file
11
libreadline-java-0.8.0-doclint.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- libreadline-java-0.8.0/Makefile 2003-01-07 11:14:35.000000000 +0100
|
||||||
|
+++ libreadline-java-0.8.0/Makefile 2017-09-08 14:06:15.300416250 +0200
|
||||||
|
@@ -101,7 +101,7 @@
|
||||||
|
apidoc: $(APIDIR)
|
||||||
|
javadoc -sourcepath src -d $(APIDIR) -windowtitle $(WTITLE) \
|
||||||
|
-doctitle $(DTITLE) -footer $(DFOOTER) -header $(DHEADER) \
|
||||||
|
- -bottom $(DBOTTOM) \
|
||||||
|
+ -bottom $(DBOTTOM) -Xdoclint:none \
|
||||||
|
-version -author org.gnu.readline test
|
||||||
|
|
||||||
|
install: jar build-native apidoc
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 8 12:09:01 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
- Added patch:
|
||||||
|
* libreadline-java-0.8.0-doclint.patch
|
||||||
|
- Fix build with jdk9 whose javadoc is more picky
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 9 11:06:12 UTC 2017 - tchvatal@suse.com
|
Fri Jun 9 11:06:12 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ Source1: baselibs.conf
|
|||||||
Patch0: libreadline-java-ncurses.patch
|
Patch0: libreadline-java-ncurses.patch
|
||||||
Patch1: libreadline-java-libdir.patch
|
Patch1: libreadline-java-libdir.patch
|
||||||
Patch2: libreadline-java-0.8.0-missing-return-type.patch
|
Patch2: libreadline-java-0.8.0-missing-return-type.patch
|
||||||
|
Patch3: libreadline-java-0.8.0-doclint.patch
|
||||||
BuildRequires: java-devel >= 1.6.0
|
BuildRequires: java-devel >= 1.6.0
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
BuildRequires: libedit-devel >= 2.9
|
BuildRequires: libedit-devel >= 2.9
|
||||||
@ -56,6 +57,7 @@ wrapper. This package contains the javadoc documentation for it.
|
|||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
find . -name "*.jar" -exec rm -f {} \;
|
find . -name "*.jar" -exec rm -f {} \;
|
||||||
sed -i 's|@LIBDIR@|%{_libdir}|' src/org/gnu/readline/Readline.java
|
sed -i 's|@LIBDIR@|%{_libdir}|' src/org/gnu/readline/Readline.java
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user