]> git.pld-linux.org Git - packages/bes.git/commitdiff
- up to 4.17.4; fix build auto/th/bes-3.17.4-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 22 May 2018 12:00:19 +0000 (14:00 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 22 May 2018 12:00:19 +0000 (14:00 +0200)
bes-build.patch [new file with mode: 0644]
bes.spec

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);
+                 }
index c788b411baa048c17c83b306190c9458ae46a021..dd6c00570f5f555d5f9aa13de9bf74465c9282eb 100644 (file)
--- a/bes.spec
+++ b/bes.spec
@@ -4,15 +4,16 @@
 Summary:       OPeNDAP Back End Server software framework
 Summary(pl.UTF-8):     Szkielet OPeNDAP Back End Server (serwera backendu OPeNDAP)
 Name:          bes
-Version:       3.17.1
-Release:       5
+Version:       3.17.4
+Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       https://www.opendap.org/pub/source/%{name}-%{version}.tar.gz
-# Source0-md5: 09d5f49ff524d6981d6418643c674d16
+# Source0-md5: c8e5ea98fd9f4a2d490b3e61202a59f9
 Patch0:                %{name}-conf.patch
 Patch1:                %{name}-configure.patch
 Patch2:                %{name}-link.patch
+Patch3:                %{name}-build.patch
 URL:           https://www.opendap.org/
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake >= 1:1.10
@@ -433,6 +434,7 @@ Statyczne biblioteki serwera backendu OPeNDAP.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
This page took 0.065297 seconds and 4 git commands to generate.