Skip to content

Commit

Permalink
devel/libpafe-ruby: fix build with Ruby 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Hajimu UMEMOTO authored and Hajimu UMEMOTO committed Mar 27, 2022
1 parent 1037836 commit e29bb23
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 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")

0 comments on commit e29bb23

Please sign in to comment.