diff -Nru pygalmesh-0.10.6/debian/changelog pygalmesh-0.10.6/debian/changelog --- pygalmesh-0.10.6/debian/changelog 2022-01-26 16:21:20.000000000 +0000 +++ pygalmesh-0.10.6/debian/changelog 2022-04-23 15:15:39.000000000 +0000 @@ -1,3 +1,9 @@ +pygalmesh (0.10.6-1+rpi1) bookworm-staging; urgency=medium + + * Link with libatomic. + + -- Peter Michael Green Sat, 23 Apr 2022 15:15:39 +0000 + pygalmesh (0.10.6-1) unstable; urgency=medium * New upstream release. diff -Nru pygalmesh-0.10.6/debian/patches/link-with-libatomic.patch pygalmesh-0.10.6/debian/patches/link-with-libatomic.patch --- pygalmesh-0.10.6/debian/patches/link-with-libatomic.patch 1970-01-01 00:00:00.000000000 +0000 +++ pygalmesh-0.10.6/debian/patches/link-with-libatomic.patch 2022-04-23 15:15:39.000000000 +0000 @@ -0,0 +1,29 @@ +Description: Link with libatomic. +Author: Peter Michael Green + +Index: pygalmesh-0.10.6/src/CMakeLists.txt +=================================================================== +--- pygalmesh-0.10.6.orig/src/CMakeLists.txt ++++ pygalmesh-0.10.6/src/CMakeLists.txt +@@ -13,7 +13,7 @@ FILE(GLOB pygalmesh_SRCS "${CMAKE_CURREN + pybind11_add_module(pygalmesh ${pygalmesh_SRCS}) + + # ADD_LIBRARY(pygalmesh ${pygalmesh_SRCS}) +-target_link_libraries(pygalmesh PRIVATE ${CGAL_LIBRARIES}) ++target_link_libraries(pygalmesh PRIVATE ${CGAL_LIBRARIES} -latomic) + + # https://github.com/CGAL/cgal/issues/6002 + # find_program(iwyu_path NAMES include-what-you-use iwyu REQUIRED) +Index: pygalmesh-0.10.6/setup.py +=================================================================== +--- pygalmesh-0.10.6.orig/setup.py ++++ pygalmesh-0.10.6/setup.py +@@ -27,7 +27,7 @@ ext_modules = [ + "/usr/local/include/eigen3", + ], + # no CGAL libraries necessary from CGAL 5.0 onwards +- libraries=["gmp", "mpfr"], ++ libraries=["gmp", "mpfr","atomic"], + ) + ] + diff -Nru pygalmesh-0.10.6/debian/patches/series pygalmesh-0.10.6/debian/patches/series --- pygalmesh-0.10.6/debian/patches/series 2022-01-26 16:21:20.000000000 +0000 +++ pygalmesh-0.10.6/debian/patches/series 2022-04-23 15:15:39.000000000 +0000 @@ -1 +1,2 @@ test_relax_tolerance.patch +link-with-libatomic.patch