]> git.pld-linux.org Git - packages/bes.git/blobdiff - bes-build.patch
- up to 4.17.4; fix build
[packages/bes.git] / bes-build.patch
diff --git a/bes-build.patch b/bes-build.patch
new file mode 100644 (file)
index 0000000..5cf1344
--- /dev/null
@@ -0,0 +1,11 @@
+--- bes-3.17.4/modules/hdf4_handler/HDFEOS2.cc~        2016-06-02 23:17:54.000000000 +0200
++++ bes-3.17.4/modules/hdf4_handler/HDFEOS2.cc 2018-05-22 13:45:20.035730813 +0200
+@@ -1771,7 +1771,7 @@ void File::handle_grid_cf_attrs() throw(
+             // We may find such cases for other products and will tackle them also.
+             if (true == (*i)->addfvalueattr) {
+                 if((((*j)->getFillValue()).empty()) && ((*j)->getType()==DFNT_FLOAT32 )) {
+-                    float tempfillvalue = HUGE;
++                    float tempfillvalue = std::numeric_limits<double>::max();
+                     (*j)->addFillValue(tempfillvalue);
+                     (*j)->setAddedFillValue(true);
+                 }
This page took 0.065652 seconds and 4 git commands to generate.