diff -Nru libtorrent-rasterbar-2.0.5/debian/changelog libtorrent-rasterbar-2.0.5/debian/changelog --- libtorrent-rasterbar-2.0.5/debian/changelog 2022-02-01 14:13:18.000000000 +0000 +++ libtorrent-rasterbar-2.0.5/debian/changelog 2022-02-09 18:32:28.000000000 +0000 @@ -1,3 +1,12 @@ +libtorrent-rasterbar (2.0.5-5+rpi1) bookworm-staging; urgency=medium + + [changes brought forward from 1.2.9-0.3+rpi1 by Peter Michael Green at Mon, 06 Dec 2021 18:30:57 +0000] + * Link with libatomic on armhf too + (without it the package builds successfully on raspbian, but the + python module at least fails to load). ( LP: 1945530 ) + + -- Peter Michael Green Wed, 09 Feb 2022 18:32:28 +0000 + libtorrent-rasterbar (2.0.5-5) unstable; urgency=medium * Well, really fix bug #1004702 diff -Nru libtorrent-rasterbar-2.0.5/debian/rules libtorrent-rasterbar-2.0.5/debian/rules --- libtorrent-rasterbar-2.0.5/debian/rules 2022-01-31 23:59:32.000000000 +0000 +++ libtorrent-rasterbar-2.0.5/debian/rules 2022-02-09 18:32:28.000000000 +0000 @@ -3,7 +3,7 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk -ifneq (,$(filter $(DEB_HOST_ARCH), armel mipsel m68k powerpc riscv64 sh4)) +ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf mipsel m68k powerpc riscv64 sh4)) export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed endif