From 4e367aa8502c9e891dd0184671dc776448d79099 Mon Sep 17 00:00:00 2001 From: Adam Beckmeyer Date: Fri, 5 Oct 2018 10:28:31 -0400 Subject: [PATCH] olm: update to 2.3.0. --- srcpkgs/olm/patches/python-find-olm.patch | 5 +---- srcpkgs/olm/template | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/srcpkgs/olm/patches/python-find-olm.patch b/srcpkgs/olm/patches/python-find-olm.patch index a13f04fb3ad..257e9028c3f 100644 --- a/srcpkgs/olm/patches/python-find-olm.patch +++ b/srcpkgs/olm/patches/python-find-olm.patch @@ -1,14 +1,11 @@ --- python/olm/_base.py +++ python/olm/_base.py -@@ -1,14 +1,13 @@ +@@ -1,11 +1,10 @@ import os.path from ctypes import * +from ctypes import util - def read_random(n): - with open("/dev/urandom", "rb") as f: - return f.read(n) -lib = cdll.LoadLibrary(os.path.join( - os.path.dirname(__file__), "..", "..", "build", "libolm.so.2") diff --git a/srcpkgs/olm/template b/srcpkgs/olm/template index 0aef7d179aa..d6eb3ce4607 100644 --- a/srcpkgs/olm/template +++ b/srcpkgs/olm/template @@ -1,6 +1,6 @@ # Template file for 'olm' pkgname=olm -version=2.2.2 +version=2.3.0 revision=1 build_style=gnu-makefile make_check_target=test @@ -11,7 +11,7 @@ maintainer="Adam Beckmeyer " license="Apache-2.0" homepage="https://git.matrix.org/git/olm/about/" distfiles="https://git.matrix.org/git/olm/snapshot/${pkgname}-${version}.tar.gz" -checksum=0c00127e6c4fcb4ec2cb3f78805a9218551b878f75441a1bc282b94c9fdd7b9a +checksum=533714fb84860e04c185790d16ef9085f15e902c2105db941d5c7e92b0565ef8 post_configure() { # -O0 prevents _FORTIFY_SOURCE working