libtirpc: fix build for client packages
authorJohn Audia <[email protected]>
Sat, 30 Aug 2025 14:23:40 +0000 (10:23 -0400)
committerHannu Nyman <[email protected]>
Sat, 30 Aug 2025 17:43:31 +0000 (20:43 +0300)
Version 1.3.7 introduced a feature which moved symbols into an optional
database section[1]. Add corresponding configure args to fix the build
with our packages. This commit adds the new option to ensure client
packages (snort, rpcbind, lsof, etc.) build without error.

Build system: x86/64 (using external toolchain from snapshot)
Build-tested: x86/64

Co-authored-by: Hannu Nyman <[email protected]>
Signed-off-by: John Audia <[email protected]>
libs/libtirpc/Makefile

index 537f404d378c08fdc683324b56f6a49e1fa0e763..0f77604bd9d4ac8b44a4fd535d65986b9969ff39 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libtirpc
 PKG_VERSION:=1.3.7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=@SF/libtirpc
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -27,8 +27,8 @@ define Package/libtirpc
   DEPENDS:=+libpthread
 endef
 
-CONFIGURE_ARGS += --disable-gssapi
-HOST_CONFIGURE_ARGS += --disable-gssapi --disable-shared
+CONFIGURE_ARGS += --disable-gssapi --enable-rpcdb
+HOST_CONFIGURE_ARGS += --disable-gssapi --disable-shared --enable-rpcdb
 
 ifeq ($(HOST_OS),Darwin)
 HOST_CONFIGURE_ARGS += --disable-symvers