Skip to content

fix: add ptsname_r on Android compilation#2533

Merged
baszalmstra merged 1 commit into
conda:mainfrom
bltavares:allow-android-compilation
Jun 25, 2026
Merged

fix: add ptsname_r on Android compilation#2533
baszalmstra merged 1 commit into
conda:mainfrom
bltavares:allow-android-compilation

Conversation

@bltavares

Copy link
Copy Markdown
Contributor

Description

The rattler_pty package is being used in mise, and in order to port
it to Android/Termux it required a trivial patch to expose ptsname_r

https://github.com/termux/termux-packages/blob/d4967a3307cc8386052ec3f395f9deef18f9544d/packages/mise/rattler_pty-android-target.diff

This commit upstreams the patch to remove the need to vender/patch the
dependency on Termux package respositories.

This is Similar to #2524

Kudos for @igorgatis on the discussion for reporting the patch.

How Has This Been Tested?

Running with cross:

git clone github.com/conda/rattler.git
cd crates/rattler_pty
cross build --target aarch64-linux-android

Checklist:

  • I have performed a self-review of my own code

The `rattler_pty` package is being used in `mise`, and in order to port
it to Android/Termux it required a trivial patch to expose `ptsname_r`

https://github.com/termux/termux-packages/blob/d4967a3307cc8386052ec3f395f9deef18f9544d/packages/mise/rattler_pty-android-target.diff

This commit upstreams the patch to remove the need to vender/patch the
dependency on Termux package respositories.

This is Similar to conda#2524

Kudos for @igorgatis on the [discussion](jdx/mise#7026) for finding the patch.
@baszalmstra baszalmstra merged commit fef7e37 into conda:main Jun 25, 2026
19 of 20 checks passed
@octo-sts octo-sts Bot mentioned this pull request Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants