summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2009-01-01 10:22:07 +0000
committerHans de Graaff <graaff@gentoo.org>2009-01-01 10:22:07 +0000
commitcaea683f4914d3dd8ccc99c36c50b084539a3ca0 (patch)
treee1885e6d0bc5b285455ee13e099c0cb4f0acaa86 /app-office/mdbtools/files
parentVersion bump (diff)
downloadgentoo-2-caea683f4914d3dd8ccc99c36c50b084539a3ca0.tar.gz
gentoo-2-caea683f4914d3dd8ccc99c36c50b084539a3ca0.tar.bz2
gentoo-2-caea683f4914d3dd8ccc99c36c50b084539a3ca0.zip
Version bump to lastest CVS version
Diffstat (limited to 'app-office/mdbtools/files')
-rw-r--r--app-office/mdbtools/files/mdbtools-0.6_pre2-as-needed.patch11
-rw-r--r--app-office/mdbtools/files/mdbtools-0.6_pre2-gcc34.patch35
2 files changed, 46 insertions, 0 deletions
diff --git a/app-office/mdbtools/files/mdbtools-0.6_pre2-as-needed.patch b/app-office/mdbtools/files/mdbtools-0.6_pre2-as-needed.patch
new file mode 100644
index 000000000000..fc424b6d62da
--- /dev/null
+++ b/app-office/mdbtools/files/mdbtools-0.6_pre2-as-needed.patch
@@ -0,0 +1,11 @@
+--- src/odbc/Makefile.am.orig 2006-07-26 14:05:55.000000000 +0200
++++ src/odbc/Makefile.am 2006-07-26 14:06:02.000000000 +0200
+@@ -15,7 +15,7 @@
+ $(patsubst %.c, %.lo, $(SQLSOURCES))) \
+ $(patsubst %, $(MDBDIR)/%, \
+ $(patsubst %.c, %.lo, $(MDBSOURCES)))
+-LIBS = @LEXLIB@ $(GLIB_LIBS) $(ODBC_LIBS)
++LIBS = @LEXLIB@ $(GLIB_LIBS) $(ODBC_LIBS) -lm
+ unittest_LDADD = libmdbodbc.la ../libmdb/libmdb.la ../sql/libmdbsql.la
+
+ ## Need blank statement to avoid compiling odbc.c
diff --git a/app-office/mdbtools/files/mdbtools-0.6_pre2-gcc34.patch b/app-office/mdbtools/files/mdbtools-0.6_pre2-gcc34.patch
new file mode 100644
index 000000000000..9adf31caa191
--- /dev/null
+++ b/app-office/mdbtools/files/mdbtools-0.6_pre2-gcc34.patch
@@ -0,0 +1,35 @@
+diff -Naur mdbtools-0.6pre1-orig/src/gmdb2/sql.c mdbtools-0.6pre1/src/gmdb2/sql.c
+--- src/gmdb2/sql.c 2004-02-13 13:49:52.000000000 -0500
++++ src/gmdb2/sql.c 2005-10-18 08:00:19.088362686 -0400
+@@ -38,6 +38,8 @@
+
+ static void gmdb_sql_tree_populate(MdbHandle *mdb, GladeXML *xml);
+ static void gmdb_sql_load_query(GladeXML *xml, gchar *file_path);
++void gmdb_sql_save_as_cb(GtkWidget *w, GladeXML *xml);
++void gmdb_sql_save_query(GladeXML *xml, gchar *file_path);
+
+ void
+ gmdb_sql_close_all()
+diff -Naur mdbtools-0.6pre1-orig/src/gmdb2/table_export.c mdbtools-0.6pre1/src/gmdb2/table_export.c
+--- src/gmdb2/table_export.c 2003-01-14 12:37:44.000000000 -0500
++++ src/gmdb2/table_export.c 2005-10-18 08:00:19.089362678 -0400
+@@ -37,6 +37,8 @@
+ #define NEVER "Never"
+ #define AUTOMAT "Automatic (where necessary)"
+
++void gmdb_table_export_populate_dialog(GladeXML *xml);
++
+ void
+ gmdb_print_quote(FILE *outfile, int need_quote, char quotechar, char *colsep, char *str)
+ {
+diff -Naur mdbtools-0.6pre1-orig/src/odbc/odbc.c mdbtools-0.6pre1/src/odbc/odbc.c
+--- src/odbc/odbc.c 2004-05-30 04:06:43.000000000 -0400
++++ src/odbc/odbc.c 2005-10-18 08:00:19.090362669 -0400
+@@ -46,6 +46,7 @@
+ static SQLRETURN SQL_API _SQLFreeConnect(SQLHDBC hdbc);
+ static SQLRETURN SQL_API _SQLFreeEnv(SQLHENV henv);
+ static SQLRETURN SQL_API _SQLFreeStmt(SQLHSTMT hstmt, SQLUSMALLINT fOption);
++static void bind_columns(struct _hstmt *stmt);
+
+ static void bind_columns (struct _hstmt*);
+