diff options
Diffstat (limited to 'devel/rubygem-google-protobuf/files/patch-hide-symbols')
-rw-r--r-- | devel/rubygem-google-protobuf/files/patch-hide-symbols | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/rubygem-google-protobuf/files/patch-hide-symbols b/devel/rubygem-google-protobuf/files/patch-hide-symbols new file mode 100644 index 000000000000..4e85cdbb04e7 --- /dev/null +++ b/devel/rubygem-google-protobuf/files/patch-hide-symbols @@ -0,0 +1,11 @@ +--- ext/google/protobuf_c/extconf.rb.orig 2022-10-28 07:09:57 UTC ++++ ext/google/protobuf_c/extconf.rb +@@ -6,7 +6,7 @@ ext_name = "google/protobuf_c" + + dir_config(ext_name) + +-if RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/ ++if RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/ || RUBY_PLATFORM =~ /freebsd/ + $CFLAGS += " -std=gnu99 -O3 -DNDEBUG -fvisibility=hidden -Wall -Wsign-compare -Wno-declaration-after-statement" + else + $CFLAGS += " -std=gnu99 -O3 -DNDEBUG" |