diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-05-07 12:28:06 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-05-07 12:28:06 +0000 |
commit | 61be12c64726783be45c862743c6a849de28e781 (patch) | |
tree | d36e2e9329e648194dc825ec0a9e2db64f532ab4 /dev-libs | |
parent | moved pre-compiled binary into /opt. (diff) | |
download | gentoo-2-61be12c64726783be45c862743c6a849de28e781.tar.gz gentoo-2-61be12c64726783be45c862743c6a849de28e781.tar.bz2 gentoo-2-61be12c64726783be45c862743c6a849de28e781.zip |
Fixed undefined symbols
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libf2c/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch | 2 | ||||
-rw-r--r-- | dev-libs/libf2c/files/20090407-main.patch | 15 | ||||
-rw-r--r-- | dev-libs/libf2c/libf2c-20090407-r1.ebuild (renamed from dev-libs/libf2c/libf2c-20090407.ebuild) | 3 |
4 files changed, 27 insertions, 3 deletions
diff --git a/dev-libs/libf2c/ChangeLog b/dev-libs/libf2c/ChangeLog index d317eea37a83..82babccd1d16 100644 --- a/dev-libs/libf2c/ChangeLog +++ b/dev-libs/libf2c/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-libs/libf2c # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libf2c/ChangeLog,v 1.34 2010/03/31 19:45:01 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libf2c/ChangeLog,v 1.35 2010/05/07 12:28:06 jlec Exp $ + +*libf2c-20090407-r1 (07 May 2010) + + 07 May 2010; Justin Lecher <jlec@gentoo.org> + files/20090407-link-shared-libf2c-correctly.patch, + -libf2c-20090407.ebuild, +files/20090407-main.patch, + +libf2c-20090407-r1.ebuild: + Fixed undefined symbols 31 Mar 2010; Justin Lecher <jlec@gentoo.org> libf2c-20090407.ebuild: USE static -> statis-libs, #312465 diff --git a/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch b/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch index 35b3bb135c08..d35e60bed0ff 100644 --- a/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch +++ b/dev-libs/libf2c/files/20090407-link-shared-libf2c-correctly.patch @@ -5,7 +5,7 @@ libf2c.so: $(OFILES) - $(CC) -shared -o libf2c.so $(OFILES) -+ $(CC) -shared $(LDFLAGS) -Wl,-soname,libf2c.so.2 -lm $(OFILES) -o libf2c.so.2 ++ $(CC) -shared $(LDFLAGS) -Wl,-soname,libf2c.so.2 $(OFILES) -o libf2c.so.2 -lm ### If your system lacks ranlib, you don't need it; see README. diff --git a/dev-libs/libf2c/files/20090407-main.patch b/dev-libs/libf2c/files/20090407-main.patch new file mode 100644 index 000000000000..5e16b9f2fad2 --- /dev/null +++ b/dev-libs/libf2c/files/20090407-main.patch @@ -0,0 +1,15 @@ +diff --git a/main.c b/main.c +index d95fdc9..cf15b7d 100644 +--- a/main.c ++++ b/main.c +@@ -135,7 +135,9 @@ f_init(); + #ifndef NO_ONEXIT + ONEXIT(f_exit); + #endif +-MAIN__(); ++int MAIN__( ) ++ { return(0); ++} + #ifdef NO_ONEXIT + f_exit(); + #endif diff --git a/dev-libs/libf2c/libf2c-20090407.ebuild b/dev-libs/libf2c/libf2c-20090407-r1.ebuild index cc7c6ff31e5c..241f6527d049 100644 --- a/dev-libs/libf2c/libf2c-20090407.ebuild +++ b/dev-libs/libf2c/libf2c-20090407-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libf2c/libf2c-20090407.ebuild,v 1.3 2010/03/31 19:49:52 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libf2c/libf2c-20090407-r1.ebuild,v 1.1 2010/05/07 12:28:06 jlec Exp $ EAPI=2 inherit toolchain-funcs eutils @@ -25,6 +25,7 @@ S="${WORKDIR}/${PN}" src_prepare() { epatch "${FILESDIR}"/20051004-add-ofiles-dep.patch epatch "${FILESDIR}"/${PV}-link-shared-libf2c-correctly.patch + epatch "${FILESDIR}"/${PV}-main.patch } src_compile() { |