diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-09-26 18:56:46 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-09-26 18:56:46 +0000 |
commit | 3e8e8e9616779f5ec95e945b7b180c6332869163 (patch) | |
tree | c6f11d5c344b92030a6e13dc35b09ea5706c36da /media-libs/lib3ds | |
parent | Add missing use dep on net-misc/freerdp[X] for non-desktop profiles wrt bug #... (diff) | |
download | gentoo-2-3e8e8e9616779f5ec95e945b7b180c6332869163.tar.gz gentoo-2-3e8e8e9616779f5ec95e945b7b180c6332869163.tar.bz2 gentoo-2-3e8e8e9616779f5ec95e945b7b180c6332869163.zip |
fix underlinking wrt #485896
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'media-libs/lib3ds')
4 files changed, 115 insertions, 2 deletions
diff --git a/media-libs/lib3ds/ChangeLog b/media-libs/lib3ds/ChangeLog index 73a6553c1818..a5e4f2c16a9d 100644 --- a/media-libs/lib3ds/ChangeLog +++ b/media-libs/lib3ds/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/lib3ds # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/lib3ds/ChangeLog,v 1.25 2013/09/22 12:45:27 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/lib3ds/ChangeLog,v 1.26 2013/09/26 18:56:46 hasufell Exp $ + + 26 Sep 2013; Julian Ospald <hasufell@gentoo.org> lib3ds-2.0.0_rc1.ebuild, + +files/lib3ds-2.0.0_rc1-underlinking.patch, + +files/lib3ds-2.0.0_rc1-underlinking-no-autoreconf.patch: + fix underlinking wrt #485896 22 Sep 2013; Agostino Sarubbo <ago@gentoo.org> lib3ds-2.0.0_rc1.ebuild: Stable for ppc, wrt bug #308033 diff --git a/media-libs/lib3ds/files/lib3ds-2.0.0_rc1-underlinking-no-autoreconf.patch b/media-libs/lib3ds/files/lib3ds-2.0.0_rc1-underlinking-no-autoreconf.patch new file mode 100644 index 000000000000..af9040883c10 --- /dev/null +++ b/media-libs/lib3ds/files/lib3ds-2.0.0_rc1-underlinking-no-autoreconf.patch @@ -0,0 +1,45 @@ +commit 562d1412a705b6667bc9fa594133366fb7e787ab +Author: hasufell <hasufell@gentoo.org> +Date: Thu Sep 26 20:49:44 2013 +0200 + + avoid autoreconf + +diff --git a/examples/3ds2obj/Makefile.in b/examples/3ds2obj/Makefile.in +index 1b5b1fe..d2fda8a 100644 +--- a/examples/3ds2obj/Makefile.in ++++ b/examples/3ds2obj/Makefile.in +@@ -180,7 +180,7 @@ top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + INCLUDES = -I$(top_srcdir)/src + 3ds2obj_SOURCES = 3ds2obj.c +-LDADD = $(top_builddir)/src/lib3ds.la ++LDADD = $(top_builddir)/src/lib3ds.la -lm + EXTRA_DIST = 3ds2obj.vcproj + all: all-am + +diff --git a/examples/3dsdump/Makefile.in b/examples/3dsdump/Makefile.in +index 4c915cc..f9f7bba 100644 +--- a/examples/3dsdump/Makefile.in ++++ b/examples/3dsdump/Makefile.in +@@ -180,7 +180,7 @@ top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + INCLUDES = -I$(top_srcdir)/src + 3dsdump_SOURCES = 3dsdump.c +-LDADD = $(top_builddir)/src/lib3ds.la ++LDADD = $(top_builddir)/src/lib3ds.la -lm + EXTRA_DIST = 3dsdump.vcproj + all: all-am + +diff --git a/examples/cube/Makefile.in b/examples/cube/Makefile.in +index 76b7946..1c4b5b6 100644 +--- a/examples/cube/Makefile.in ++++ b/examples/cube/Makefile.in +@@ -180,7 +180,7 @@ top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + INCLUDES = -I$(top_srcdir)/src + cube_SOURCES = cube.c +-LDADD = $(top_builddir)/src/lib3ds.la ++LDADD = $(top_builddir)/src/lib3ds.la -lm + EXTRA_DIST = cube.vcproj cube.tga + all: all-am + diff --git a/media-libs/lib3ds/files/lib3ds-2.0.0_rc1-underlinking.patch b/media-libs/lib3ds/files/lib3ds-2.0.0_rc1-underlinking.patch new file mode 100644 index 000000000000..b9001af2993a --- /dev/null +++ b/media-libs/lib3ds/files/lib3ds-2.0.0_rc1-underlinking.patch @@ -0,0 +1,56 @@ +commit 158cf6f8deaac69eba0c5941f809469cc3eefb43 +Author: hasufell <hasufell@gentoo.org> +Date: Thu Sep 26 20:49:01 2013 +0200 + + fix underlinking + +diff --git a/configure.in b/configure.in +index 7bf17c2..fa5bd3f 100644 +--- a/configure.in ++++ b/configure.in +@@ -16,6 +16,8 @@ AM_INIT_AUTOMAKE(lib3ds, $LIB3DS_VERSION) + AC_PROG_CC + AC_PROG_LIBTOOL + ++AC_CHECK_LIBM ++ + AC_OUTPUT([ \ + lib3ds-config \ + Makefile \ +diff --git a/examples/3ds2obj/Makefile.am b/examples/3ds2obj/Makefile.am +index 8213225..4214675 100644 +--- a/examples/3ds2obj/Makefile.am ++++ b/examples/3ds2obj/Makefile.am +@@ -3,6 +3,6 @@ INCLUDES = -I$(top_srcdir)/src + bin_PROGRAMS = 3ds2obj + 3ds2obj_SOURCES = 3ds2obj.c + +-LDADD = $(top_builddir)/src/lib3ds.la ++LDADD = $(top_builddir)/src/lib3ds.la $(LIBM) + + EXTRA_DIST = 3ds2obj.vcproj +diff --git a/examples/3dsdump/Makefile.am b/examples/3dsdump/Makefile.am +index 98ec5d1..ef19b04 100644 +--- a/examples/3dsdump/Makefile.am ++++ b/examples/3dsdump/Makefile.am +@@ -3,6 +3,6 @@ INCLUDES = -I$(top_srcdir)/src + bin_PROGRAMS = 3dsdump + 3dsdump_SOURCES = 3dsdump.c + +-LDADD = $(top_builddir)/src/lib3ds.la ++LDADD = $(top_builddir)/src/lib3ds.la $(LIBM) + + EXTRA_DIST = 3dsdump.vcproj +diff --git a/examples/cube/Makefile.am b/examples/cube/Makefile.am +index c79c0ee..539813d 100644 +--- a/examples/cube/Makefile.am ++++ b/examples/cube/Makefile.am +@@ -3,7 +3,7 @@ INCLUDES = -I$(top_srcdir)/src + bin_PROGRAMS = cube + cube_SOURCES = cube.c + +-LDADD = $(top_builddir)/src/lib3ds.la ++LDADD = $(top_builddir)/src/lib3ds.la $(LIBM) + + EXTRA_DIST = cube.vcproj cube.tga + diff --git a/media-libs/lib3ds/lib3ds-2.0.0_rc1.ebuild b/media-libs/lib3ds/lib3ds-2.0.0_rc1.ebuild index fe76696b8390..da323bd2f7c2 100644 --- a/media-libs/lib3ds/lib3ds-2.0.0_rc1.ebuild +++ b/media-libs/lib3ds/lib3ds-2.0.0_rc1.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/lib3ds/lib3ds-2.0.0_rc1.ebuild,v 1.6 2013/09/22 12:45:27 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/lib3ds/lib3ds-2.0.0_rc1.ebuild,v 1.7 2013/09/26 18:56:46 hasufell Exp $ EAPI=5 +inherit eutils + MY_PV="20080909" MY_P="${PN}-${MY_PV}" @@ -22,6 +24,11 @@ RDEPEND="media-libs/freeglut DEPEND="${RDEPEND} app-arch/unzip" +src_prepare() { +# epatch "${FILESDIR}"/${P}-underlinking.patch + epatch "${FILESDIR}"/${P}-underlinking-no-autoreconf.patch +} + src_install() { emake DESTDIR="${D}" install dodoc AUTHORS ChangeLog README |