git: c2a0f7eb5451 - main - databases/rubygem-pg_query: update to 2.1.2

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Sat, 13 Nov 2021 14:45:42 UTC
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c2a0f7eb54514feaa6149134aabd6db54823c1bb

commit c2a0f7eb54514feaa6149134aabd6db54823c1bb
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2021-11-13 14:14:57 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2021-11-13 14:44:38 +0000

    databases/rubygem-pg_query: update to 2.1.2
    
    Changelog:
    https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md
---
 databases/rubygem-pg_query/Makefile                   |  2 +-
 databases/rubygem-pg_query/distinfo                   |  6 +++---
 .../files/patch-ext_pg__query_extconf.rb              | 19 -------------------
 3 files changed, 4 insertions(+), 23 deletions(-)

diff --git a/databases/rubygem-pg_query/Makefile b/databases/rubygem-pg_query/Makefile
index 251b49879ed0..731e5ef3321e 100644
--- a/databases/rubygem-pg_query/Makefile
+++ b/databases/rubygem-pg_query/Makefile
@@ -1,7 +1,7 @@
 # Created by: Matthias Fechner <mfechner@FreeBSD.org>
 
 PORTNAME=	pg_query
-PORTVERSION=	2.1.0
+PORTVERSION=	2.1.2
 CATEGORIES=	databases rubygems
 MASTER_SITES=	RG
 
diff --git a/databases/rubygem-pg_query/distinfo b/databases/rubygem-pg_query/distinfo
index 2ab02d4d281a..0505cafdca98 100644
--- a/databases/rubygem-pg_query/distinfo
+++ b/databases/rubygem-pg_query/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1625564038
-SHA256 (rubygem/pg_query-2.1.0.gem) = 1d4a1402ba5c9f8f2a94417409d03db7e763c846de674f049bccba66b15eb189
-SIZE (rubygem/pg_query-2.1.0.gem) = 2145280
+TIMESTAMP = 1636810305
+SHA256 (rubygem/pg_query-2.1.2.gem) = d9a95f0ec05889b51ea06c8c21fd70a7a13dcf8e2837e139940e9c24334f1dd1
+SIZE (rubygem/pg_query-2.1.2.gem) = 2147840
diff --git a/databases/rubygem-pg_query/files/patch-ext_pg__query_extconf.rb b/databases/rubygem-pg_query/files/patch-ext_pg__query_extconf.rb
deleted file mode 100644
index 4eb77808db7b..000000000000
--- a/databases/rubygem-pg_query/files/patch-ext_pg__query_extconf.rb
+++ /dev/null
@@ -1,19 +0,0 @@
---- ext/pg_query/extconf.rb.orig	2021-07-06 09:35:46 UTC
-+++ ext/pg_query/extconf.rb
-@@ -7,15 +7,8 @@ require 'pathname'
- 
- $objs = Dir.glob(File.join(__dir__, '*.c')).map { |f| Pathname.new(f).sub_ext('.o').to_s }
- 
--$CFLAGS << " -O3 -Wall -fno-strict-aliasing -fwrapv -fstack-protector -Wno-unused-function -Wno-unused-variable -g"
-+$CFLAGS << " -O3 -Wall -fno-strict-aliasing -fwrapv -fstack-protector -Wno-unused-function -Wno-unused-variable -DHAVE_STRCHRNUL -g"
- 
- $INCFLAGS = "-I#{File.join(__dir__, 'include')} " + $INCFLAGS
--
--SYMFILE = File.join(__dir__, 'pg_query_ruby.sym')
--if RUBY_PLATFORM =~ /darwin/
--  $DLDFLAGS << " -Wl,-exported_symbols_list #{SYMFILE}" unless defined?(::Rubinius)
--else
--  $DLDFLAGS << " -Wl,--retain-symbols-file=#{SYMFILE}"
--end
- 
- create_makefile 'pg_query/pg_query'