pick: fix musl

This commit is contained in:
Michael Gehring 2017-09-21 16:38:24 +00:00
parent 208435ce15
commit 548c2c4607
2 changed files with 13 additions and 4 deletions

View File

@ -0,0 +1,13 @@
--- pick.c.orig 2017-09-21 16:36:29.000000000 +0000
+++ pick.c 2017-09-21 16:36:43.917200522 +0000
@@ -28,6 +28,10 @@
#include "compat.h"
+#ifndef CCEQ
+ #define CCEQ(val, c) ((c) == (val) && (val) != _POSIX_VDISABLE)
+#endif
+
#define tty_putp(capability, fatal) do { \
if (tputs((capability), 1, tty_putc) == ERR && (fatal)) \
errx(1, #capability ": unknown terminfo capability"); \

View File

@ -12,10 +12,6 @@ homepage="https://github.com/calleerlandsson/pick/"
distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
checksum=ae842a99e64f3a22f4806e8dca6706a7c6487bdc1fb6506e6437b1c542704e7d
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="https://build.voidlinux.eu/builders/armv6l-musl_builder/builds/4769/steps/shell_3/logs/stdio" ;;
esac
pre_configure() {
./autogen.sh
}