81ca71472c
- Review licenses of subpart: The code is licensed BSD except for: + filters/private/csf/* and plugins/i3s/lepcc/* are Apache-2.0 + vendor/arbiter/*, plugins/nitf/io/nitflib.h and plugins/oci/io/OciWrapper.* are Expat/MIT + plugins/e57/io/{src,include}/* is BSD-3-Clause + plugins/e57/libE57Format/{src,include}/* is Boost 1-0 - Create a patch PDAL_unbundle.path to sort out eigen3 and boost + Eigen3 system now used fixing boo#1194109 - Fixing boo#1194109 ppc64le build by disabling lto until upstream https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059 is fixed - Add Provides for + bundled(arbiter) + bundled(PoissonRecon) + bundled(nanoflann) + bundled(nlohmann) - Add %check section following what's Fedora is doing + Add upstream patch for testing 32bits d11e0e20.patch OBS-URL: https://build.opensuse.org/request/show/944026 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/PDAL?expand=0&rev=26
30 lines
844 B
Diff
30 lines
844 B
Diff
From d11e0e20ba2d67365180cfd79ca8995170817697 Mon Sep 17 00:00:00 2001
|
|
From: Andrew Bell <andrew.bell.ia@gmail.com>
|
|
Date: Thu, 3 Jun 2021 07:50:50 -0400
|
|
Subject: [PATCH] Don't run large file mapping test on WIN32.
|
|
|
|
---
|
|
test/unit/UtilsTest.cpp | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/test/unit/UtilsTest.cpp b/test/unit/UtilsTest.cpp
|
|
index 26a715854d..7ad985cbc9 100644
|
|
--- a/test/unit/UtilsTest.cpp
|
|
+++ b/test/unit/UtilsTest.cpp
|
|
@@ -477,6 +477,8 @@ TEST(UtilsTest, escapeJSON)
|
|
EXPECT_EQ(escaped, "\\u0001\\t\\f\\n\\\\\\\"\\u0016");
|
|
}
|
|
|
|
+// Don't run if we are WIN32
|
|
+#if !defined(_WIN32) || defined(_WIN64)
|
|
TEST(UtilsTest, map)
|
|
{
|
|
Support::Tempfile temp;
|
|
@@ -536,5 +538,6 @@ TEST(UtilsTest, map)
|
|
EXPECT_EQ(std::string(c), "Another.");
|
|
FileUtils::unmapFile(ctx);
|
|
}
|
|
+#endif // guard for 32-bit windows
|
|
|
|
}
|