bump(main/erlang): 27.2 (#22617)

This commit is contained in:
termux-pacman-bot
2024-12-20 16:39:35 +00:00
parent 2af8f258c2
commit f2d56805e6
2 changed files with 2 additions and 16 deletions

View File

@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.erlang.org/
TERMUX_PKG_DESCRIPTION="General-purpose concurrent functional programming language"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="27.1.2"
TERMUX_PKG_VERSION="27.2"
TERMUX_PKG_SRCURL=https://github.com/erlang/otp/archive/refs/tags/OTP-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=365208d47f9590f27c0814ccd7ee7aec0e1b6ba2fe9d875e356edb5d9b054541
TERMUX_PKG_SHA256=0727cf869622544a2434a104109b31f5fadb8dc6b532287aea182fab95922ea8
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_VERSION_REGEXP='\d+(\.\d+)+'
TERMUX_PKG_DEPENDS="libc++, openssl, ncurses, zlib"

View File

@@ -1,14 +0,0 @@
--- ./lib/kernel/src/os.erl 2022-05-17 19:29:45.000000000 +0000
+++ ./lib/kernel/src/os.erl 2022-05-18 14:34:43.819497497 +0000
@@ -317,9 +317,9 @@
%% Check if the default shell is located in /bin/sh as expected usually
%% or in /system/bin/sh as implemented on Android. The raw option is
%% used to bypass the file server and speed up the file access.
- Shell = case file:read_file_info("/bin/sh",[raw]) of
+ Shell = case file:read_file_info("@TERMUX_PREFIX@/bin/sh",[raw]) of
{ok,#file_info{type=regular}} ->
- "/bin/sh";
+ "@TERMUX_PREFIX@/bin/sh";
_ ->
case file:read_file_info("/system/bin/sh",[raw]) of
{ok,#file_info{type=regular}} ->