git: aef056cf0fe1 - main - databases/rubygem-pg_query: fix build with lld 17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Nov 2023 20:36:22 UTC
The branch main has been updated by dim:
URL: https://cgit.FreeBSD.org/ports/commit/?id=aef056cf0fe1852a7b708d090310a6eb4853b269
commit aef056cf0fe1852a7b708d090310a6eb4853b269
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-11-19 20:35:30 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-11-19 20:36:08 +0000
databases/rubygem-pg_query: fix build with lld 17
Building databases/rubygem-pg_query with lld 17 results in the following
link error:
ld: error: version script assignment of 'global' to symbol '_Init_pg_query' failed: symbol not defined
The mentioned symbol has been removed from pg_query.so, so remove it
from the linker version script.
PR: 273753
MFH: 2023Q4
---
.../rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby.sym | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby.sym b/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby.sym
index eea0cec5dc23..8145d31d5de3 100644
--- a/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby.sym
+++ b/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby.sym
@@ -1,5 +1,5 @@
---- ext/pg_query/pg_query_ruby.sym.orig 2023-06-25 07:13:00 UTC
+--- ext/pg_query/pg_query_ruby.sym.orig 2023-11-19 20:29:16 UTC
+++ ext/pg_query/pg_query_ruby.sym
-@@ -1 +1,2 @@
- _Init_pg_query
+@@ -1 +1 @@
+-_Init_pg_query
+Init_pg_query