heyu: fix musl build

This commit is contained in:
Toyam Cox 2016-09-14 08:41:42 -04:00
parent acdd3cca6c
commit 73a371bba0
2 changed files with 27 additions and 7 deletions

View file

@ -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 <strings.h>
#endif
-#ifdef __GLIBC__
/* msf - added for glibc/rh 5.0 */
#include <pty.h>
-#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 <strings.h>
#endif
-#ifdef __GLIBC__
/* msf - added for glibc/rh 5.0 */
#include <pty.h>
-#endif
#include <sys/socket.h>
#include <netdb.h>

View file

@ -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