]> git.pld-linux.org Git - packages/hdf-eos.git/commitdiff
- workaround for stack abuse causing tests to fail auto/th/hdf-eos-2.19.1.00-2
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 20 Jul 2015 08:03:39 +0000 (08:03 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 20 Jul 2015 08:03:39 +0000 (08:03 +0000)
- rel 2

hdf-eos.spec
stack-overuse.patch [new file with mode: 0644]

index 77423632e8a051154dc9f3e4bb444542e53f6377..79a020899e223da690dc70dab1d97860994d17a3 100644 (file)
@@ -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 (file)
index 0000000..36d7d03
--- /dev/null
@@ -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++)
This page took 0.071546 seconds and 4 git commands to generate.