Browse Source

coreutils: Remove debug patch (fixes #1121)

android-5
Fredrik Fornwall 8 years ago
parent
commit
63603681ca
  1. 2
      packages/coreutils/build.sh
  2. 14
      packages/coreutils/debug.patch

2
packages/coreutils/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/coreutils/
TERMUX_PKG_DESCRIPTION="Basic file, shell and text manipulation utilities from the GNU project"
TERMUX_PKG_VERSION=8.27
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/coreutils/coreutils-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=8891d349ee87b9ff7870f52b6d9312a9db672d2439d289bc57084771ca21656b
# pinky has no usage on Android.

14
packages/coreutils/debug.patch

@ -1,14 +0,0 @@
diff -u -r ../coreutils-8.27/src/du.c ./src/du.c
--- ../coreutils-8.27/src/du.c 2017-01-10 00:32:46.000000000 +0100
+++ ./src/du.c 2017-07-02 22:09:36.164133594 +0200
@@ -396,6 +396,10 @@
print_only_size (uintmax_t n_bytes)
{
char buf[LONGEST_HUMAN_READABLE + 1];
+ char* out = human_readable (n_bytes, buf, human_output_opts, 1, output_block_size);
+ fputs("NICE\n", stdout);
+ printf("NICE\n");
+ printf("output=%s\n", human_readable (n_bytes, buf, human_output_opts, 1, output_block_size));
fputs ((n_bytes == UINTMAX_MAX
? _("Infinity")
: human_readable (n_bytes, buf, human_output_opts,
Loading…
Cancel
Save