[arch-commits] CVS update of unstable/office/openoffice-base-devel (1 file)

andyrtr at archlinux.org andyrtr at archlinux.org
Mon Oct 15 18:40:06 UTC 2007


    Date: Monday, October 15, 2007 @ 14:40:06
  Author: andyrtr
    Path: /home/cvs-unstable/unstable/office/openoffice-base-devel

   Added: fix-dba-connectivity-i80338_oog680_m1.diff (1.1)

added missing patch


--------------------------------------------+
 fix-dba-connectivity-i80338_oog680_m1.diff |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)


Index: unstable/office/openoffice-base-devel/fix-dba-connectivity-i80338_oog680_m1.diff
diff -u /dev/null unstable/office/openoffice-base-devel/fix-dba-connectivity-i80338_oog680_m1.diff:1.1
--- /dev/null	Mon Oct 15 14:40:06 2007
+++ unstable/office/openoffice-base-devel/fix-dba-connectivity-i80338_oog680_m1.diff	Mon Oct 15 14:40:06 2007
@@ -0,0 +1,26 @@
+--- connectivity/source/drivers/hsqldb/HDriver.cxx
++++ connectivity/source/drivers/hsqldb/HDriver.cxx
+@@ -241,7 +241,11 @@
+ 				aConvertedProperties[nPos].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("JavaDriverClass"));
+ 				aConvertedProperties[nPos++].Value <<= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("org.hsqldb.jdbcDriver"));
+ 				aConvertedProperties[nPos].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("JavaDriverClassPath"));
++#ifdef SYSTEM_HSQLDB
++                aConvertedProperties[nPos++].Value <<= (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(HSQLDB_JAR)) + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" vnd.sun.star.expand:$ORIGIN/classes/sdbc_hsqldb.jar")));
++#else
+ 				aConvertedProperties[nPos++].Value <<= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.expand:$ORIGIN/classes/hsqldb.jar vnd.sun.star.expand:$ORIGIN/classes/sdbc_hsqldb.jar"));
++#endif
+ 				aConvertedProperties[nPos].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IsAutoRetrievingEnabled"));
+ 				aConvertedProperties[nPos++].Value <<= sal_True;
+ 				aConvertedProperties[nPos].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AutoRetrievingStatement"));
+--- connectivity/source/drivers/hsqldb/makefile.mk
++++ connectivity/source/drivers/hsqldb/makefile.mk
+@@ -50,6 +50,9 @@
+ 	@echo "Not building jurt because Java is disabled"
+ .ENDIF
+ 
++.IF "$(SYSTEM_HSQLDB)" == "YES"
++CDEFS+=-DSYSTEM_HSQLDB -DHSQLDB_JAR=\""file://$(HSQLDB_JAR)"\"
++.ENDIF
+ # --- Resources ---------------------------------
+ 
+ SRS1NAME=$(TARGET)




More information about the arch-commits mailing list