mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
devel/libpafe-ruby: fix build with Ruby 3.x
This commit is contained in:
parent
1037836602
commit
e29bb23d93
1 changed files with 11 additions and 0 deletions
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…
Add table
Reference in a new issue