Commit 3a3d11bd authored by Tobias Frost's avatar Tobias Frost

Add patch to fix FTBFS on armel by not enforcing the atomic requirement.

parent e3cfb2e6
opencascade (7.2.0+dfsg1-4) UNRELEASED; urgency=medium
* Add patch to fix FTBFS on armel by not enforcing the atomic requirement.
-- Tobias Frost <tobi@debian.org> Sat, 26 May 2018 23:57:32 +0200
opencascade (7.2.0+dfsg1-3) experimental; urgency=medium
* Fix FTBFS due to indep/arch issues.
......
Description: Do not enforce atomics support on archs not supporting it.
armel seems to have no atomic support on opencascade, so make it possible to
hint the build system not to enforce it.
Author: Tobias Frost <tobi@debian.org>
Forwarded: no, Debian specific.
Last-Update: 2018-05-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,12 @@
set (CMAKE_CONFIGURATION_TYPES Release Debug RelWithDebInfo CACHE INTERNAL "" FORCE)
+# Make it possible to ignore if there are no atomics support, needed for armel.
+IF(IGNORE_NO_ATOMICS)
+ ADD_DEFINITIONS(-DIGNORE_NO_ATOMICS)
+ENDIF(IGNORE_NO_ATOMICS)
+
+
# macro: include patched file if it exists
macro (OCCT_INCLUDE_CMAKE_FILE BEING_INCLUDED_FILE)
if (BUILD_PATCH AND EXISTS "${BUILD_PATCH}/${BEING_INCLUDED_FILE}.cmake")
......@@ -2,3 +2,4 @@ glibc-xlocale.diff
fix-install-dir-references.diff
remove-cloudflare-mathjax.diff
dox-cmake-cleanup.diff
armel-ftbfs.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment