summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Shepherd <masterdriverz@gentoo.org>2006-12-04 21:30:45 +0000
committerCharlie Shepherd <masterdriverz@gentoo.org>2006-12-04 21:30:45 +0000
commit37ce293a45febe1dde36d36c324d52f7010415be (patch)
tree6d497193016ae5a504c19e160489bab64003d35b /app-office/mdbtools/files
parentStable on IA64; bug #144999. (diff)
downloadgentoo-2-37ce293a45febe1dde36d36c324d52f7010415be.tar.gz
gentoo-2-37ce293a45febe1dde36d36c324d52f7010415be.tar.bz2
gentoo-2-37ce293a45febe1dde36d36c324d52f7010415be.zip
Add a patch to fix compiling with --as-needed, thanks to Gergan Penkov for the patch, bug 135246
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'app-office/mdbtools/files')
-rw-r--r--app-office/mdbtools/files/mdbtools-0.6_pre1-as-needed.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-office/mdbtools/files/mdbtools-0.6_pre1-as-needed.patch b/app-office/mdbtools/files/mdbtools-0.6_pre1-as-needed.patch
new file mode 100644
index 000000000000..fc424b6d62da
--- /dev/null
+++ b/app-office/mdbtools/files/mdbtools-0.6_pre1-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