diff --git a/packages/lldb/ProcessLauncherPosixFork.cpp.patch b/packages/lldb/ProcessLauncherPosixFork.cpp.patch new file mode 100644 index 000000000..cf426e4ad --- /dev/null +++ b/packages/lldb/ProcessLauncherPosixFork.cpp.patch @@ -0,0 +1,13 @@ +--- source/Host/posix/ProcessLauncherPosixFork.cpp.orig 2019-11-03 00:42:25.977205716 +0000 ++++ ./source/Host/posix/ProcessLauncherPosixFork.cpp 2019-11-03 00:43:11.313499292 +0000 +@@ -136,8 +136,8 @@ + + if (info.GetFlags().Test(eLaunchFlagDebug)) { + // Do not inherit setgid powers. +- if (setgid(getgid()) != 0) +- ExitWithError(error_fd, "setgid"); ++ // if (setgid(getgid()) != 0) ++ // ExitWithError(error_fd, "setgid"); + + // HACK: + // Close everything besides stdin, stdout, and stderr that has no file diff --git a/packages/lldb/build.sh b/packages/lldb/build.sh index 0a21eb024..aa4af40e1 100644 --- a/packages/lldb/build.sh +++ b/packages/lldb/build.sh @@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="NCSA" TERMUX_PKG_VERSION=9.0.0 TERMUX_PKG_SRCURL=https://releases.llvm.org/$TERMUX_PKG_VERSION/lldb-$TERMUX_PKG_VERSION.src.tar.xz TERMUX_PKG_SHA256=1e4c2f6a1f153f4b8afa2470d2e99dab493034c1ba8b7ffbbd7600de016d0794 +TERMUX_PKG_REVISION=1 TERMUX_PKG_DEPENDS="libc++, libedit, libllvm, libxml2, ncurses-ui-libs" TERMUX_PKG_BUILD_DEPENDS="libllvm-static" TERMUX_PKG_BREAKS="lldb-dev, lldb-static"