[Git][debian-gis-team/pdal][master] Update gcc-11.patch to use upstream changes.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Mon Oct 11 07:31:49 BST 2021
Bas Couwenberg pushed to branch master at Debian GIS Project / pdal
Commits:
5d392ef4 by Bas Couwenberg at 2021-10-11T08:31:41+02:00
Update gcc-11.patch to use upstream changes.
- - - - -
1 changed file:
- debian/patches/gcc-11.patch
Changes:
=====================================
debian/patches/gcc-11.patch
=====================================
@@ -1,16 +1,22 @@
-Description: Fix FTBFS with GCC 11.
-Author: Bas Couwenberg <sebastic at debian.org>
+Description: [gcc:11] missing header.
+ `std::numeric_limits` requires `<limits>` header
+ .
+ https://gcc.gnu.org/gcc-11/porting_to.html#header-dep-changes
+Author: bartoszek (https://github.com/bartoszek)
+Origin: https://github.com/asmaloney/libE57Format/pull/68
Bug: https://github.com/PDAL/PDAL/issues/3388
Bug-Debian: https://bugs.debian.org/984285
--- a/plugins/e57/libE57Format/src/E57XmlParser.cpp
+++ b/plugins/e57/libE57Format/src/E57XmlParser.cpp
-@@ -24,6 +24,8 @@
- * DEALINGS IN THE SOFTWARE.
- */
+@@ -35,6 +35,10 @@
+ #include "E57XmlParser.h"
+ #include "ImageFileImpl.h"
++#if __GNUC__ >= 11
+#include <limits>
++#endif
+
- #include <xercesc/sax2/Attributes.hpp>
- #include <xercesc/sax2/XMLReaderFactory.hpp>
-
+ using namespace e57;
+ using namespace std;
+ using namespace XERCES_CPP_NAMESPACE;
View it on GitLab: https://salsa.debian.org/debian-gis-team/pdal/-/commit/5d392ef4361d93cded328ff6e99612d0b753505d
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pdal/-/commit/5d392ef4361d93cded328ff6e99612d0b753505d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20211011/910f4f8f/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list