tint2: update to 0.12.6.

This commit is contained in:
Juan RP 2016-01-29 08:22:42 +01:00
parent 769aac9979
commit 94f13adf52
2 changed files with 19 additions and 3 deletions

View file

@ -0,0 +1,16 @@
--- src/util/common.c.orig 2016-01-29 08:21:02.000701749 +0100
+++ src/util/common.c 2016-01-29 08:21:49.545577920 +0100
@@ -38,9 +38,12 @@
#include <sys/time.h>
#include <sys/resource.h>
#include <errno.h>
-#include <sys/sysctl.h>
#include <dirent.h>
+#if !defined(__linux__) || defined(__linux__) && defined(__GLIBC__)
+#include <sys/sysctl.h>
+#endif
+
#ifdef HAVE_RSVG
#include <librsvg/rsvg.h>
#endif

View file

@ -1,7 +1,8 @@
# Template file for 'tint2'
pkgname=tint2
version=0.12.3
version=0.12.6
revision=1
wrksrc="${pkgname}-${version}-117ffb2bfda625b44d4c833f882b727eddeb6add"
build_style=cmake
hostmakedepends="cmake pkg-config"
makedepends="libXdamage-devel libXcomposite-devel libXinerama-devel libXrandr-devel
@ -12,5 +13,4 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://gitlab.com/o9000/tint2"
distfiles="https://gitlab.com/o9000/${pkgname}/repository/archive.tar.gz?ref=${version}>${pkgname}-${version}.tar.gz"
checksum=7f1f7cdb8eecfaaac620589c327bf29def457a9d38cee587769c93aacd2a3e36
wrksrc="tint2-${version}-5f4154408953a75458e7c5125ef3b9fdfe86ff0a"
checksum=7f40cf36f0e579b9d81651aff09e470b4cbae496accc905e91cdda1fdaf57e9f