diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-03 22:16:52 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-06 07:56:28 +0700 |
commit | a381363a4877f4129521048db420101c541a28d4 (patch) | |
tree | 63c7c8c88aa7ace89dc15541078a4f76b1a3b59d | |
parent | 796c859cddc83fec0fd1a2a44d41c7d830718d51 (diff) |
office/fop: Fix build against newer JDK.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | office/fop/fop.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/office/fop/fop.SlackBuild b/office/fop/fop.SlackBuild index fa61b476c3f63..df361192a03be 100644 --- a/office/fop/fop.SlackBuild +++ b/office/fop/fop.SlackBuild @@ -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 |