lualanes: Version bump to v3.16.2
authorMark Baker <mark@vpost.net>
Thu, 18 Jan 2024 18:52:58 +0000 (13:52 -0500)
committerRosen Penev <rosenp@gmail.com>
Mon, 5 Feb 2024 00:37:07 +0000 (16:37 -0800)
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 <mark@vpost.net>
lang/lualanes/Makefile
lang/lualanes/patches/100-musl-compat.patch [deleted file]
lang/lualanes/patches/200-fix-redef-error.patch [deleted file]

index 16395b43be27d71825267ea022fde0ba6f1dbafb..316ab91e4aff9749b6db1ee29ceecc2fd59ad730 100644 (file)
@@ -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 <first-leon@yandex.ru>
 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 (file)
index 4edabf7..0000000
+++ /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 <pthread.h>
--  #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 (file)
index 662e08f..0000000
+++ /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 <android/log.h>
- #  define LOG_TAG "LuaLanes"