summaryrefslogtreecommitdiffstats
path: root/debian/patches/fix-internal-hsqldb-build.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/fix-internal-hsqldb-build.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/fix-internal-hsqldb-build.diff')
-rw-r--r--debian/patches/fix-internal-hsqldb-build.diff45
1 files changed, 45 insertions, 0 deletions
diff --git a/debian/patches/fix-internal-hsqldb-build.diff b/debian/patches/fix-internal-hsqldb-build.diff
new file mode 100644
index 000000000..477528515
--- /dev/null
+++ b/debian/patches/fix-internal-hsqldb-build.diff
@@ -0,0 +1,45 @@
+diff -urN hsqldb.old/patches/use-system-servlet-api.jar.diff hsqldb/patches/use-system-servlet-api.jar.diff
+--- a/external/hsqldb/patches/use-system-servlet-api.jar.diff 1970-01-01 01:00:00.000000000 +0100
++++ b/external/hsqldb/patches/use-system-servlet-api.jar.diff 2013-03-19 15:09:42.137801521 +0100
+@@ -0,0 +1,29 @@
++--- misc/hsqldb/build/build.xml
+++++ misc/build/hsqldb/build/build.xml
++@@ -356,7 +356,7 @@
++ optimize="${build.optimize}"
++ >
++ <classpath>
++- <pathelement location="lib/servlet.jar"/>
+++ <pathelement location="/usr/share/java/servlet-api-3.1.jar"/>
++ </classpath>
++ <include name="*.java"/>
++ <include name="org/hsqldb/*.java"/>
++@@ -818,7 +818,7 @@
++ ${src}/org/hsqldb/util/RCData.java,
++ ${src}/org/hsqldb/util/SqlTool.java"
++ destdir="${basedir}/doc/src"
++- classpath="${basedir}/lib/servlet.jar;${basedir}/lib/junit.jar"
+++ classpath="/usr/share/java/servlet-api-3.1.jar;${basedir}/lib/junit.jar"
++ author="true"
++ version="false"
++ use="true"
++@@ -839,7 +839,7 @@
++ <javadoc packagenames="org.hsqldb.*,org.hsqldb.jdbc.*,org.hsqldb.lib.*,org.hsqldb.util.*"
++ sourcepath="${src}"
++ destdir="${basedir}/doc/src"
++- classpath="${basedir}/lib/servlet.jar;${basedir}/lib/junit.jar"
+++ classpath="/usr/share/java/servlet-api-3.1.jar;${basedir}/lib/junit.jar"
++ author="true"
++ version="false"
++ use="true"
+diff --git a/external/hsqldb/UnpackedTarball_hsqldb.mk b/external/hsqldb/UnpackedTarball_hsqldb.mk
+index fc6c18f77c23..e3d553a51236 100644
+--- a/external/hsqldb/UnpackedTarball_hsqldb.mk
++++ b/external/hsqldb/UnpackedTarball_hsqldb.mk
+@@ -28,6 +28,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,hsqldb,\
+ external/hsqldb/patches/jdbc-4.1.patch \
+ external/hsqldb/patches/multipleResultSets.patch \
+ ) \
++ external/hsqldb/patches/use-system-servlet-api.jar.diff \
+ ))
+
+ # vim: set noet sw=4 ts=4: