databases/rubygem-pg_query: update to 2.1.2

Changelog:
https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md
This commit is contained in:
Matthias Fechner 2021-11-13 15:14:57 +01:00
parent 071dde0dea
commit c2a0f7eb54
3 changed files with 4 additions and 23 deletions

View File

@ -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

View File

@ -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

View File

@ -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'