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

Collapse All | Expand All

(-)a/media-video/movit/files/movit-fix-F16C-supporting-systems.patch (+23 lines)
Line 0 Link Here
1
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
2
Date: Tue, 1 Aug 2017 15:41:17 +0000 (+0200)
3
Subject: Fix fp16_test compilation with f16c-enabled compilation flags.
4
X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=f680714c0378a80e1638824c70c5ec62d6ade8ee;hp=8e9f58fec54a4c879035b214fd7411f6ff7b3a32
5
6
Fix fp16_test compilation with f16c-enabled compilation flags.
7
---
8
9
diff --git a/fp16_test.cpp b/fp16_test.cpp
10
index 058c912..d95e5c6 100644
11
--- a/fp16_test.cpp
12
+++ b/fp16_test.cpp
13
@@ -45,6 +45,10 @@ union fp64 {
14
 	double f;
15
 	unsigned long long ll;
16
 };
17
+union fp32 {
18
+	float f;
19
+	unsigned int u;
20
+};
21
 
22
 TEST(FP16Test, NaN) {
23
 	// Ignore the sign bit.
(-)a/media-video/movit/movit-1.5.2-r1.ebuild (-1 / +1 lines)
Lines 29-34 DEPEND="${RDEPEND}" Link Here
29
29
30
src_prepare() {
30
src_prepare() {
31
	epatch "${FILESDIR}/${PN}-revert-c++11-dependency.patch"
31
	epatch "${FILESDIR}/${PN}-revert-c++11-dependency.patch"
32
	epatch "${FILESDIR}/${PN}-fix-F16C-supporting-systems.patch"
32
}
33
}
33
34
34
src_compile() {
35
src_compile() {
35
- 

Return to bug 626604