summaryrefslogtreecommitdiff
path: root/package/talloc
diff options
context:
space:
mode:
Diffstat (limited to 'package/talloc')
-rw-r--r--package/talloc/Makefile7
-rw-r--r--package/talloc/patches/patch-wscript12
2 files changed, 16 insertions, 3 deletions
diff --git a/package/talloc/Makefile b/package/talloc/Makefile
index 865a95b47..0b6c76b78 100644
--- a/package/talloc/Makefile
+++ b/package/talloc/Makefile
@@ -4,12 +4,12 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= talloc
-PKG_VERSION:= 2.1.9
+PKG_VERSION:= 2.4.3
PKG_RELEASE:= 1
-PKG_HASH:= f0aad4cb88a3322207c82136ddc07bed48a37c2c21f82962d6c5ccb422711062
+PKG_HASH:= dc46c40b9f46bb34dd97fe41f548b0e8b247b77a918576733c528e83abd854dd
PKG_DESCR:= memory allocation library
PKG_SECTION:= libs/misc
-PKG_BUILDDEP:= python2-host python2
+PKG_BUILDDEP:= python3-host python3
PKG_URL:= https://talloc.samba.org/talloc/doc/html/index.html
PKG_SITES:= https://www.samba.org/ftp/talloc/
PKG_LIBNAME:= libtalloc
@@ -23,6 +23,7 @@ $(eval $(call PKG_template,LIBTALLOC,libtalloc,$(PKG_VERSION)-$(PKG_RELEASE),$(P
CONFIG_STYLE:= minimal
CONFIGURE_ARGS+= --prefix=/usr \
+ --disable-python \
--cross-compile \
--cross-answers=$(WRKSRC)/cache.txt \
--hostcc=gcc
diff --git a/package/talloc/patches/patch-wscript b/package/talloc/patches/patch-wscript
new file mode 100644
index 000000000..a1d880ed9
--- /dev/null
+++ b/package/talloc/patches/patch-wscript
@@ -0,0 +1,12 @@
+--- talloc-2.4.3.orig/wscript 2025-02-06 13:36:55.107552800 +0100
++++ talloc-2.4.3/wscript 2025-04-09 16:37:03.721515766 +0200
+@@ -122,8 +122,7 @@ def build(bld):
+ public_headers=('' if private_library else 'talloc.h'),
+ pc_files='talloc.pc',
+ public_headers_install=not private_library,
+- private_library=private_library,
+- manpages='man/talloc.3')
++ private_library=private_library)
+
+ if not bld.CONFIG_SET('USING_SYSTEM_PYTALLOC_UTIL'):
+ name = bld.pyembed_libname('pytalloc-util')