Browse Source

libmcrypt-2.5.8-3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8595 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 9 years ago
parent
commit
cfdd2e764f
1 changed files with 17 additions and 2 deletions
  1. 17 2
      lib/libm/libmcrypt/libmcrypt-vl.spec

+ 17 - 2
lib/libm/libmcrypt/libmcrypt-vl.spec

@@ -1,14 +1,22 @@
 Summary: libmcrypt is a data encryption library.
 Name: libmcrypt
 Version: 2.5.8
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: LGPL
 Group: System Environment/Libraries
 URL: http://mcrypt.sourceforge.net/
 
 Source: %{name}-%{version}.tar.bz2
+Patch0:         libmcrypt-2.5.8-nolibltdl.patch
+# Upstream:
+# http://sourceforge.net/tracker/index.php?func=detail&aid=1872801&group_id=87941&atid=584895
+Patch1:         libmcrypt-2.5.8-uninitialized.patch
+# Upstream:
+# http://sourceforge.net/tracker/index.php?func=detail&aid=1872799&group_id=87941&atid=584895
+Patch2:         libmcrypt-2.5.8-prototypes.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires:  libtool-ltdl-devel
 
 %description
 libmcrypt is a data encryption library. The library is thread safe
@@ -28,9 +36,13 @@ Header file and static libraries of libmcrypt data encryption library.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1 -b .uninitialized
+%patch2 -p1 -b .prototypes
 
 %build
-%configure --disable-posix-threads --disable-static
+##%configure --disable-posix-threads --disable-static
+%configure --disable-static
 
 make %{?_smp_mflags}
 
@@ -65,6 +77,9 @@ rm -rf %{buildroot}
 %{_datadir}/aclocal/libmcrypt.m4
 
 %changelog
+* Mon Jun 23 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.8-3
+- added patches.
+
 * Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.5.8-2
 - rebuild