Browse Source

Merge pull request #4489 from its-pointless/lldbfix

fix lldb for later android versions
emacs-27
Leonid Plyushch 5 years ago
committed by GitHub
parent
commit
a51d424c9c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      packages/lldb/ProcessLauncherPosixFork.cpp.patch
  2. 1
      packages/lldb/build.sh

13
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

1
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"

Loading…
Cancel
Save