[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-extras-commits
Subject: bizdelnick pushed to openvibe (f23). "use gcc __float80 type instead long double for better portabil
From: notifications () fedoraproject ! org
Date: 2016-03-31 22:18:49
Message-ID: 20160331221849.4A9216068702 () bastion01 ! phx2 ! fedoraproject ! org
[Download RAW message or body]
From bb10751255f426be4090804ec6f619c6b62b115c Mon Sep 17 00:00:00 2001
From: Dmitry Mikhirev <mikhirev@gmail.com>
Date: Fri, 1 Apr 2016 00:18:10 +0300
Subject: use gcc __float80 type instead long double for better portability
---
openvibe-float80.patch | 23 +++++++++++++++++++++++
openvibe.spec | 1 +
2 files changed, 24 insertions(+)
create mode 100644 openvibe-float80.patch
diff --git a/openvibe-float80.patch b/openvibe-float80.patch
new file mode 100644
index 0000000..b39ef12
--- /dev/null
+++ b/openvibe-float80.patch
@@ -0,0 +1,23 @@
+Index: openvibe-1.1.0-src/common/include/ov_common_types.h
+===================================================================
+--- openvibe-1.1.0-src.orig/common/include/ov_common_types.h
++++ openvibe-1.1.0-src/common/include/ov_common_types.h
+@@ -65,7 +65,11 @@ namespace OV_APPEND_TO_NAMESPACE {
+
+ typedef float float32; ///< 32 bits floating point
+ typedef double float64; ///< 64 bits floating point
++#ifdef __GNUC__
++ typedef __float80 float80; ///< 80 bits floating point
++#else
+ typedef long double float80; ///< 80 bits floating point
++#endif
+
+ //___________________________________________________________________//
+ // //
+@@ -83,4 +87,4 @@ namespace OV_APPEND_TO_NAMESPACE {
+ };
+
+
+-// #endif
+\ No newline at end of file
++// #endif
diff --git a/openvibe.spec b/openvibe.spec
index f3f7091..4599663 100644
--- a/openvibe.spec
+++ b/openvibe.spec
@@ -21,6 +21,7 @@ Patch0: openvibe-include-fix.patch
Patch1: openvibe-getline_eof.patch
Patch2: openvibe-lsl_append_child_value.patch
Patch3: openvibe-no_sse2.patch
+Patch4: openvibe-float80.patch
BuildRequires: appdata-tools
BuildRequires: boost-devel
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/openvibe.git/commit/?h=f23&id=bb10751255f426be4090804ec6f619c6b62b115c
--
scm-commits mailing list
scm-commits@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/scm-commits@lists.fedoraproject.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic