office/fop: Fix build against newer JDK.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
796c859cdd
commit
a381363a48
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=fop
|
||||
VERSION=${VERSION:-2.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -69,8 +69,10 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Fix an Issue with Java 8 thanks BLFS =]
|
||||
sed -i '\@</javad@i<arg value="-Xdoclint:none"/>' build.xml
|
||||
# Fix an Issue with Java 8 thanks LFS =]
|
||||
sed -i '\@</javad@i\
|
||||
<arg value="-Xdoclint:none"/>\
|
||||
<arg value="--allow-script-in-comments"/>' build.xml
|
||||
|
||||
# Compiles with apache-ant:
|
||||
ant compile
|
||||
|
|
Loading…
Reference in New Issue