diff -Nru haproxy-2.4.17/debian/changelog haproxy-2.4.17/debian/changelog
--- haproxy-2.4.17/debian/changelog	2022-05-14 12:27:20.000000000 +0000
+++ haproxy-2.4.17/debian/changelog	2022-06-16 13:13:37.000000000 +0000
@@ -1,3 +1,10 @@
+haproxy (2.4.17-1+rpi1) bookworm-staging; urgency=medium
+
+  [changes brought forward from 1.8.19-1+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Thu, 14 Mar 2019 20:25:01 +0000]
+  * Link with libatomic on armhf too.
+
+ -- Raspbian forward porter <root@raspbian.org>  Thu, 16 Jun 2022 13:13:37 +0000
+
 haproxy (2.4.17-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru haproxy-2.4.17/debian/rules haproxy-2.4.17/debian/rules
--- haproxy-2.4.17/debian/rules	2022-05-14 12:27:20.000000000 +0000
+++ haproxy-2.4.17/debian/rules	2022-06-16 13:13:37.000000000 +0000
@@ -31,7 +31,7 @@
 	MAKEARGS+= TARGET=generic
 endif
 
-ifneq ($(filter armel mips mipsel m68k powerpc powerpcspe sh4 riscv64,$(DEB_HOST_ARCH)),)
+ifneq ($(filter armel armhf mips mipsel m68k powerpc powerpcspe sh4 riscv64,$(DEB_HOST_ARCH)),)
 	MAKEARGS+= ADDLIB="-latomic"
 endif