1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

devel/libpafe-ruby: fix build with Ruby 3.x

This commit is contained in:
Hajimu UMEMOTO 2022-03-27 11:39:00 +09:00
parent 1037836602
commit e29bb23d93

View File

@ -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")