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

Collapse All | Expand All

(-)ffmpeg-0.4.9_p20070616-r2.ebuild.orig (-7 / +7 lines)
Lines 46-58 Link Here
46
	unpack ${A} || die
46
	unpack ${A} || die
47
	cd "${S}"
47
	cd "${S}"
48
48
49
	#Append -DBROKEN_RELOCATIONS to build for bug 179872.
50
	#Pretty please fix me if you can.
51
	append-flags "-DBROKEN_RELOCATIONS"
52
53
	#Append -fomit-frame-pointer to avoid some common issues
54
	use debug || append-flags "-fomit-frame-pointer"
55
56
	# for some reason it tries to #include <X11/Xlib.h>, but doesn't use it
49
	# for some reason it tries to #include <X11/Xlib.h>, but doesn't use it
57
	sed -i s:\#define\ HAVE_X11:\#define\ HAVE_LINUX: ffplay.c
50
	sed -i s:\#define\ HAVE_X11:\#define\ HAVE_LINUX: ffplay.c
58
51
Lines 76-81 Link Here
76
}
69
}
77
70
78
src_compile() {
71
src_compile() {
72
	#Append -DBROKEN_RELOCATIONS to build for bug 179872.
73
	#Pretty please fix me if you can.
74
	append-flags "-DBROKEN_RELOCATIONS"
75
76
	#Append -fomit-frame-pointer to avoid some common issues
77
	use debug || append-flags "-fomit-frame-pointer"
78
79
	replace-flags -O0 -O2
79
	replace-flags -O0 -O2
80
	#x86, what a wonderful arch....
80
	#x86, what a wonderful arch....
81
	replace-flags -O1 -O2
81
	replace-flags -O1 -O2

Return to bug 179872