From 787b13a5d9df8f0cc7170de1b80cead68b516c66 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Tue, 1 Feb 2022 20:00:31 +0100 Subject: gnu: librecad: Fix build with boost 1.76. Fixes . * gnu/packages/patches/librecad-support-for-boost-1.76.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/engineering.scm (librecad)[source]: Use it. --- .../patches/librecad-support-for-boost-1.76.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 gnu/packages/patches/librecad-support-for-boost-1.76.patch (limited to 'gnu/packages/patches') diff --git a/gnu/packages/patches/librecad-support-for-boost-1.76.patch b/gnu/packages/patches/librecad-support-for-boost-1.76.patch new file mode 100644 index 0000000000..aa352e669f --- /dev/null +++ b/gnu/packages/patches/librecad-support-for-boost-1.76.patch @@ -0,0 +1,17 @@ +Upstream commit e02f3580311d50b617427652ff77988f6bd62d9d adding Boost 1.76 +compatibility. + +diff --git a/librecad/src/lib/engine/rs_ellipse.cpp b/librecad/src/lib/engine/rs_ellipse.cpp +index 291f734ea..d47bf6ca4 100644 +--- a/librecad/src/lib/engine/rs_ellipse.cpp ++++ b/librecad/src/lib/engine/rs_ellipse.cpp +@@ -48,6 +48,9 @@ + #include + #include + #include ++#if BOOST_VERSION > 104500 ++#include ++#endif + #endif + + namespace{ -- cgit v1.2.3