diff --git a/packages/procps/build.sh b/packages/procps/build.sh index 6a872fdec..a1c9a818a 100644 --- a/packages/procps/build.sh +++ b/packages/procps/build.sh @@ -1,6 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://packages.debian.org/sid/procps TERMUX_PKG_DESCRIPTION="Utilities that give information about processes using the /proc filesystem" TERMUX_PKG_VERSION=3.3.11 +TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/procps-ng/Production/procps-ng-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_FOLDERNAME=procps-ng-${TERMUX_PKG_VERSION} diff --git a/packages/procps/pgrep.c.patch b/packages/procps/pgrep.c.patch new file mode 100644 index 000000000..3e800bdb0 --- /dev/null +++ b/packages/procps/pgrep.c.patch @@ -0,0 +1,12 @@ +diff -u -r ../procps-ng-3.3.11/pgrep.c ./pgrep.c +--- ../procps-ng-3.3.11/pgrep.c 2015-08-09 01:54:54.298117295 -0400 ++++ ./pgrep.c 2016-04-12 01:14:09.647108539 -0400 +@@ -713,7 +713,7 @@ + {NULL, 0, NULL, 0} + }; + +- if (strstr (program_invocation_short_name, "pkill")) { ++ if (strstr (argv[0], "pkill")) { + int sig; + i_am_pkill = 1; + sig = signal_option(&argc, argv);