Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2026 12:41:48 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1c392f50221b - main - security/libxcrypt: work around symbol alias issue
Message-ID:  <69833e8c.313ca.3b5cb584@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c392f50221bba1802fa73b3f266d92f0e94e5fa

commit 1c392f50221bba1802fa73b3f266d92f0e94e5fa
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-02-02 21:32:27 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-02-04 12:41:15 +0000

    security/libxcrypt: work around symbol alias issue
    
    This port uses symbol aliases to provide certain legacy symbols.
    Following commit 1c18eaf, symbol maps were reenabled, exposing that
    these legacy symbols were never actually generated.
    
    The project tries to generate legacy symbol aliases using
    __attribute__((alias)), which seems to have no effect.
    Sidestep this problem for now by disabling all legacy symbols.
    
    Approved by:    portmgr (build fix blanket)
    PR:             290822
    Fixes:          1c18eaf913051e7e2503f05d438cc1636d66e554
---
 security/libxcrypt/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/security/libxcrypt/Makefile b/security/libxcrypt/Makefile
index ec3c9f6d9755..6faa416e3834 100644
--- a/security/libxcrypt/Makefile
+++ b/security/libxcrypt/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libxcrypt
 DISTVERSION=	4.5.2
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://github.com/besser82/${PORTNAME}/releases/download/v${DISTVERSION}/
 
@@ -20,6 +21,8 @@ CFLAGS+=	-Wno-gnu-statement-expression
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 
-CONFIGURE_ARGS=	--disable-static
+CONFIGURE_ARGS=	--disable-static \
+		--disable-xcrypt-compat-files \
+		--enable-obsolete-api=no
 
 .include <bsd.port.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69833e8c.313ca.3b5cb584>