diff -Nru haproxy-2.4.12/debian/changelog haproxy-2.4.12/debian/changelog
--- haproxy-2.4.12/debian/changelog	2022-01-11 11:06:17.000000000 +0000
+++ haproxy-2.4.12/debian/changelog	2022-01-14 08:42:33.000000000 +0000
@@ -1,3 +1,10 @@
+haproxy (2.4.12-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>  Fri, 14 Jan 2022 08:42:33 +0000
+
 haproxy (2.4.12-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru haproxy-2.4.12/debian/rules haproxy-2.4.12/debian/rules
--- haproxy-2.4.12/debian/rules	2022-01-11 11:06:17.000000000 +0000
+++ haproxy-2.4.12/debian/rules	2022-01-14 08:42:33.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