From 65ffef4195afe753e581cdd48d304bd8aae7aa1a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 22 May 2018 14:00:19 +0200 Subject: [PATCH] - up to 4.17.4; fix build --- bes-build.patch | 11 +++++++++++ bes.spec | 8 +++++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 bes-build.patch diff --git a/bes-build.patch b/bes-build.patch new file mode 100644 index 0000000..5cf1344 --- /dev/null +++ b/bes-build.patch @@ -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::max(); + (*j)->addFillValue(tempfillvalue); + (*j)->setAddedFillValue(true); + } diff --git a/bes.spec b/bes.spec index c788b41..dd6c005 100644 --- 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} -- 2.43.0