The `BOOST_LITTLE_ENDIAN` and `BOOST_BIG_ENDIAN` macros, along with the "boost/detail/endian.hpp" header, were deprecated in boost 1.69.0 and finally removed in boost 1.73.0. They are superseded by the BOOST_ENDIAN_LITTLE_BYTE and BOOST_ENDIAN_BIG_BYTE macros and "boost/predef/other/endian.h" header. Deprecated: https://github.com/boostorg/predef/commit/32d4581c1689370444f2e565cfbb8421d5071807 Removed: https://github.com/boostorg/predef/commit/aa6e232bf170ad8b856aff9e7c70334f77441c7f Adaptation of patch from https://bitbucket.org/fenics-project/dolfin/issues/1116 --- a/dolfin/io/VTKFile.cpp +++ b/dolfin/io/VTKFile.cpp @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include "pugixml.hpp" @@ -614,9 +614,9 @@ std::string endianness = ""; if (encode_string == "binary") { - #if defined BOOST_LITTLE_ENDIAN + #if defined BOOST_ENDIAN_LITTLE_BYTE endianness = "byte_order=\"LittleEndian\""; - #elif defined BOOST_BIG_ENDIAN + #elif defined BOOST_ENDIAN_BIG_BYTE endianness = "byte_order=\"BigEndian\"";; #else dolfin_error("VTKFile.cpp", --- a/dolfin/io/VTKWriter.cpp +++ b/dolfin/io/VTKWriter.cpp @@ -24,7 +24,6 @@ #include #include #include -#include #include #include oost-fix-icu-build.patch?id=c438e0cc7471cfe0b7accd5763fa4095934fbf48'>commitdiff
'msg-tooltip'>Tested with (locally fixed) lvm-separate-home-os system test. * gnu/system/mapped-devices.scm (lvm-device-mapping): Add SRFI-1 to modules. Change-Id: I8c155b47c29004bdc59057391dfba94ce33bdbc2
AgeCommit message (Expand)Author
Lars-Dominik Braun
2024-04-08mapped-devices: luks: Specify modules needed at the top-level....Fixes <https://issues.guix.gnu.org/70266>. * gnu/system/mapped-devices.scm (luks-device-mapping)[modules]: New field. (open-luks-device): Remove non-top-level ‘use-modules’ form. * gnu/system/linux-initrd.scm (raw-initrd): Remove modules that were added specifically for ‘luks-device-mapping’. Change-Id: I4253c3dd5e3cbcee41ec84fd57227abd428d1bd6 Ludovic Courtès
2024-04-08mapped-devices: <mapped-device-type> can specify modules to import....* gnu/system/mapped-devices.scm (<mapped-device-type>)[modules]: New field. (device-mapping-service-type): Honor it. * gnu/system/linux-initrd.scm (raw-initrd): Likewise. Change-Id: Icc702cb6f281741975e33203f87fbc1ffa9856da Ludovic Courtès
2024-01-14mapped-devices: Allow unlocking by a key file....Requiring the user to input their password in order to unlock a device is not always reasonable, so having an option to unlock the device using a key file is a nice quality of life change. * gnu/system/mapped-devices.scm (open-luks-device): Add #:key-file argument. (luks-device-mapping-with-options): New procedure. * doc/guix.texi (Mapped Devices): Describe the new procedure. Change-Id: I1de4e045f8c2c11f9a94f1656e839c785b0c11c4 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Tomas Volf