[packages/hdf] - added szip patch to fix szip encoder detection; release 2

qboosh qboosh at pld-linux.org
Sat Dec 6 12:12:04 CET 2014


commit a222389049b953ad4457ab7548b81e5f4ba845a7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Dec 6 12:12:17 2014 +0100

    - added szip patch to fix szip encoder detection; release 2

 hdf-szip.patch | 11 +++++++++++
 hdf.spec       |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/hdf.spec b/hdf.spec
index 67a3f67..c49009e 100644
--- 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
diff --git a/hdf-szip.patch b/hdf-szip.patch
new file mode 100644
index 0000000..462c93a
--- /dev/null
+++ b/hdf-szip.patch
@@ -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
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hdf.git/commitdiff/a222389049b953ad4457ab7548b81e5f4ba845a7



More information about the pld-cvs-commit mailing list