]> git.pld-linux.org Git - packages/hdf.git/commitdiff
- added szip patch to fix szip encoder detection; release 2 auto/th/hdf-4.2.10-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 6 Dec 2014 11:12:17 +0000 (12:12 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 6 Dec 2014 11:12:17 +0000 (12:12 +0100)
hdf-szip.patch [new file with mode: 0644]
hdf.spec

diff --git a/hdf-szip.patch b/hdf-szip.patch
new file mode 100644 (file)
index 0000000..462c93a
--- /dev/null
@@ -0,0 +1,11 @@
+--- hdf-4.2.10/configure.ac.orig       2014-12-06 11:14:27.307342175 +0100
++++ hdf-4.2.10/configure.ac    2014-12-06 11:38:58.803947089 +0100
+@@ -466,7 +466,7 @@
+   yes)
+     HAVE_SZIP="yes"
+     AC_CHECK_HEADERS([szlib.h], [HAVE_SZLIB_H="yes"], [unset HAVE_SZIP])
+-    if test "x$HAVE_SZLIB" = "xyes" -a "x$HAVE_SZLIB_H" = "xyes"; then
++    if test "x$HAVE_SZIP" = "xyes" -a "x$HAVE_SZLIB_H" = "xyes"; then
+       AC_CHECK_LIB([sz], [SZ_BufftoBuffCompress],, [unset HAVE_SZIP])
+     fi
index 67a3f67c71067cf643ba75f1ed5392624bf12dba..c49009ebd90df6fc07cfd5ace803a91940af2164 100644 (file)
--- a/hdf.spec
+++ b/hdf.spec
@@ -6,7 +6,7 @@ Summary:        Hierarchical Data Format library
 Summary(pl.UTF-8):     Biblioteka HDF (Hierarchical Data Format)
 Name:          hdf
 Version:       4.2.10
-Release:       1
+Release:       2
 Epoch:         1
 Group:         Libraries
 License:       Nearly BSD, but changed sources must be marked
@@ -18,6 +18,7 @@ Patch0:               %{name}-shared.patch
 Patch1:                %{name}-morearchs.patch
 Patch2:                %{name}-link.patch
 Patch3:                %{name}-format.patch
+Patch4:                %{name}-szip.patch
 URL:           http://hdf.ncsa.uiuc.edu/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -116,6 +117,7 @@ Przykładowe programy dla biblioteki HDF (w postaci źródłowej).
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 # evil -R
 sed -i '/^if HDF_BUILD_XDR/,/^endif/d;/^if HDF_BUILD_SHARED/,/^endif/d' config/commence.am
This page took 0.058388 seconds and 4 git commands to generate.