Skip to content

Commit b0a137a

Browse files
committed
bump(main/erlang): 28.4
1 parent 8ecae77 commit b0a137a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages/erlang/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.erlang.org/
22
TERMUX_PKG_DESCRIPTION="General-purpose concurrent functional programming language"
33
TERMUX_PKG_LICENSE="Apache-2.0"
44
TERMUX_PKG_MAINTAINER="@termux"
5-
TERMUX_PKG_VERSION="28.3.3"
5+
TERMUX_PKG_VERSION="28.4"
66
TERMUX_PKG_SRCURL=https://github.com/erlang/otp/archive/refs/tags/OTP-$TERMUX_PKG_VERSION.tar.gz
7-
TERMUX_PKG_SHA256=f4749bfb2f9d26acd1fda9496ae802b98dc0337d54b030c2354ea819366b7f5c
7+
TERMUX_PKG_SHA256=45d70c5f0cf0657db467fbe9dfeb07568787786a9c4f9adcedec3b17668f83e8
88
TERMUX_PKG_AUTO_UPDATE=true
99
TERMUX_PKG_UPDATE_VERSION_REGEXP='^OTP-[\d.]+$'
1010
TERMUX_PKG_DEPENDS="libc++, openssl, ncurses, zlib"

packages/erlang/emulator-asmjit-virtmem-shm.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ diff --git a/erts/emulator/asmjit/core/virtmem.cpp b/erts/emulator/asmjit/core/v
22
index a1b0f95..d1eb1ad 100644
33
--- a/erts/emulator/asmjit/core/virtmem.cpp
44
+++ b/erts/emulator/asmjit/core/virtmem.cpp
5-
@@ -388,7 +396,7 @@ static ASMJIT_INLINE int VirtMem_appleSpecificMMapFlags(uint32_t flags) noexcept
5+
@@ -518,7 +518,7 @@ enum class AnonymousMemoryStrategy : uint32_t {
66
#if !defined(SHM_ANON)
7-
static const char* VirtMem_getTmpDir() noexcept {
8-
const char* tmpDir = getenv("TMPDIR");
9-
- return tmpDir ? tmpDir : "/tmp";
10-
+ return tmpDir ? tmpDir : "@TERMUX_PREFIX@/tmp";
7+
static const char* get_tmp_dir() noexcept {
8+
const char* tmp_dir = getenv("TMPDIR");
9+
- return tmp_dir ? tmp_dir : "/tmp";
10+
+ return tmp_dir ? tmp_dir : "@TERMUX_PREFIX@/tmp";
1111
}
1212
#endif
1313

0 commit comments

Comments
 (0)