rpms/ptlib/devel ptlib-2.6.4-openssl.patch, NONE, 1.1 ptlib.spec, 1.20, 1.21
Tomáš Mráz
tmraz at fedoraproject.org
Sat Aug 22 15:36:32 UTC 2009
Author: tmraz
Update of /cvs/pkgs/rpms/ptlib/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14498
Modified Files:
ptlib.spec
Added Files:
ptlib-2.6.4-openssl.patch
Log Message:
* Sat Aug 22 2009 Tomas Mraz <tmraz at redhat.com> - 2.6.4-5
- rebuilt with new openssl
ptlib-2.6.4-openssl.patch:
pssl.cxx | 4 ++++
1 file changed, 4 insertions(+)
--- NEW FILE ptlib-2.6.4-openssl.patch ---
diff -up ptlib-2.6.4/src/ptclib/pssl.cxx.openssl ptlib-2.6.4/src/ptclib/pssl.cxx
--- ptlib-2.6.4/src/ptclib/pssl.cxx.openssl 2009-07-05 07:52:49.000000000 +0200
+++ ptlib-2.6.4/src/ptclib/pssl.cxx 2009-08-22 17:34:38.000000000 +0200
@@ -800,7 +800,11 @@ PSSLContext::PSSLContext(const void * se
void PSSLContext::Construct(Method method, const void * sessionId, PINDEX idSize)
{
// create the new SSL context
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+ const SSL_METHOD * meth;
+#else
SSL_METHOD * meth;
+#endif
switch (method) {
case SSLv2:
Index: ptlib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ptlib/devel/ptlib.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- ptlib.spec 22 Aug 2009 13:59:49 -0000 1.20
+++ ptlib.spec 22 Aug 2009 15:36:32 -0000 1.21
@@ -4,6 +4,7 @@ Version: 2.6.4
Release: 5%{?dist}
URL: http://www.opalvoip.org/
Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
+Patch1: ptlib-2.6.4-openssl.patch
License: MPLv1.0
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -36,6 +37,7 @@ The ptlib-devel package includes the lib
%prep
%setup -q
+%patch1 -p1 -b .openssl
%build
export CFLAGS="$CFLAGS -DLDAP_DEPRECATED"
More information about the fedora-extras-commits
mailing list