summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2008-01-20 21:38:59 +0000
committerRyan Hill <dirtyepic@gentoo.org>2008-01-20 21:38:59 +0000
commit09ef96d8a31eaab5b11a2d0e67811229293554ea (patch)
tree9ae64a68333affd80d604607d3118d37f4f69896 /sci-libs/ta-lib
parentremove old and cruft (diff)
downloadgentoo-2-09ef96d8a31eaab5b11a2d0e67811229293554ea.tar.gz
gentoo-2-09ef96d8a31eaab5b11a2d0e67811229293554ea.tar.bz2
gentoo-2-09ef96d8a31eaab5b11a2d0e67811229293554ea.zip
Add patch to fix building with --as-needed for bug #206746.
(Portage version: 2.1.4)
Diffstat (limited to 'sci-libs/ta-lib')
-rw-r--r--sci-libs/ta-lib/ChangeLog10
-rw-r--r--sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch12
-rw-r--r--sci-libs/ta-lib/ta-lib-0.4.0.ebuild9
3 files changed, 29 insertions, 2 deletions
diff --git a/sci-libs/ta-lib/ChangeLog b/sci-libs/ta-lib/ChangeLog
index 9a3df791b162..db8fdc032c12 100644
--- a/sci-libs/ta-lib/ChangeLog
+++ b/sci-libs/ta-lib/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sci-libs/ta-lib
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/ta-lib/ChangeLog,v 1.2 2008/01/20 10:07:40 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ta-lib/ChangeLog,v 1.3 2008/01/20 21:38:59 dirtyepic Exp $
+
+ 20 Jan 2008; Ryan Hill <dirtyepic@gentoo.org>
+ +files/ta-lib-0.4.0-asneeded.patch, ta-lib-0.4.0.ebuild:
+ Add patch to fix building with --as-needed for bug #206746.
+
+ 20 Jan 2008; Ryan Hill <dirtyepic@gentoo.org>
+ +files/ta-lib-0.4.0-asneeded.patch, ta-lib-0.4.0.ebuild:
+ Add patch to fix building with --as-needed for bug #206746.
20 Jan 2008; Samuli Suominen <drac@gentoo.org> ta-lib-0.4.0.ebuild:
Keyword ~amd64.
diff --git a/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch b/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch
new file mode 100644
index 000000000000..e4bbd81acbb7
--- /dev/null
+++ b/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch
@@ -0,0 +1,12 @@
+diff -Naur ta-lib-orig/src/Makefile.in ta-lib/src/Makefile.in
+--- ta-lib-orig/src/Makefile.in 2007-09-14 21:42:21.000000000 -0600
++++ ta-lib/src/Makefile.in 2008-01-20 15:11:33.000000000 -0600
+@@ -56,7 +56,7 @@
+ libta_lib_la_OBJECTS = $(am_libta_lib_la_OBJECTS)
+ libta_lib_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+- $(libta_lib_la_LDFLAGS) $(LDFLAGS) -o $@
++ $(libta_lib_la_LDFLAGS) $(LDFLAGS) -lm -o $@
+ DEFAULT_INCLUDES = -I. -I$(top_builddir)/include@am__isrc@
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
diff --git a/sci-libs/ta-lib/ta-lib-0.4.0.ebuild b/sci-libs/ta-lib/ta-lib-0.4.0.ebuild
index 1e8339395963..da339710891e 100644
--- a/sci-libs/ta-lib/ta-lib-0.4.0.ebuild
+++ b/sci-libs/ta-lib/ta-lib-0.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/ta-lib/ta-lib-0.4.0.ebuild,v 1.2 2008/01/20 10:07:40 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ta-lib/ta-lib-0.4.0.ebuild,v 1.3 2008/01/20 21:38:59 dirtyepic Exp $
DESCRIPTION="Technical Analysis Library for analyzing financial markets trends"
HOMEPAGE="http://www.ta-lib.org"
@@ -16,6 +16,13 @@ RDEPEND=""
S=${WORKDIR}/${PN}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+}
+
src_test() {
ewarn "Note: this testsuite will fail without an active internet connection."
"${S}"/src/tools/ta_regtest/ta_regtest || die "Failed testsuite."