package/pulseview: fix a build issue
PATCH v3 1/1 package/pulseview: fix a build issue
Backport an upstream patch fixing the build issue related to boost math definitions.
---
v1 -> v2:
- backported the upstream patch instead of fixing it myself
v2 -> v3:
- dropped the patch numbering
- added the missing sign-off
...txt-Avoid-fext-numeric-literals-not-suppo.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/pulseview/0003-CMakeLists.txt-Avoid-fext-numeric-literals-not-suppo.patch
package/pulseview/0003-CMakeLists.txt-Avoid-fext-numeric-literals-not-suppo.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 6ad4d7a6f17edecc3523a7ab3d627f9a70dbacc1 Mon Sep 17 00:00:00 2001 +From: Uwe Hermann <[email protected]> +Date: Wed, 17 May 2017 11:00:44 +0200 +Subject: [PATCH] CMakeLists.txt: Avoid -fext-numeric-literals, (not supported + by clang). + +This (re-)fixes bug #863. + +Signed-off-by: Bartosz Golaszewski <[email protected]> +--- + CMakeLists.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e8bc79f..e7e4432 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -395,6 +395,7 @@ add_definitions(${QT_DEFINITIONS} -DQT_NO_KEYWORDS) + add_definitions(-D__STDC_LIMIT_MACROS) + add_definitions(-Wall -Wextra) + add_definitions(-std=c++11) ++add_definitions(-DBOOST_MATH_DISABLE_FLOAT128=1) + + if(ENABLE_DECODE) + add_definitions(-DENABLE_DECODE) +-- +2.9.3 +
Signature · 1 line
2.9.3
PATCH v3 1/1 package/pulseview: fix a build issue
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bartosz" == Bartosz Golaszewski <[email protected]> writes:
Backport an upstream patch fixing the build issue related to boost math definitions.
Signed-off-by Bartosz Golaszewski <[email protected]>
Committed after adding a reference to the autobuilder failures, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v3 1/1 package/pulseview: fix a build issue
In reply to Bartosz GolaszewskiQuoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bartosz" == Bartosz Golaszewski <[email protected]> writes:
Backport an upstream patch fixing the build issue related to boost math definitions.
Quoted 8 lines
Signed-off-by Bartosz Golaszewski <[email protected]>---
v1 -> v2:
- backported the upstream patch instead of fixing it myselfv2 -> v3:
- dropped the patch numbering
- added the missing sign-off
Committed to 2017.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard