Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
databases/rubygem-pg_query: update to 4.2.1
Required for gitlab-ce 16.1 Changelog: https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md Upstream was a fix committed which breaks the compilation: pganalyze/pg_query@684aa77 this is undone with a patch included here. I reported this upstream: pganalyze/pg_query#291 Till this is fixed, we can keep the patch that undo 684aa77a21
- Loading branch information
Showing
4 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1676991927 | ||
SHA256 (rubygem/pg_query-2.2.1.gem) = 6086972bbf4eab86d8425b35f14ca8b6fe41e4341423582801c1ec86ff5f8cea | ||
SIZE (rubygem/pg_query-2.2.1.gem) = 2157056 | ||
TIMESTAMP = 1687446390 | ||
SHA256 (rubygem/pg_query-4.2.1.gem) = b04820a9d1c0c1608e3240b7d84baabbee1b95a7302f29fdd0f00e901c604833 | ||
SIZE (rubygem/pg_query-4.2.1.gem) = 2274816 |
14 changes: 14 additions & 0 deletions
14
databases/rubygem-pg_query/files/patch-ext_pg__query_extconf.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- ext/pg_query/extconf.rb.orig 2023-06-25 07:15:18 UTC | ||
+++ ext/pg_query/extconf.rb | ||
@@ -12,11 +12,7 @@ $CFLAGS << " -fvisibility=hidden -O3 -Wall -fno-strict | ||
$INCFLAGS = "-I#{File.join(__dir__, 'include')} " + $INCFLAGS | ||
|
||
SYMFILE = | ||
- if RUBY_PLATFORM =~ /freebsd/ | ||
- File.join(__dir__, 'pg_query_ruby_freebsd.sym') | ||
- else | ||
File.join(__dir__, 'pg_query_ruby.sym') | ||
- end | ||
|
||
if RUBY_PLATFORM =~ /darwin/ | ||
$DLDFLAGS << " -Wl,-exported_symbols_list #{SYMFILE}" unless defined?(::Rubinius) |
5 changes: 5 additions & 0 deletions
5
databases/rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby.sym
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- ext/pg_query/pg_query_ruby.sym.orig 2023-06-25 07:13:00 UTC | ||
+++ ext/pg_query/pg_query_ruby.sym | ||
@@ -1 +1,2 @@ | ||
_Init_pg_query | ||
+Init_pg_query |