libucontext: update to 1.3.2
authorRosen Penev <rosenp@gmail.com>
Tue, 8 Oct 2024 00:40:22 +0000 (17:40 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 8 Oct 2024 01:08:18 +0000 (18:08 -0700)
Switch to local tarballs instead of codeload. No need to override
PKG_BUILD_DIR.

Remove PKG_BUILD_PARALLEL and PKG_INSTALL as they are not needed with
meson.

Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libucontext/Makefile
libs/libucontext/patches/010-trampoline_fix.patch [deleted file]

index 1154bfe7525c00e0edfe5e2407589b5929a22bc8..3515eabe858b25bdab3b8b6cccc54b922857c09c 100644 (file)
@@ -1,21 +1,19 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libucontext
-PKG_VERSION:=1.3.1
+PKG_VERSION:=1.3.2
 PKG_RELEASE:=1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://codeload.github.com/kaniini/libucontext/tar.gz/$(PKG_NAME)-$(PKG_VERSION)?
-PKG_HASH:=1243ee9f03ad38e624f6844427b7bc1f0a05aa5de70f15f3b03805a364b971d6
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/kaniini/libucontext
+PKG_SOURCE_VERSION:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_MIRROR_HASH:=eef55c05aca03c6d62672838638f49daa95ab8f9bf87126df32cedfe150e333c
 
 PKG_MAINTAINER:=Volker Christian <me@vchrist.at>
 PKG_LICENSE:=ISC
 PKG_LICENSE_FILES:=LICENSE
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_NAME)-$(PKG_VERSION)
 PKG_BUILD_FLAGS:=no-mips16
-PKG_BUILD_PARALLEL:=1
-PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/meson.mk
diff --git a/libs/libucontext/patches/010-trampoline_fix.patch b/libs/libucontext/patches/010-trampoline_fix.patch
deleted file mode 100644 (file)
index 676d584..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/meson.build
-+++ b/meson.build
-@@ -40,7 +40,7 @@ if cpu in ['ppc', 'ppc64']
-     'arch' / cpu / 'retfromsyscall.c'
-   ]
- endif
--if cpu not in ['mips', 'mips64', 'ppc', 'ppc64', 's390x']
-+if cpu not in ['loongarch64', 'mips', 'mips64', 'ppc', 'ppc64', 's390x', 'x86']
-   project_source_files += [
-     'arch' / cpu / 'trampoline.c'
-   ]