mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
databases/rubygem-pg_query: fix build on FreeBSD 13.3
I reported this fix also upstream: https://github.com/pganalyze/pg_query/pull/313 PR: 277535
This commit is contained in:
parent
29aac7c32e
commit
44edb6fa1d
@ -1,5 +1,6 @@
|
||||
PORTNAME= pg_query
|
||||
PORTVERSION= 5.1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
@ -10,11 +11,12 @@ WWW= https://github.com/lfittl/pg_query
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BROKEN_FreeBSD_15= fails to link: ld: error: version script assignment of 'global' to symbol '_Init_pg_query' failed: symbol not defined
|
||||
|
||||
BUILD_DEPENDS= rubygem-pathname>0:devel/rubygem-pathname
|
||||
RUN_DEPENDS= rubygem-google-protobuf>=3.22.3:devel/rubygem-google-protobuf
|
||||
|
||||
USES= gem
|
||||
|
||||
post-patch:
|
||||
# ${RM} ${WRKSRC}/ext/pg_query/pg_query_ruby_freebsd.sym
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +0,0 @@
|
||||
--- ext/pg_query/pg_query_ruby.sym.orig 2023-11-19 20:29:16 UTC
|
||||
+++ ext/pg_query/pg_query_ruby.sym
|
||||
@@ -1 +1 @@
|
||||
-_Init_pg_query
|
||||
+Init_pg_query
|
@ -0,0 +1,5 @@
|
||||
--- ext/pg_query/pg_query_ruby_freebsd.sym.orig 2024-03-07 07:21:50 UTC
|
||||
+++ ext/pg_query/pg_query_ruby_freebsd.sym
|
||||
@@ -1,2 +1 @@
|
||||
-_Init_pg_query
|
||||
Init_pg_query
|
Loading…
Reference in New Issue
Block a user