summaryrefslogtreecommitdiffstats
path: root/gis/libLAS/boost-1.73.patch
diff options
context:
space:
mode:
author Matteo Bernardini2021-01-09 11:36:13 +0100
committer Matteo Bernardini2021-01-09 11:36:13 +0100
commitd53d61a1a0572aa2058e5324fd66c01c2ed3eccf (patch)
treed41f2a4360d572bdbec8081662b0f93b4aa2f8af /gis/libLAS/boost-1.73.patch
parenta60e2f392c2bd7cee33c089073f9d5e5169f422d (diff)
downloadslackbuilds-d53d61a1a0572aa2058e5324fd66c01c2ed3eccf.tar.gz
20210109.1 global branch merge.current-20210109.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'gis/libLAS/boost-1.73.patch')
-rw-r--r--gis/libLAS/boost-1.73.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/gis/libLAS/boost-1.73.patch b/gis/libLAS/boost-1.73.patch
new file mode 100644
index 0000000000..818c15ef3b
--- /dev/null
+++ b/gis/libLAS/boost-1.73.patch
@@ -0,0 +1,36 @@
+Qualify placeholders
+Matteo Bernardini <ponce@slackbuilds.org>
+
+diff -Naur libLAS-1.8.1.orig/src/c_api.cpp libLAS-1.8.1/src/c_api.cpp
+--- libLAS-1.8.1.orig/src/c_api.cpp 2016-08-22 15:06:34.000000000 +0200
++++ libLAS-1.8.1/src/c_api.cpp 2020-08-04 14:54:22.311996000 +0200
+@@ -498,7 +498,7 @@
+
+ transforms.erase( std::remove_if( transforms.begin(),
+ transforms.end(),
+- boost::bind( &IsReprojectionTransform, _1 ) ),
++ boost::bind( &IsReprojectionTransform, boost::placeholders::_1 ) ),
+ transforms.end());
+
+ liblas::TransformPtr srs_transform = liblas::TransformPtr(new liblas::ReprojectionTransform(in_ref, *out_ref, &h));
+@@ -1840,7 +1840,7 @@
+
+ transforms.erase( std::remove_if( transforms.begin(),
+ transforms.end(),
+- boost::bind( &IsReprojectionTransform, _1 ) ),
++ boost::bind( &IsReprojectionTransform, boost::placeholders::_1 ) ),
+ transforms.end());
+
+ liblas::TransformPtr srs_transform = liblas::TransformPtr(new liblas::ReprojectionTransform(in_ref, *out_ref, &h));
+diff -Naur libLAS-1.8.1.orig/src/header.cpp libLAS-1.8.1/src/header.cpp
+--- libLAS-1.8.1.orig/src/header.cpp 2016-08-22 15:06:34.000000000 +0200
++++ libLAS-1.8.1/src/header.cpp 2020-08-04 14:53:36.599996000 +0200
+@@ -610,7 +610,7 @@
+
+ m_vlrs.erase( std::remove_if( m_vlrs.begin(),
+ m_vlrs.end(),
+- boost::bind( &SameVLRs, name, id, _1 ) ),
++ boost::bind( &SameVLRs, name, id, boost::placeholders::_1 ) ),
+ m_vlrs.end());
+
+ m_recordsCount = static_cast<uint32_t>(m_vlrs.size());