summaryrefslogtreecommitdiffstats
path: root/debian/patches/jdbc-driver-classpaths.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/jdbc-driver-classpaths.diff')
-rw-r--r--debian/patches/jdbc-driver-classpaths.diff35
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/patches/jdbc-driver-classpaths.diff b/debian/patches/jdbc-driver-classpaths.diff
new file mode 100644
index 000000000..8f4a1660e
--- /dev/null
+++ b/debian/patches/jdbc-driver-classpaths.diff
@@ -0,0 +1,35 @@
+diff --git a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
+index 9be30a2..59c87cb 100644
+--- a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
++++ b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
+@@ -147,6 +147,30 @@
+ </node>
+ </node>
+ </node>
++ <node oor:name="JDBC">
++ <node oor:name="DriverClassPaths">
++ <node oor:name="org.mariadb.jdbc.Driver" oor:op="replace">
++ <prop oor:name="Path">
++ <value>file:///usr/share/java/mariadb-java-client.jar</value>
++ </prop>
++ </node>
++ <node oor:name="com.mysql.jdbc.Driver" oor:op="replace">
++ <prop oor:name="Path">
++ <value>file:///usr/share/java/mysql.jar</value>
++ </prop>
++ </node>
++ <node oor:name="org.postgresql.Driver" oor:op="replace">
++ <prop oor:name="Path">
++ <value>file:///usr/share/java/posgresql.jar</value>
++ </prop>
++ </node>
++ <node oor:name="net.sourceforge.jtds.jdbc.Driver" oor:op="replace">
++ <prop oor:name="Path">
++ <value>file:///usr/share/java/jtds.jar</value>
++ </prop>
++ </node>
++ </node>
++ </node>
+ <node oor:name="RegisteredNames">
+ <node oor:name="EvolutionLocal" oor:op="replace" install:module="evoab2">
+ <prop oor:name="Location" oor:type="xs:string">