From 3df7f92f02f7a19f59f986302c329609081087ff Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 9 May 2015 08:07:42 +0200 Subject: [PATCH] sessreg: unbreak musl build. --- srcpkgs/sessreg/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sessreg/template b/srcpkgs/sessreg/template index 57dc14afcdb..d9a535da24b 100644 --- a/srcpkgs/sessreg/template +++ b/srcpkgs/sessreg/template @@ -1,7 +1,7 @@ # Template build file for 'sessreg'. pkgname=sessreg version=1.1.0 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libX11-devel" @@ -11,3 +11,6 @@ license="MIT" maintainer="Juan RP " distfiles="${XORG_SITE}/app/$pkgname-$version.tar.bz2" checksum=551177657835e0902b5eee7b19713035beaa1581bbd3c6506baa553e751e017c + +# musl does not define _WTMPX_FILE, use _WTMP_FILE instead. +CFLAGS="-D_WTMPX_FILE=_WTMP_FILE"