From 08d254acd264505404298bff466f5063190ff669 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 17 Oct 2016 17:05:05 +0200 Subject: [PATCH] libmowgli: update to 2.1.0. Moved to GitHub. --- srcpkgs/libmowgli/patches/aarch64.patch | 11 +++++++++++ srcpkgs/libmowgli/template | 11 ++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/libmowgli/patches/aarch64.patch diff --git a/srcpkgs/libmowgli/patches/aarch64.patch b/srcpkgs/libmowgli/patches/aarch64.patch new file mode 100644 index 00000000000..b945c5864fd --- /dev/null +++ b/srcpkgs/libmowgli/patches/aarch64.patch @@ -0,0 +1,11 @@ +--- src/libmowgli/platform/cacheline.c.orig ++++ src/libmowgli/platform/cacheline.c +@@ -32,7 +32,7 @@ + void + mowgli_cacheline_bootstrap(void) + { +-#ifdef MOWGLI_OS_LINUX ++#if defined(MOWGLI_OS_LINUX) && defined(_SC_LEVEL1_DCACHE_LINESIZE) + cacheline_size = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); + #elif defined(MOWGLI_OS_OSX) + size_t size = sizeof(size_t); diff --git a/srcpkgs/libmowgli/template b/srcpkgs/libmowgli/template index b2f081d382e..6ac22c40124 100644 --- a/srcpkgs/libmowgli/template +++ b/srcpkgs/libmowgli/template @@ -1,16 +1,17 @@ # Template file for 'libmowgli' pkgname=libmowgli -version=2.0.0 -revision=15 +version=2.1.0 +revision=1 +wrksrc="${pkgname}-2-${version}" build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libressl-devel" short_desc="Performance and usability-oriented extensions to C" maintainer="Juan RP " -homepage="http://www.atheme.org/project/mowgli" +homepage="https://github.com/atheme/libmowgli-2" license="MIT" -distfiles="http://archlinux.c3sl.ufpr.br/other/packages/libmowgli/libmowgli-${version}.tar.gz" -checksum=7c5a94082899d055fc9a02b94e2658b42616fdb98e58e9a71165c07b6f5cceba +distfiles="https://github.com/atheme/libmowgli-2/archive/v${version}.tar.gz" +checksum=46ef60c642c457a5d0e36bfc8c277e74d2ebf4ab9cbc4e40153781ed4ab0fe7d post_install() { vlicense COPYING