On Thu, Jan 16, 2025 at 09:48:53AM -0500, Chris Knadle wrote: > 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.
Consider instead unconditionally patching it in a way that disables the building of that plugin on that arch. > CDBS apparently has a way of doing this [1] and I would like to find a > solution for doing this with debhelper. Nowadays changing the upstream source is handled by dpkg, not by d/rules. > I suppose in a pinch I could build-depend on the 'patch' command and do > something like this in debian/rules: > > ifeq ($(DEB_HOST_ARCH),armel) > patch < debian/patches/armel/95-fix-build-armel.patch > endif If you do this don't forget to do the opposite in clean, as mandated by the Policy. -- WBR, wRAR
signature.asc
Description: PGP signature