1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

security/libxcrypt: Unbreak on 15

The project uses the *.map file with symbols that don't exist.

This was a warning on 14 and earlier systems, but it is
an error on 15.

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2024-01-20 19:30:51 -08:00
parent 5f5388053e
commit e787af0475
2 changed files with 24 additions and 1 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= libxcrypt
DISTVERSIONPREFIX= v
DISTVERSION= 4.4.36
PORTREVISION= 1
CATEGORIES= security
MAINTAINER= yuri@FreeBSD.org
@ -9,7 +10,7 @@ WWW= https://github.com/besser82/libxcrypt
LICENSE= LGPL21
USES= autoreconf gmake libtool
USES= autoreconf gmake libtool pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes

View File

@ -0,0 +1,22 @@
- workaround for symbol map containing missing symbols, see https://github.com/besser82/libxcrypt/issues/181
--- Makefile.am.orig 2024-01-21 03:27:38 UTC
+++ Makefile.am
@@ -154,12 +154,12 @@ libcrypt_la_LDFLAGS = -version-info $(libcrypt_la_VERS
libcrypt_la_LDFLAGS = -version-info $(libcrypt_la_VERSION)
-if HAVE_VSCRIPT
-libcrypt_la_LDFLAGS += $(VSCRIPT_LDFLAGS),$(builddir)/libcrypt.map
-APPLY_SYMVERS = yes
-else
+#if HAVE_VSCRIPT
+#libcrypt_la_LDFLAGS += $(VSCRIPT_LDFLAGS),$(builddir)/libcrypt.map
+#APPLY_SYMVERS = yes
+#else
APPLY_SYMVERS = no
-endif
+#endif
libcrypt_la_LDFLAGS += $(UNDEF_FLAG) $(TEXT_RELOC_FLAG) $(AM_LDFLAGS)