mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
pick: fix musl
This commit is contained in:
parent
208435ce15
commit
548c2c4607
2 changed files with 13 additions and 4 deletions
13
srcpkgs/pick/patches/musl.patch
Normal file
13
srcpkgs/pick/patches/musl.patch
Normal 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"); \
|
|
@ -12,10 +12,6 @@ homepage="https://github.com/calleerlandsson/pick/"
|
||||||
distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
|
distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
|
||||||
checksum=ae842a99e64f3a22f4806e8dca6706a7c6487bdc1fb6506e6437b1c542704e7d
|
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() {
|
pre_configure() {
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue