summaryrefslogtreecommitdiffstats
path: root/debian/patches/system-officeotron-and-odfvalidator.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:52:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:52:12 +0000
commit974c21ad33bfa1d93d5ae795556d35ca7eb36e68 (patch)
tree1a0d7c0258aadfcd993c4bffa454bcf117b382cf /debian/patches/system-officeotron-and-odfvalidator.diff
parentAdding upstream version 1:7.0.4. (diff)
downloadlibreoffice-974c21ad33bfa1d93d5ae795556d35ca7eb36e68.tar.xz
libreoffice-974c21ad33bfa1d93d5ae795556d35ca7eb36e68.zip
Adding debian version 1:7.0.4-4+deb11u8.debian/1%7.0.4-4+deb11u8
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/system-officeotron-and-odfvalidator.diff')
-rw-r--r--debian/patches/system-officeotron-and-odfvalidator.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/system-officeotron-and-odfvalidator.diff b/debian/patches/system-officeotron-and-odfvalidator.diff
new file mode 100644
index 000000000..971608ef9
--- /dev/null
+++ b/debian/patches/system-officeotron-and-odfvalidator.diff
@@ -0,0 +1,16 @@
+diff --git a/bin/odfvalidator.sh.in b/bin/odfvalidator.sh.in
+index 56e2f29..9415ef6 100644
+--- a/bin/odfvalidator.sh.in
++++ b/bin/odfvalidator.sh.in
+@@ -1,2 +1,2 @@
+ #!/usr/bin/env bash
+-java -Djavax.xml.validation.SchemaFactory:http://relaxng.org/ns/structure/1.0=org.iso_relax.verifier.jaxp.validation.RELAXNGSchemaFactoryImpl -Dorg.iso_relax.verifier.VerifierFactoryLoader=com.sun.msv.verifier.jarv.FactoryLoaderImpl -jar @TARFILE_LOCATION@/@ODFVALIDATOR_JAR@ "$@"
++java -Djavax.xml.validation.SchemaFactory:http://relaxng.org/ns/structure/1.0=org.iso_relax.verifier.jaxp.validation.RELAXNGSchemaFactoryImpl -Dorg.iso_relax.verifier.VerifierFactoryLoader=com.sun.msv.verifier.jarv.FactoryLoaderImpl -jar /usr/share/java/odfvalidator.jar "$@"
+diff --git a/bin/officeotron.sh.in b/bin/officeotron.sh.in
+index 7281f1b..6eab5b5 100644
+--- a/bin/officeotron.sh.in
++++ b/bin/officeotron.sh.in
+@@ -1,2 +1,2 @@
+ #!/usr/bin/env bash
+-java -jar @TARFILE_LOCATION@/@OFFICEOTRON_JAR@ "$@"
++java -jar /usr/share/java/officeotron.jar "$@"