Skip to content

Commit

Permalink
addpkg(main): liburcu
Browse files Browse the repository at this point in the history
- Required by `dnsutils` since version 9.20.4

Signed-off-by: Aditya Alok <[email protected]>
  • Loading branch information
MrAdityaAlok committed Jan 23, 2025
1 parent 2d85fae commit 10b439e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/liburcu/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
TERMUX_PKG_HOMEPAGE="https://liburcu.org/"
TERMUX_PKG_DESCRIPTION="LGPLv2.1 userspace RCU (read-copy-update) library"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_LICENSE_FILE="LICENSES/$TERMUX_PKG_LICENSE.txt"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.15
TERMUX_PKG_SRCURL="https://lttng.org/files/urcu/userspace-rcu-latest-${TERMUX_PKG_VERSION}.tar.bz2"
TERMUX_PKG_SHA256=4f2d839af67905ad396d6d53ba5649b66113d90840dcbc89941e0da64bccd38c
12 changes: 12 additions & 0 deletions packages/liburcu/disable-tests.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Although it just builds, still disable it.
--- userspace-rcu-0.15.0/Makefile.in 2024-12-19 19:49:26.000000000 +0530
+++ userspace-rcu-0.15.0.mod/Makefile.in 2025-01-23 16:33:27.627942132 +0530
@@ -400,7 +400,7 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = include src doc tests extras
+SUBDIRS = include src doc extras
dist_doc_DATA = \
LICENSE.md \
README.md

0 comments on commit 10b439e

Please sign in to comment.