mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
devel/rubygem-thrift: Fix build with Ruby 3.1 and 12.3-RELEASE
PR: 269152 Approved by: maintainer timeout
This commit is contained in:
parent
aa2a4b5de4
commit
c46f8eb79c
11
devel/rubygem-thrift/files/patch-ext_extconf.rb
Normal file
11
devel/rubygem-thrift/files/patch-ext_extconf.rb
Normal file
@ -0,0 +1,11 @@
|
||||
--- ext/extconf.rb.orig 2023-01-25 18:49:19 UTC
|
||||
+++ ext/extconf.rb
|
||||
@@ -26,7 +26,7 @@ else
|
||||
$ARCH_FLAGS = RbConfig::CONFIG['CFLAGS'].scan( /(-arch )(\S+)/ ).map{|x,y| x + y + ' ' }.join('')
|
||||
|
||||
|
||||
- $CFLAGS = "-fsigned-char -g -O2 -Wall -Werror " + $ARCH_FLAGS
|
||||
+ $CFLAGS = "-fdeclspec -fsigned-char -g -O2 -Wall -Werror " + $ARCH_FLAGS
|
||||
|
||||
have_func("strlcpy", "string.h")
|
||||
|
Loading…
Reference in New Issue
Block a user