summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-02-17 21:30:07 +0000
committerJustin Lecher <jlec@gentoo.org>2010-02-17 21:30:07 +0000
commitd2fe43710be693d497efcd97e2662763baf7cdf2 (patch)
tree02228c77faceb402f83e81d605b3043fbc319083 /sci-misc
parentimport prefix changes from the overlay, moved to EAPI=3 (diff)
downloadgentoo-2-d2fe43710be693d497efcd97e2662763baf7cdf2.tar.gz
gentoo-2-d2fe43710be693d497efcd97e2662763baf7cdf2.tar.bz2
gentoo-2-d2fe43710be693d497efcd97e2662763baf7cdf2.zip
import prefix changes from the overlay
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/tinysvm/ChangeLog8
-rw-r--r--sci-misc/tinysvm/files/tinysvm-0.09-darwin.patch13
-rw-r--r--sci-misc/tinysvm/tinysvm-0.09-r2.ebuild11
3 files changed, 26 insertions, 6 deletions
diff --git a/sci-misc/tinysvm/ChangeLog b/sci-misc/tinysvm/ChangeLog
index 5042a17cd44b..8010859e22e0 100644
--- a/sci-misc/tinysvm/ChangeLog
+++ b/sci-misc/tinysvm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-misc/tinysvm
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/ChangeLog,v 1.6 2008/11/03 01:20:20 matsuu Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/ChangeLog,v 1.7 2010/02/17 21:30:06 jlec Exp $
+
+ 17 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+ tinysvm-0.09-r2.ebuild, +files/tinysvm-0.09-darwin.patch:
+ import prefix changes from the overlay
*tinysvm-0.09-r2 (03 Nov 2008)
diff --git a/sci-misc/tinysvm/files/tinysvm-0.09-darwin.patch b/sci-misc/tinysvm/files/tinysvm-0.09-darwin.patch
new file mode 100644
index 000000000000..6d8c2521bac6
--- /dev/null
+++ b/sci-misc/tinysvm/files/tinysvm-0.09-darwin.patch
@@ -0,0 +1,13 @@
+* http://bugs.gentoo.org/show_bug.cgi?id=111598
+
+--- TinySVM-0.09/src/getopt.h.orig 2006-02-19 17:22:37.000000000 +0100
++++ TinySVM-0.09/src/getopt.h 2006-02-19 17:23:11.000000000 +0100
+@@ -122,7 +122,7 @@
+ #define optional_argument 2
+
+ #if defined (__STDC__) && __STDC__
+-#ifdef __GNU_LIBRARY__
++#if defined __GNU_LIBRARY__ || defined __APPLE__
+ /* Many other libraries have conflicting prototypes for getopt, with
+ differences in the consts, in stdlib.h. To avoid compilation
+ errors, only prototype getopt for the GNU C library. */
diff --git a/sci-misc/tinysvm/tinysvm-0.09-r2.ebuild b/sci-misc/tinysvm/tinysvm-0.09-r2.ebuild
index 13c0274346bf..b80b4823dff0 100644
--- a/sci-misc/tinysvm/tinysvm-0.09-r2.ebuild
+++ b/sci-misc/tinysvm/tinysvm-0.09-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/tinysvm-0.09-r2.ebuild,v 1.1 2008/11/03 01:20:20 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/tinysvm-0.09-r2.ebuild,v 1.2 2010/02/17 21:30:06 jlec Exp $
-inherit eutils perl-module toolchain-funcs
+inherit eutils perl-module toolchain-funcs autotools
MY_P="TinySVM-${PV}"
DESCRIPTION="TinySVM is an implementation of Support Vector Machines (SVMs) for
@@ -12,7 +12,7 @@ SRC_URI="http://chasen.org/~taku/software/TinySVM/src/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
#IUSE="java perl python ruby"
IUSE="perl"
@@ -23,6 +23,9 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}/${PF}-pm.patch"
ln -s . src/TinySVM
+
+ epatch ${FILESDIR}/${P}-darwin.patch
+ eautoreconf # need new libtool on Darwin
}
src_compile() {