]> git.pld-linux.org Git - packages/abiword.git/commitdiff
- port to new gda/libgnomedb
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 24 Oct 2005 20:36:14 +0000 (20:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    abiword-gda.patch -> 1.1

abiword-gda.patch [new file with mode: 0644]

diff --git a/abiword-gda.patch b/abiword-gda.patch
new file mode 100644 (file)
index 0000000..451b2f7
--- /dev/null
@@ -0,0 +1,31 @@
+diff -urbB abiword-2.4.1.org/abiword-plugins/tools/gda/plugin.m4 abiword-2.4.1/abiword-plugins/tools/gda/plugin.m4
+--- abiword-2.4.1.org/abiword-plugins/tools/gda/plugin.m4      2005-09-25 13:28:14.000000000 +0200
++++ abiword-2.4.1/abiword-plugins/tools/gda/plugin.m4  2005-10-24 22:22:34.922621500 +0200
+@@ -29,7 +29,7 @@
+ # Checks for header files.
+ dnl only unix builds should need this stuff, so why...?
+-PKG_CHECK_MODULES(_abi_gda,[libgda >= 1.2.0 libgnomedb >= 1.2.0],[
++PKG_CHECK_MODULES(_abi_gda,[libgda-2.0 >= 1.2.0 libgnomedb-2.0 >= 1.2.0],[
+       ABI_PLUGIN_REPORT([gda: okay])
+ ],[   ABI_PLUGIN_REPORT([gda: error - libgda and libgnomedb >= 1.2.0 required])
+       abi_plugin_disable=yes
+diff -urbB abiword-2.4.1.org/abiword-plugins/tools/gda/unix/AbiGDA.cpp abiword-2.4.1/abiword-plugins/tools/gda/unix/AbiGDA.cpp
+--- abiword-2.4.1.org/abiword-plugins/tools/gda/unix/AbiGDA.cpp        2005-01-12 18:54:57.000000000 +0100
++++ abiword-2.4.1/abiword-plugins/tools/gda/unix/AbiGDA.cpp    2005-10-24 22:20:32.000000000 +0200
+@@ -283,13 +283,13 @@
+       sql = editable_txt;
+       g_free (editable_txt);
+       
+-      cnc = gda_client_open_connection (connection_pool, dsn_name.utf8_str(), user_name.utf8_str(), password.utf8_str(), GDA_CONNECTION_OPTIONS_READ_ONLY);
++      cnc = gda_client_open_connection (connection_pool, dsn_name.utf8_str(), user_name.utf8_str(), password.utf8_str(), GDA_CONNECTION_OPTIONS_READ_ONLY, 0);
+       if (!GDA_IS_CONNECTION (cnc))
+               return false;
+       
+       /* execute command */
+       cmd = gda_command_new (sql.utf8_str(), GDA_COMMAND_TYPE_SQL, (GdaCommandOptions)0);
+-      recset = gda_connection_execute_single_command (cnc, cmd, NULL);
++      recset = gda_connection_execute_single_command (cnc, cmd, NULL, 0);
+       gda_command_free (cmd);
+       
+       if (recset == NULL || !GDA_IS_DATA_MODEL (recset))
This page took 0.034963 seconds and 4 git commands to generate.