FreeBSD Bugzilla – Attachment 239719 Details for
Bug 269165
devel/rubygem-zstd-ruby: Fix build with Ruby 3.1 and 12.3-RELEASE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file
devel_rubygem-zstd-ruby.patch (text/plain), 1.00 KB, created by
Yasuhiro Kimura
on 2023-01-26 10:50:16 UTC
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2023-01-26 10:50:16 UTC
Size:
1.00 KB
patch
obsolete
>From 9f4cc0ca869139b95b87eb6ee98569bc8e01cbf4 Mon Sep 17 00:00:00 2001 >From: Yasuhiro Kimura <yasu@utahime.org> >Date: Thu, 26 Jan 2023 18:49:37 +0900 >Subject: [PATCH] devel/rubygem-zstd-ruby: Fix build with Ruby 3.1 and > 12.3-RELEASE > >--- > .../files/patch-ext_zstdruby_extconf.rb | 10 ++++++++++ > 1 file changed, 10 insertions(+) > create mode 100644 devel/rubygem-zstd-ruby/files/patch-ext_zstdruby_extconf.rb > >diff --git a/devel/rubygem-zstd-ruby/files/patch-ext_zstdruby_extconf.rb b/devel/rubygem-zstd-ruby/files/patch-ext_zstdruby_extconf.rb >new file mode 100644 >index 000000000000..b939c97d24f8 >--- /dev/null >+++ b/devel/rubygem-zstd-ruby/files/patch-ext_zstdruby_extconf.rb >@@ -0,0 +1,10 @@ >+--- ext/zstdruby/extconf.rb.orig 2023-01-26 09:37:28 UTC >++++ ext/zstdruby/extconf.rb >+@@ -1,6 +1,6 @@ >+ require "mkmf" >+ >+-$CFLAGS = '-I. -O3 -std=c99' >++$CFLAGS = '-fdeclspec -I. -O3 -std=c99' >+ $CPPFLAGS += " -fdeclspec" if CONFIG['CXX'] =~ /clang/ >+ >+ Dir.chdir File.expand_path('..', __FILE__) do >-- >2.39.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 269165
: 239719