libmowgli: update to 2.1.0.

Moved to GitHub.
This commit is contained in:
Christian Neukirchen 2016-10-17 17:05:05 +02:00
parent f2a5aeb73d
commit 08d254acd2
2 changed files with 17 additions and 5 deletions
srcpkgs/libmowgli

View file

@ -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);

View file

@ -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 <xtraeme@voidlinux.eu>"
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