package/pulseview: fix a build issue
PATCH 1/1 package/pulseview: fix a build issue
Add a downstream patch fixing a build issue related to Boost.Math.
Signed-off-by Bartosz Golaszewski <[email protected]>
--- ...-boost-math-related-build-issue-with-musl.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/pulseview/0003-build-fix-a-boost-math-related-build-issue-with-musl.patch
package/pulseview/0003-build-fix-a-boost-math-related-build-issue-with-musl.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 7b5446117bce40af352823189cab771f33558622 Mon Sep 17 00:00:00 2001 +From: Bartosz Golaszewski <[email protected]> +Date: Tue, 16 May 2017 15:38:06 +0200 +Subject: [PATCH 3/3] build: fix a boost math related build issue with musl + +Boost causes problems with its BOOST_MATH_BIG_CONSTANT definition when +building with a musl libc toolchain. Add the -fext-numeric-literals to +fix it. + +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..c064cdb 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(-fext-numeric-literals) + + if(ENABLE_DECODE) + add_definitions(-DENABLE_DECODE) +-- +2.9.3 +
Signature · 1 line
2.9.3
PATCH 1/1 package/pulseview: fix a build issue
2017-05-17 10:26 GMT+02:00 Bartosz Golaszewski <[email protected]>:
Quoted 44 lines
Add a downstream patch fixing a build issue related to Boost.Math.
Signed-off-by Bartosz Golaszewski <[email protected]>--- ...-boost-math-related-build-issue-with-musl.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/pulseview/0003-build-fix-a-boost-math-related-build-issue-with-musl.patchpackage/pulseview/0003-build-fix-a-boost-math-related-build-issue-with-musl.patch new file +29
-1@@ -0,0 +1,29 @@ +From 7b5446117bce40af352823189cab771f33558622 Mon Sep 17 00:00:00 2001 +From: Bartosz Golaszewski <[email protected]> +Date: Tue, 16 May 2017 15:38:06 +0200 +Subject: [PATCH 3/3] build: fix a boost math related build issue with musl + +Boost causes problems with its BOOST_MATH_BIG_CONSTANT definition when +building with a musl libc toolchain. Add the -fext-numeric-literals to +fix it. + +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..c064cdb 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(-fext-numeric-literals) + + if(ENABLE_DECODE) + add_definitions(-DENABLE_DECODE) +-- +2.9.3 + --
Quoted 2 lines
2.9.3
Ugh -ETOEARLY
Please don't apply this patch, this is fixed upstream, just in a different way and I missed it.
Thanks,
Bartosz Golaszewski