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:
parent
1037836602
commit
e29bb23d93
11
devel/libpafe-ruby/files/patch-extconf.rb
Normal file
11
devel/libpafe-ruby/files/patch-extconf.rb
Normal 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")
|
Loading…
Reference in New Issue
Block a user