mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
media-libs/lib3ds: always call eautoreconf (old libtool has clang bug)
Closes: https://bugs.gentoo.org/835577 Signed-off-by: Jannik Glückert <jannik.glueckert@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
e9526a355f
commit
c486d45e66
@@ -1,45 +0,0 @@
|
||||
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
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="library for managing 3D-Studio Release 3 and 4 .3DS files"
|
||||
HOMEPAGE="https://code.google.com/p/lib3ds/"
|
||||
SRC_URI="https://${PN}.googlecode.com/files/${P}.zip"
|
||||
@@ -18,6 +20,13 @@ PATCHES=(
|
||||
"${FILESDIR}"/${P}-mesh.c.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Always eautoreconf to renew libtool (e.g. Clang)
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
MY_PV="20080909"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
@@ -18,9 +20,12 @@ BDEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-underlinking-no-autoreconf.patch
|
||||
)
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Always eautoreconf to renew libtool (e.g. Clang)
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
|
||||
Reference in New Issue
Block a user