net/jose: Fix compilation on 13.5 and 14.x
This patch removes a check that was previously added on PR 277905 by adding a -export-symbols-regex=^jose_.* flag only on FreeBSD. The PR 277905 fix has been merged into upstream jose but it seems that something is still not handled correctly on FreeBSD 13.5 and 14.x branches. This workaround is just temporary to make the port build again on 13.5 and 14. I will work with upstream to find the right long-term fix. PR: 284417, 277905 Reported by: Alexey <ucu8u1b-ol@avksrv.org> Approved by: 0mp (mentor) Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D49871
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
PORTNAME= jose
|
||||
DISTVERSION= 14
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= https://github.com/latchset/${PORTNAME}/releases/download/v${DISTVERSION}/
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- lib/meson.build.orig 2025-03-24 16:00:40 UTC
|
||||
+++ lib/meson.build
|
||||
@@ -4,7 +4,7 @@ if host_machine.system() == 'freebsd'
|
||||
|
||||
if host_machine.system() == 'freebsd'
|
||||
if not cc.links(code, args: flags + ',--undefined-version' , name: '-Wl,--version-script=...')
|
||||
- flags = [ '-export-symbols-regex=^jose_.*' ]
|
||||
+ # flags = [ '-export-symbols-regex=^jose_.*' ]
|
||||
endif
|
||||
else
|
||||
if not cc.links(code, args: flags, name: '-Wl,--version-script=...')
|
||||
Reference in New Issue
Block a user