diff --git a/srcpkgs/screen/patches/fix-musl.patch b/srcpkgs/screen/patches/fix-musl.patch new file mode 100644 index 00000000000..97617e9b2c6 --- /dev/null +++ b/srcpkgs/screen/patches/fix-musl.patch @@ -0,0 +1,10 @@ +--- a/utmp.c ++++ b/utmp.c +@@ -30,6 +30,7 @@ + + #include "utmp.h" + ++#include + #include + #include + #include diff --git a/srcpkgs/screen/template b/srcpkgs/screen/template index 2f4bebecace..8618f369498 100644 --- a/srcpkgs/screen/template +++ b/srcpkgs/screen/template @@ -1,12 +1,9 @@ # Template file for 'screen' pkgname=screen version=5.0.0 -revision=1 +revision=2 build_style=gnu-configure -configure_args="--with-sys-screenrc=/etc/screenrc --enable-pam - --enable-colors256 --enable-rxvt_osc --enable-telnet - --enable-use-locale --with-socket-dir=/run/screens --with-pty-group=5" -hostmakedepends="automake" +configure_args="--enable-telnet --enable-utmp --enable-socket-dir=/run/screens" makedepends="libutempter-devel ncurses-devel pam-devel" conf_files="/etc/screenrc /etc/skel/.screenrc" short_desc="GNU screen manager with VT100/ANSI terminal emulation" @@ -15,6 +12,7 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/s/screen/" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=f04a39d00a0e5c7c86a55338808903082ad5df4d73df1a2fd3425976aed94971 +make_check=no # check is broken in 5.0.0 build_options="multiuser" @@ -22,10 +20,6 @@ if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then makedepends+=" libxcrypt-devel" fi -pre_configure() { - ./autogen.sh -} - post_install() { vinstall etc/etcscreenrc 0644 etc screenrc vinstall etc/screenrc 0644 etc/skel .screenrc