1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

security/stoken: unbreak build with LLVM >= 17 (+)

FreeBSD already have strcasestr() and mkstemps() functions and compat stubs
are always skipped so declare local functions in map file is false positive.

LLVM >= 17 is more restrictive with declared but missed functions which lead to linker error.

Drop local stubs stoken__strcasestr() and stoken__mkstemps() from library map file to unbreak.

Reported by:	poudriere failure
Approved by:	portmgr blanket (trivial build fix)
This commit is contained in:
Dima Panov 2023-12-31 14:26:25 +03:00
parent a37f8af7c1
commit 3d6a5f7cb0
No known key found for this signature in database
GPG Key ID: FB8BA09DD5398F29
2 changed files with 12 additions and 1 deletions
security/stoken

View File

@ -1,6 +1,6 @@
PORTNAME= stoken
DISTVERSION= 0.93
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security
MAINTAINER= samm@FreeBSD.org

View File

@ -0,0 +1,11 @@
--- libstoken.map.orig 2023-03-09 18:40:27 UTC
+++ libstoken.map
@@ -58,8 +58,6 @@ global:
__stoken_read_rcfile;
__stoken_write_rcfile;
__stoken_zap_rcfile_data;
- stoken__strcasestr;
- stoken__mkstemps;
/* NOTE: this can break non-GNU toolchains */
Java_*;
local: