From 84e8928da2e8c2941581c1ac4ded5918d60cda49 Mon Sep 17 00:00:00 2001 From: leot Date: Mon, 21 Jan 2019 09:03:44 +0000 Subject: bash: Adjust dollar_dollar_pid type (pid_t, not int) Pointed out by pkgsrc-upstream-trunk32 SmartOS Joyent bulk builds. --- shells/bash/distinfo | 3 ++- shells/bash/patches/patch-examples_loadables_push.c | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 shells/bash/patches/patch-examples_loadables_push.c (limited to 'shells') diff --git a/shells/bash/distinfo b/shells/bash/distinfo index a152b579989..ca813e0f6ed 100644 --- a/shells/bash/distinfo +++ b/shells/bash/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.51 2019/01/08 16:24:42 ryoon Exp $ +$NetBSD: distinfo,v 1.52 2019/01/21 09:03:44 leot Exp $ SHA1 (bash-5.0.tar.gz) = d116b469b9e6ea5264a74661d3a4c797da7f997b RMD160 (bash-5.0.tar.gz) = a081428a896d617855499376b670eca3433a27c1 @@ -9,6 +9,7 @@ SHA1 (patch-ag) = cd3b151e3bb045d2bb609c0a03d7d3df2c871f47 SHA1 (patch-aj) = 2e4c15afd9b50d44967ee8e1f85bdc908c0eeeb0 SHA1 (patch-builtins_ulimit.def) = 1390069344607204eb3abbd6ddeb148ff590c55e SHA1 (patch-configure) = c4e1ab53a1ee85f3e6121047f0aca8ceb85e6e5d +SHA1 (patch-examples_loadables_push.c) = 57a3c7de9ea0a75c373db678d9500954bcf40ff4 SHA1 (patch-shell.c) = daa07914d4c318cd72463f80344f4f7c364809cd SHA1 (patch-support_shobj-conf) = 8750c104549ea8a4a722bd21a684a9fe13e05fe5 SHA1 (patch-variables.c) = 8d91272602aba348dc158d8fb5948edd90d96646 diff --git a/shells/bash/patches/patch-examples_loadables_push.c b/shells/bash/patches/patch-examples_loadables_push.c new file mode 100644 index 00000000000..aa70e14b43b --- /dev/null +++ b/shells/bash/patches/patch-examples_loadables_push.c @@ -0,0 +1,15 @@ +$NetBSD: patch-examples_loadables_push.c,v 1.1 2019/01/21 09:03:44 leot Exp $ + +Match declaration of dollar_dollar_pid in variables.h. + +--- examples/loadables/push.c.orig 2017-06-20 14:54:52.000000000 +0000 ++++ examples/loadables/push.c +@@ -35,7 +35,7 @@ + extern int errno; + #endif + +-extern int dollar_dollar_pid; ++extern pid_t dollar_dollar_pid; + extern int last_command_exit_value; + + int -- cgit v1.2.3