forked from mirrors/nixpkgs
ptlib: use fetchpatch
This commit is contained in:
parent
32d4a3dec8
commit
377b42a8ad
File diff suppressed because it is too large
Load diff
|
@ -17,8 +17,12 @@ stdenv.mkDerivation rec {
|
|||
enableParallelBuilding = true;
|
||||
|
||||
patches = [
|
||||
./bison.patch
|
||||
./sslv3.patch
|
||||
(fetchpatch { url = http://sources.debian.net/data/main/p/ptlib/2.10.11~dfsg-2.1/debian/patches/bison-fix;
|
||||
sha256 = "0vzv9kyn9s628z8wy2gva380gi1rmhxilwlg5pikl5a0wn8p46nw";
|
||||
})
|
||||
(fetchpatch { url = http://sources.debian.net/data/main/p/ptlib/2.10.11~dfsg-2.1/debian/patches/no-sslv3;
|
||||
sha256 = "172s1dnnrl54p9sf1nl7s475sm78rpw3p8jxi0pdx6izzl8hcdr0";
|
||||
})
|
||||
(fetchpatch { url = http://sources.debian.net/data/main/p/ptlib/2.10.11~dfsg-2.1/debian/patches/gcc-5_support;
|
||||
sha256 = "0pf2yj0150r4cnc6nv65mclrm3dillqh1xjk7m6gsjnk9b96i5d4";
|
||||
})
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
--- ptlib-2.10.11/src/ptclib/pssl.cxx 2016-02-07 09:54:36.326325637 +0000
|
||||
+++ ptlib-2.10.11/src/ptclib/pssl.cxx 2016-02-07 09:55:55.677870908 +0000
|
||||
@@ -805,11 +805,13 @@
|
||||
SSL_METHOD * meth;
|
||||
|
||||
switch (method) {
|
||||
+#if !defined(OPENSSL_NO_SSL3)
|
||||
case SSLv3:
|
||||
meth = SSLv3_method();
|
||||
break;
|
||||
+#endif
|
||||
case TLSv1:
|
||||
meth = TLSv1_method();
|
||||
break;
|
||||
case SSLv23:
|
||||
default:
|
Loading…
Reference in a new issue