[packages/hdf-eos] - workaround for stack abuse causing tests to fail - rel 2
baggins
baggins at pld-linux.org
Mon Jul 20 10:04:03 CEST 2015
commit 1751982b77a92ff4ccdab28fe35ea66f789b1fec
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Jul 20 08:03:39 2015 +0000
- workaround for stack abuse causing tests to fail
- rel 2
hdf-eos.spec | 4 +++-
stack-overuse.patch | 10 ++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/hdf-eos.spec b/hdf-eos.spec
index 7742363..79a0208 100644
--- a/hdf-eos.spec
+++ b/hdf-eos.spec
@@ -7,7 +7,7 @@ Summary: HDF-EOS 2 library
Summary(pl.UTF-8): Biblioteka HDF-EOS 2
Name: hdf-eos
Version: 2.19.1.00
-Release: 1
+Release: 2
License: MIT-like
Group: Libraries
Source0: ftp://edhs1.gsfc.nasa.gov/edhs/hdfeos/latest_release/HDF-EOS2.19v1.00.tar.Z
@@ -17,6 +17,7 @@ Source1: ftp://edhs1.gsfc.nasa.gov/edhs/hdfeos/latest_release/HDF-EOS2.19v1.00_T
# Source1-md5: a8d46eddb8a6a755f554b50414ee951b
Patch0: %{name}-cc.patch
Patch1: %{name}-link.patch
+Patch2: stack-overuse.patch
URL: http://hdfeos.org/software/library.php#HDF-EOS2
BuildRequires: autoconf >= 2.61
BuildRequires: automake
@@ -80,6 +81,7 @@ Statyczna biblioteka HDF-EOS 2.
%setup -q -n hdfeos -b1
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__libtoolize}
diff --git a/stack-overuse.patch b/stack-overuse.patch
new file mode 100644
index 0000000..36d7d03
--- /dev/null
+++ b/stack-overuse.patch
@@ -0,0 +1,10 @@
+--- hdfeos/src/SWapi.c~ 2015-07-20 07:48:31.000000000 +0000
++++ hdfeos/src/SWapi.c 2015-07-20 07:58:49.803235973 +0000
+@@ -14023,6 +14023,7 @@
+
+ /* Get "Track" (first) Dimension from geo dimlist */
+ /* ---------------------------------------------- */
++ memset(ptr,0,sizeof(ptr));
+ nDim = EHparsestr(geodim, ',', ptr, slen);
+
+ for(iDim=0; iDim<8; iDim++)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hdf-eos.git/commitdiff/1751982b77a92ff4ccdab28fe35ea66f789b1fec
More information about the pld-cvs-commit
mailing list