Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2023 05:51:42 GMT
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c46f8eb79cfd - main - devel/rubygem-thrift: Fix build with Ruby 3.1 and 12.3-RELEASE
Message-ID:  <202302100551.31A5pgEQ085523@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c46f8eb79cfdcaaa150c98ec7c4d912f00346014

commit c46f8eb79cfdcaaa150c98ec7c4d912f00346014
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-01-25 18:52:30 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2023-02-10 05:41:01 +0000

    devel/rubygem-thrift: Fix build with Ruby 3.1 and 12.3-RELEASE
    
    PR:             269152
    Approved by:    maintainer timeout
---
 devel/rubygem-thrift/files/patch-ext_extconf.rb | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/devel/rubygem-thrift/files/patch-ext_extconf.rb b/devel/rubygem-thrift/files/patch-ext_extconf.rb
new file mode 100644
index 000000000000..1570d7e6a5fe
--- /dev/null
+++ b/devel/rubygem-thrift/files/patch-ext_extconf.rb
@@ -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")
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302100551.31A5pgEQ085523>