Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 317695
Collapse All | Expand All

(-)a/libsndfile-1.0.21.ebuild (+8 lines)
Lines 41-46 Link Here
41
41
42
	AT_M4DIR=M4 eautoreconf
42
	AT_M4DIR=M4 eautoreconf
43
	epunt_cxx
43
	epunt_cxx
44
	INSERT_CHECK='{ const size_t ch_used = strlen(psf->broadcast_var->binfo.coding_history); assert(ch_used < sizeof(psf->broadcast_var->binfo.coding_history)); }'
45
	sed -i \
46
		-e '19a#include <assert.h>' \
47
		-e "87a$INSERT_CHECK" \
48
		-e "89a$INSERT_CHECK" \
49
		-e "93a$INSERT_CHECK" \
50
		-e "96a$INSERT_CHECK" \
51
		"${S}"/src/broadcast.c || die "sed failed"
44
}
52
}
45
53
46
src_compile() {
54
src_compile() {

Return to bug 317695