diff options
author | Carlos Aznarán Laos | 2023-02-18 13:36:10 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2023-02-18 13:36:10 -0500 |
commit | 36b162dc18a74591202dc9961516c18c6d6f8f72 (patch) | |
tree | fc2ceffcd5ff9728a4553a3376ece7a6c783fc2e /endian.patch | |
parent | 999535f083a0d932690d53242155928d3d549af6 (diff) | |
download | aur-36b162dc18a74591202dc9961516c18c6d6f8f72.tar.gz |
Remove patches
Diffstat (limited to 'endian.patch')
-rw-r--r-- | endian.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/endian.patch b/endian.patch deleted file mode 100644 index dcd280c0ed72..000000000000 --- a/endian.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 50d619e29f7664825a87fa526d3d933b521fabf0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de> -Date: Thu, 15 Oct 2020 16:44:30 +0200 -Subject: [PATCH] Use __BYTE_ORDER__ instead of removed Boost endian.hpp - -endian.hpp has been removed with Boost 1.73. ---- - dolfin/io/VTKFile.cpp | 5 ++--- - dolfin/io/VTKWriter.cpp | 1 - - 2 files changed, 2 insertions(+), 4 deletions(-) - -diff --git a/dolfin/io/VTKFile.cpp b/dolfin/io/VTKFile.cpp -index 2fee53b..4dba84d 100644 ---- a/dolfin/io/VTKFile.cpp -+++ b/dolfin/io/VTKFile.cpp -@@ -20,7 +20,6 @@ - #include <vector> - #include <iomanip> - #include <boost/cstdint.hpp> --#include <boost/detail/endian.hpp> - - #include "pugixml.hpp" - -@@ -614,9 +613,9 @@ void VTKFile::vtk_header_open(std::size_t num_vertices, std::size_t num_cells, - std::string endianness = ""; - if (encode_string == "binary") - { -- #if defined BOOST_LITTLE_ENDIAN -+ #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ - endianness = "byte_order=\"LittleEndian\""; -- #elif defined BOOST_BIG_ENDIAN -+ #elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ - endianness = "byte_order=\"BigEndian\"";; - #else - dolfin_error("VTKFile.cpp", -diff --git a/dolfin/io/VTKWriter.cpp b/dolfin/io/VTKWriter.cpp -index eff6934..b57a665 100644 ---- a/dolfin/io/VTKWriter.cpp -+++ b/dolfin/io/VTKWriter.cpp -@@ -24,7 +24,6 @@ - #include <sstream> - #include <vector> - #include <iomanip> --#include <boost/detail/endian.hpp> - - #include <dolfin/fem/GenericDofMap.h> - #include <dolfin/fem/FiniteElement.h> --- -2.28.0 |