diff --git a/fix-javadoc-java8.patch b/fix-javadoc-java8.patch new file mode 100644 index 0000000..999cfe1 --- /dev/null +++ b/fix-javadoc-java8.patch @@ -0,0 +1,12 @@ +Index: fop-2.1/build.xml +=================================================================== +--- fop-2.1.orig/build.xml ++++ fop-2.1/build.xml +@@ -963,6 +963,7 @@ NOTE: + doctitle="Apache Formatting Objects Processor (FOP)" + bottom="Copyright ${year} The Apache Software Foundation. All Rights Reserved." + overview="${src.dir}/java/org/apache/fop/overview.html" ++ additionalparam="--allow-script-in-comments" + maxmemory="256M"> +
+ diff --git a/xmlgraphics-fop.spec b/xmlgraphics-fop.spec index 672468b..a94f397 100644 --- a/xmlgraphics-fop.spec +++ b/xmlgraphics-fop.spec @@ -38,6 +38,7 @@ Source11: %{name}-fontmetrics.xml Source12: %{name}-fontlist.xml Patch1: xmlgraphics-fop-cli.patch Patch2: hyphenation-more-stack.patch +Patch3: fix-javadoc-java8.patch BuildRequires: ant >= 1.6.5 BuildRequires: apache-commons-io >= 2.4 BuildRequires: apache-commons-logging @@ -86,6 +87,7 @@ find -name "*.jar" | xargs -t rm rm src/java/org/apache/fop/util/bitmap/JAIMonochromeBitmapConverter.java %patch1 -p1 -b .cli %patch2 -p1 +%patch3 -p1 cp %{SOURCE2} %{SOURCE3} %{SOURCE4} . # Replace keyword "VERSION" in XML files with the real one: