From 2a8ac3876a3739237298bef8743f520e2405167b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 20 Feb 2016 09:13:22 +0100 Subject: [PATCH] sessreg: fix musl build again For musl define _PATH_UTMPX analogous to _PATH_WTMPX. --- srcpkgs/sessreg/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sessreg/template b/srcpkgs/sessreg/template index 75b51695e86..2d7dffd6f51 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=2 +revision=3 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libX11-devel" @@ -14,3 +14,9 @@ checksum=551177657835e0902b5eee7b19713035beaa1581bbd3c6506baa553e751e017c # musl does not define _WTMPX_FILE, use WTMP_FILE instead. CFLAGS="-D_WTMPX_FILE=WTMP_FILE -D_PATH_WTMPX=_PATH_WTMP" +# musl does not define _UTMPX_FILE, use UTMP_FILE instead. +CFLAGS+=" -D_UTMPX_FILE=UTMP_FILE -D_PATH_UTMPX=_PATH_UTMP" + +post_install() { + vlicense COPYING +}