xterm: fix musl build

This commit is contained in:
Michael Gehring 2016-03-08 09:45:47 +01:00
parent 7fd5c66d75
commit c067b60462

View file

@ -1,7 +1,7 @@
# Template file for 'xterm'
pkgname=xterm
version=323
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-wide-chars --enable-88-color --enable-broken-osc
--enable-256-color --enable-luit --enable-paste64 --enable-ansi-color
@ -21,6 +21,10 @@ license="MIT"
distfiles="ftp://invisible-island.net/xterm/$pkgname-$version.tgz"
checksum=e39f7469910ecc92bd53496037770d4b572d33486a4ba97188e64459f25658bf
post_extract() {
sed -i 's/caddr_t/void*/g' Tekproc.c
}
post_install() {
for f in {u,}xterm.desktop; do
vinstall $f 644 usr/share/applications