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>
(cherry picked from commit
08e51ab50a452d1c6217f3a6767f66146814878b)
include $(TOPDIR)/rules.mk
PKG_NAME:=lualanes
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
PKG_MAINTAINER:=Vladimir Malyutin <first-leon@yandex.ru>
PKG_LICENSE:=BSD-3-Clause
endef
define Package/lualanes/description
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.
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.
+++ /dev/null
---- 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, ... */
+++ /dev/null
---- 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"