From 548c2c46074cd67d51c0143b3fd6308b93afd5d7 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 21 Sep 2017 16:38:24 +0000 Subject: [PATCH] pick: fix musl --- srcpkgs/pick/patches/musl.patch | 13 +++++++++++++ srcpkgs/pick/template | 4 ---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/pick/patches/musl.patch diff --git a/srcpkgs/pick/patches/musl.patch b/srcpkgs/pick/patches/musl.patch new file mode 100644 index 00000000000..19352db5991 --- /dev/null +++ b/srcpkgs/pick/patches/musl.patch @@ -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"); \ diff --git a/srcpkgs/pick/template b/srcpkgs/pick/template index 38c669e9d41..030094c4817 100644 --- a/srcpkgs/pick/template +++ b/srcpkgs/pick/template @@ -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 }