reptyr: fix for musl.

This commit is contained in:
Christian Neukirchen 2015-05-16 16:21:11 +02:00
parent c130a0a086
commit 093566bafd

View file

@ -1,7 +1,7 @@
# Template file for 'reptyr'
pkgname=reptyr
version=0.6.2
revision=1
revision=2
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-makefile
short_desc="Reparent a running program to a new terminal"
@ -11,6 +11,9 @@ homepage="https://github.com/nelhage/reptyr"
distfiles="https://github.com/nelhage/reptyr/archive/${pkgname}-${version}.tar.gz"
checksum=c73de510eeedc37a0aac63ea4be9a3c841bbbda029232f871b15d53733a0ee1e
post_extract() {
sed -i 's/enum __ptrace_request/int/g' platform/linux/linux_ptrace.c
}
post_install() {
vlicense COPYING LICENSE
}