python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / taoup / tput.patch
blob5c82024885bf023824bab1e286437c492aafeaa4
1 --- a/taoup 2021-09-05 12:43:48.334615538 +0800
2 +++ b/taoup 2021-09-05 12:55:07.631617799 +0800
3 @@ -26,11 +26,9 @@
4 zero_colors = true
5 fortunify = true
6 else
7 - if `which tput` then
8 - colors = `tput colors`
9 - if colors.chop == "-1" then
10 - zero_colors = true
11 - end
12 + colors = `@ncurses@/bin/tput colors`
13 + if colors.chop == "-1" then
14 + zero_colors = true
15 end
16 end
17 if ARGV[0] == '--whitetrash' then