diff --git a/packages/erlang/build.sh b/packages/erlang/build.sh index 18e70bb450..1fc9675bbe 100644 --- a/packages/erlang/build.sh +++ b/packages/erlang/build.sh @@ -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" diff --git a/packages/erlang/prefix.patch b/packages/erlang/prefix.patch deleted file mode 100644 index f107f76682..0000000000 --- a/packages/erlang/prefix.patch +++ /dev/null @@ -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}} ->