git: 2c50abc2a93e - 2024Q1 - databases/rubygem-pg_query: fix build on FreeBSD 13.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Mar 2024 08:17:33 UTC
The branch 2024Q1 has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=2c50abc2a93e21b248617d48e03b54cfaaf332dc commit 2c50abc2a93e21b248617d48e03b54cfaaf332dc Author: Matthias Fechner <mfechner@FreeBSD.org> AuthorDate: 2024-03-07 07:26:45 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2024-03-08 07:57:38 +0000 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 (cherry picked from commit 44edb6fa1d91f02907c0cfae7c962c17b3da0143) --- databases/rubygem-pg_query/Makefile | 4 ++++ .../rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby.sym | 5 ----- .../files/patch-ext_pg__query_pg__query__ruby__freebsd.sym | 5 +++++ 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/databases/rubygem-pg_query/Makefile b/databases/rubygem-pg_query/Makefile index cfd29b1781b4..3d68bdd5ac62 100644 --- a/databases/rubygem-pg_query/Makefile +++ b/databases/rubygem-pg_query/Makefile @@ -1,5 +1,6 @@ PORTNAME= pg_query PORTVERSION= 5.1.0 +PORTREVISION= 1 CATEGORIES= databases rubygems MASTER_SITES= RG @@ -15,4 +16,7 @@ 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> 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 deleted file mode 100644 index 8145d31d5de3..000000000000 --- a/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby.sym +++ /dev/null @@ -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 diff --git a/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby__freebsd.sym b/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby__freebsd.sym new file mode 100644 index 000000000000..5f2ef87b78ee --- /dev/null +++ b/databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby__freebsd.sym @@ -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