diff options
author | wulf <wulf@pkgsrc.org> | 2001-03-10 00:27:36 +0000 |
---|---|---|
committer | wulf <wulf@pkgsrc.org> | 2001-03-10 00:27:36 +0000 |
commit | 063cb81f7b25f9ab239dd8b28b5b0f55726bbac4 (patch) | |
tree | 35e6f47fc54035757961ccbf5ef003df9a7e7a33 /devel | |
parent | 1f35fec99763621b35fd11a3d66485ae06538f8f (diff) | |
download | pkgsrc-063cb81f7b25f9ab239dd8b28b5b0f55726bbac4.tar.gz |
NetBSD's "sh" shell is not POSIX compliant reporting
trap: Illegal number: INT
in debug screen due to the execution of "trap \"\" INT QUIT TSTP"
in ./kdbg/mainwndbase.cpp:565
Added pre-processor for NetBSD that uses "trap \"\" 2 3 18" instead.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/kdbg/files/patch-sum | 3 | ||||
-rw-r--r-- | devel/kdbg/patches/patch-ab | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/kdbg/files/patch-sum b/devel/kdbg/files/patch-sum index 099d64c3bf1..df6e4e5a573 100644 --- a/devel/kdbg/files/patch-sum +++ b/devel/kdbg/files/patch-sum @@ -1,3 +1,4 @@ -$NetBSD: patch-sum,v 1.2 2001/03/04 16:38:46 tron Exp $ +$NetBSD: patch-sum,v 1.3 2001/03/10 00:27:36 wulf Exp $ MD5 (patch-aa) = 0fb3213ce7fcb4eb5c8952ca8bace3fb +MD5 (patch-ab) = f39e492a8800889221115554d2441105 diff --git a/devel/kdbg/patches/patch-ab b/devel/kdbg/patches/patch-ab new file mode 100644 index 00000000000..7783e3d5117 --- /dev/null +++ b/devel/kdbg/patches/patch-ab @@ -0,0 +1,14 @@ +--- kdbg/mainwndbase.cpp.orig Wed Sep 13 03:44:40 2000 ++++ kdbg/mainwndbase.cpp Wed Feb 28 00:31:03 2001 +@@ -562,7 +562,11 @@ + */ + static const char shellScriptFmt[] = + "tty>%s;" ++#ifdef __NetBSD__ ++ "trap \"\" 2 3 18;" /* ignore various signals */ ++#else + "trap \"\" INT QUIT TSTP;" /* ignore various signals */ ++#endif + "exec<&-;exec>&-;" /* close stdin and stdout */ + "while :;do sleep 3600;done"; + // let config file override this script |