Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 289922 | Differences between
and this patch

Collapse All | Expand All

(-)vigra-1.6.0.ebuild.orig (-2 / +4 lines)
Lines 4-10 Link Here
4
4
5
EAPI=2
5
EAPI=2
6
6
7
inherit eutils multilib
7
inherit eutils multilib toolchain-funcs
8
8
9
DESCRIPTION="C++ computer vision library with emphasize on customizable algorithms and data structures"
9
DESCRIPTION="C++ computer vision library with emphasize on customizable algorithms and data structures"
10
HOMEPAGE="http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/"
10
HOMEPAGE="http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/"
Lines 27-32 Link Here
27
MY_DOCDIR="usr/share/doc/${PF}"
27
MY_DOCDIR="usr/share/doc/${PF}"
28
28
29
pkg_setup() {
29
pkg_setup() {
30
	tc-export CC CXX
30
	local flag
31
	local flag
31
	export usefail=""
32
	export usefail=""
32
	if use test
33
	if use test
Lines 46-52 Link Here
46
}
47
}
47
48
48
src_prepare() {
49
src_prepare() {
49
	epatch "${FILESDIR}/${P}-gcc44.patch"
50
	epatch "${FILESDIR}/${P}-gcc44.patch" \
51
		"${FILESDIR}"/${P}-ldflags.patch
50
	sed -i \
52
	sed -i \
51
		-e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:g' \
53
		-e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:g' \
52
		src/impex/png.cxx || die
54
		src/impex/png.cxx || die

Return to bug 289922