Commit Graph

3 Commits (bed8c8ae330a6468b87ea49e667a53655d34703c)

Author SHA1 Message Date
Rosen Penev 552f561c51 libucontext: update to 1.3.2
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>
2024-10-07 18:08:18 -07:00
Volker Christian ee32f403aa libucontext: Update to latest upstream version 1.3.1
Signed-off-by: Volker Christian <me@vchrist.at>
2024-08-13 16:22:17 +08:00
Volker Christian 635a702255 libucontext: Add package
Description (from libucontext github page):
libucontext (https://https://github.com/kaniini/libucontext) is a
library which provides the ucontext.h C API. Unlike other
implementations, it faithfully follows the kernel process ABI when
doing context swaps. libucontext is used on almost all musl
distributions to provide the legacy ucontext.h API.

This package is meant as a development package. There is no need
to install a package on the router if an application or library
is linked against the static libraries. Though, shared libraries
are provided also.

It is used to link libraries/applications against it which need the
system calls

* makecontext
* swapcontext
* getcontext
* setcontext

E.g. the asynchronous API of libmariadb (c-connector) uses this
system calls. Because libmusl didn't provide that system calls this
synchronous API is currently (without libucontexe) not working - it
segfaults.

Co-developed-by: Tianling Shen <cnsztl@immortalwrt.org>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Signed-off-by: Volker Christian <me@vchrist.at>
2023-09-03 16:37:34 +08:00