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 | |
parent | 999535f083a0d932690d53242155928d3d549af6 (diff) | |
download | aur-36b162dc18a74591202dc9961516c18c6d6f8f72.tar.gz |
Remove patches
-rw-r--r-- | endian.patch | 49 | ||||
-rw-r--r-- | hdf5.patch | 13 | ||||
-rw-r--r-- | min_element.patch | 38 |
3 files changed, 0 insertions, 100 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 diff --git a/hdf5.patch b/hdf5.patch deleted file mode 100644 index 123add5326ca..000000000000 --- a/hdf5.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- dolfin/io/HDF5Interface.cpp -+++ dolfin/io/HDF5Interface.cpp -@@ -281,8 +281,8 @@ - return false; - } - -- H5O_info_t object_info; -- H5Oget_info_by_name(hdf5_file_handle, group_name.c_str(), &object_info, -+ H5O_info1_t object_info; -+ H5Oget_info_by_name1(hdf5_file_handle, group_name.c_str(), &object_info, - lapl_id); - - // Close link access properties
\ No newline at end of file diff --git a/min_element.patch b/min_element.patch deleted file mode 100644 index a6c4d1d818be..000000000000 --- a/min_element.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 569bbc7f0d218432e76e68137b3f647b4b8faa6f 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:09:19 +0200 -Subject: [PATCH] Add missing algorithm include for std::min_element/count - -algorithm is no longer pulled in implicitly by current boost versions, -do it explicitly. ---- - dolfin/geometry/IntersectionConstruction.cpp | 1 + - dolfin/mesh/MeshFunction.h | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/dolfin/geometry/IntersectionConstruction.cpp b/dolfin/geometry/IntersectionConstruction.cpp -index 765dbb6..7ba99a8 100644 ---- a/dolfin/geometry/IntersectionConstruction.cpp -+++ b/dolfin/geometry/IntersectionConstruction.cpp -@@ -18,6 +18,7 @@ - // First added: 2014-02-03 - // Last changed: 2017-12-12 - -+#include <algorithm> - #include <iomanip> - #include <dolfin/mesh/MeshEntity.h> - #include "predicates.h" -diff --git a/dolfin/mesh/MeshFunction.h b/dolfin/mesh/MeshFunction.h -index 08cbc82..4e68324 100644 ---- a/dolfin/mesh/MeshFunction.h -+++ b/dolfin/mesh/MeshFunction.h -@@ -27,6 +27,7 @@ - #include <map> - #include <vector> - -+#include <algorithm> - #include <memory> - #include <unordered_set> - #include <dolfin/common/Hierarchical.h> --- -2.28.0 |