Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Mar 2022 02:51:51 GMT
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e29bb23d93c0 - main - devel/libpafe-ruby: fix build with Ruby 3.x
Message-ID:  <202203270251.22R2ppod036076@gitrepo.freebsd.org>

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

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

commit e29bb23d93c0fc35a9863ff78ca9cca78ac3d02c
Author:     Hajimu UMEMOTO <ume@FreeBSD.org>
AuthorDate: 2022-03-27 02:39:00 +0000
Commit:     Hajimu UMEMOTO <ume@FreeBSD.org>
CommitDate: 2022-03-27 02:39:41 +0000

    devel/libpafe-ruby: fix build with Ruby 3.x
---
 devel/libpafe-ruby/files/patch-extconf.rb | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/devel/libpafe-ruby/files/patch-extconf.rb b/devel/libpafe-ruby/files/patch-extconf.rb
new file mode 100644
index 000000000000..dcb3ccf9ade7
--- /dev/null
+++ b/devel/libpafe-ruby/files/patch-extconf.rb
@@ -0,0 +1,11 @@
+--- extconf.rb.orig	2011-08-12 11:59:29 UTC
++++ extconf.rb
+@@ -1,7 +1,7 @@
+ # $Id: extconf.rb,v 1.3 2008-01-15 12:23:29 hito Exp $
+ require 'mkmf'
+ 
+-$CFLAGS = "-Wall -O2"
++$CFLAGS = "-Wall -O2 -fdeclspec"
+ 
+ have_header("libpafe/libpafe.h")
+ have_library("pafe", "pasori_open")



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