mirror of
https://git.freebsd.org/ports.git
synced 2025-05-17 17:43:11 -04:00
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:
684aa77a21
this is undone with a patch included here.
I reported this upstream:
https://github.com/pganalyze/pg_query/issues/291
Till this is fixed, we can keep the patch that undo 684aa77a21
14 lines
498 B
Ruby
14 lines
498 B
Ruby
--- 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)
|