Browse Source

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1964 ec354946-7b23-47d6-9f5a-488ba84defc7

kudoh 13 years ago
parent
commit
0f8dbf9a43
1 changed files with 6 additions and 1 deletions
  1. 6 1
      z/zlib/zlib-vl.spec

+ 6 - 1
z/zlib/zlib-vl.spec

@@ -3,9 +3,10 @@ Summary: The zlib compression and decompression library.
 Summary(ja): zlib 圧縮/展開ライブラリ
 Name: zlib
 Version: 1.2.5
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 Group: System Environment/Libraries
 Source: http://www.zlib.net/zlib-%{version}.tar.bz2
+Patch0: zlib-1.2.5-lfs-decls.patch
 
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
@@ -93,6 +94,7 @@ will use the zlib library.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 mkdir static shared
@@ -170,6 +172,9 @@ rm -rf ${RPM_BUILD_ROOT}
 %endif
 
 %changelog
+* Fri Oct 1 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.5-2
+- added patch0 from gentoo to fix zlib.h errors on i686 compiling some applications
+
 * Wed Sep 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.5-1
 - new upstream release (built with rpm-4.8.1-1 for pkg-config file)
 - changed License: BSD to zlib and Boost