From: Mark Baker Date: Thu, 18 Jan 2024 18:52:58 +0000 (-0500) Subject: lualanes: Version bump to v3.16.2 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=08e51ab50a452d1c6217f3a6767f66146814878b;p=openwrt-packages.git lualanes: Version bump to v3.16.2 Update the PKG_VERSION and PKG_SOURCE_VERSION to pull version 3.16.2 from upstream. The upstream version includes fixes for the `pthread_yield: symbol not found` issue. Removed patches 100-musl-compat.patch and 200-fix-redef-error.patch as fixes were implemented upstream. Build tested on aarch64, arm_cortex_a15/a9, i386, mips[el]_24kc, powerpc_464fp/8548, riscv64, x86_64. Confirmed on x86_64. Signed-off-by: Mark Baker --- diff --git a/lang/lualanes/Makefile b/lang/lualanes/Makefile index 16395b43b..316ab91e4 100644 --- a/lang/lualanes/Makefile +++ b/lang/lualanes/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lualanes -PKG_VERSION:=3.13.0 -PKG_RELEASE:=2 +PKG_VERSION:=3.16.2 +PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://codeload.github.com/LuaLanes/lanes/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=53a17d7ee11f17ca0543ae5aa640208dcb62d37862a0d0ea450455fae12c8ff1 -PKG_BUILD_DIR:=$(BUILD_DIR)/lanes-$(PKG_VERSION) +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/LuaLanes/lanes.git +PKG_SOURCE_VERSION:=489f7caf9ed893c1e8efc5c1b6ecb757a2131932 +PKG_MIRROR_HASH:=667042a2d773bb4d6139abca1ed2b62c2b6b3f4dd7c5446914de548625ea08f8 PKG_MAINTAINER:=Vladimir Malyutin PKG_LICENSE:=BSD-3-Clause @@ -35,7 +35,7 @@ define Package/lualanes endef define Package/lualanes/description - Lua Lanes is a Lua extension library providing the possibility to run +Lua Lanes is a Lua extension library providing the possibility to run multiple Lua states in parallel. It is intended to be used for optimizing performance on multicore CPU's and to study ways to make Lua programs naturally parallel to begin with. diff --git a/lang/lualanes/patches/100-musl-compat.patch b/lang/lualanes/patches/100-musl-compat.patch deleted file mode 100644 index 4edabf7e6..000000000 --- a/lang/lualanes/patches/100-musl-compat.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/threading.h -+++ b/src/threading.h -@@ -110,7 +110,7 @@ enum e_status { PENDING, RUNNING, WAITIN - #endif // PLATFORM_WIN32 - #include - -- #ifdef PLATFORM_LINUX -+ #if defined(PLATFORM_LINUX) && defined(__GLIBC__) - # define _MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP - #else - /* OS X, ... */ diff --git a/lang/lualanes/patches/200-fix-redef-error.patch b/lang/lualanes/patches/200-fix-redef-error.patch deleted file mode 100644 index 662e08ff4..000000000 --- a/lang/lualanes/patches/200-fix-redef-error.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/src/threading.c -+++ b/src/threading.c -@@ -35,7 +35,9 @@ THE SOFTWARE. - =============================================================================== - */ - #if defined(__linux__) -+#ifndef _GNU_SOURCE - # define _GNU_SOURCE /* must be defined before any include */ -+#endif - # ifdef __ANDROID__ - # include - # define LOG_TAG "LuaLanes"