Ben Collins
2025-01-16 16:20:02 UTC
Reply
PermalinkGreetings.
I have a situation with mumble where the build is breaking on armel
architecture. Upstream has identified that this bug is due to the mumble
"link" plugin containing atomic memory operations. I would like to
conditionally patch the source plugins/CMakeLists.txt file based on
architecutre to not build that one plugin for armel. CDBS apparently has a
way of doing this [1] and I would like to find a solution for doing this
with debhelper. I've been searching and haven't found anything quite
fitting.
Can the patched code just look like:I have a situation with mumble where the build is breaking on armel
architecture. Upstream has identified that this bug is due to the mumble
"link" plugin containing atomic memory operations. I would like to
conditionally patch the source plugins/CMakeLists.txt file based on
architecutre to not build that one plugin for armel. CDBS apparently has a
way of doing this [1] and I would like to find a solution for doing this
with debhelper. I've been searching and haven't found anything quite
fitting.
#ifdef __ARMEL__
// Patched code
#else
// original code with atomic memory ops
#endif
--
Ben Collins
https://debian.org | https://ubuntu.com
https://ben-collins.blogspot.com
https://catchmobilehealth.com
--
3EC9 7598 1672 961A 1139 173A 5D5A 57C7 242B 22CF
Ben Collins
https://debian.org | https://ubuntu.com
https://ben-collins.blogspot.com
https://catchmobilehealth.com
--
3EC9 7598 1672 961A 1139 173A 5D5A 57C7 242B 22CF