diff --git a/srcpkgs/gajim/patches/pyopenssl-17.4.patch b/srcpkgs/gajim/patches/pyopenssl-17.4.patch new file mode 100644 index 00000000000..d3206f4c1f9 --- /dev/null +++ b/srcpkgs/gajim/patches/pyopenssl-17.4.patch @@ -0,0 +1,12 @@ +--- src/gajim.py 2017-11-27 19:00:24.350830956 +0100 ++++ src/gajim.py 2017-11-27 19:02:54.072648722 +0100 +@@ -307,7 +307,8 @@ + OpenSSL.rand.load_file(str(RNG_SEED)) + crypto.add_entropy_sources_OpenSSL() + OpenSSL.rand.write_file(str(RNG_SEED)) +-except ImportError: ++except (ImportError, AttributeError): ++ PYOPENSSL_PRNG_PRESENT = False + log.info("PyOpenSSL PRNG not available") + + import traceback diff --git a/srcpkgs/gajim/template b/srcpkgs/gajim/template index eacee1f27fe..90ee160a0da 100644 --- a/srcpkgs/gajim/template +++ b/srcpkgs/gajim/template @@ -1,7 +1,7 @@ # Template file for 'gajim' pkgname=gajim version=0.16.8 -revision=1 +revision=2 noarch=yes build_style=gnu-configure configure_args="--enable-site-packages PYTHON=python2"