From 73a371bba02d114dd5aad5f09c20bb52b5ee989e Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Wed, 14 Sep 2016 08:41:42 -0400 Subject: [PATCH] heyu: fix musl build --- srcpkgs/heyu/patches/muslc.patch | 26 ++++++++++++++++++++++++++ srcpkgs/heyu/template | 8 +------- 2 files changed, 27 insertions(+), 7 deletions(-) create mode 100644 srcpkgs/heyu/patches/muslc.patch diff --git a/srcpkgs/heyu/patches/muslc.patch b/srcpkgs/heyu/patches/muslc.patch new file mode 100644 index 00000000000..025ac0aa409 --- /dev/null +++ b/srcpkgs/heyu/patches/muslc.patch @@ -0,0 +1,26 @@ +--- tty.c.bck 2016-09-14 08:12:52.517706416 -0400 ++++ tty.c 2016-09-14 08:13:29.218260165 -0400 +@@ -50,10 +50,8 @@ + #ifdef SOLARIS + #include + #endif +-#ifdef __GLIBC__ + /* msf - added for glibc/rh 5.0 */ + #include +-#endif + + #include "x10.h" + #include "process.h" +--- tty_aux.c.bck 2016-09-14 08:19:51.568551550 -0400 ++++ tty_aux.c 2016-09-14 08:20:11.046306417 -0400 +@@ -50,10 +50,8 @@ + #ifdef SOLARIS + #include + #endif +-#ifdef __GLIBC__ + /* msf - added for glibc/rh 5.0 */ + #include +-#endif + + #include + #include diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template index cce43e8cfdf..31c89d73a0f 100644 --- a/srcpkgs/heyu/template +++ b/srcpkgs/heyu/template @@ -1,7 +1,7 @@ # Template file for 'heyu' pkgname=heyu version=2.10 -revision=1 +revision=2 build_style=configure configure_script="./Configure" configure_args="linux" @@ -12,12 +12,6 @@ homepage="http://www.heyu.org" distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz" checksum=2893b2b68470c2a3f4a35bb21b9466ba93de67a6dddd2d035fa1cfab9f79f25f -case $XBPS_TARGET_MACHINE in - *-musl) - broken=https://s3.amazonaws.com/archive.travis-ci.org/jobs/159799132/log.txt - ;; -esac - pre_configure() { sed -i 's:local/::' Configure sed -i 's:/man:/share/man:' Configure