git: d4888ff76fb8 - main - x11-wm/subtle: unbreak the build against Ruby 3.x (upcoming default).

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Tue, 15 Mar 2022 02:14:50 UTC
The branch main has been updated by danfe:

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

commit d4888ff76fb8a0f04986819e84a7f2b7e85fa113
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-03-15 02:13:44 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-03-15 02:13:44 +0000

    x11-wm/subtle: unbreak the build against Ruby 3.x (upcoming default).
    
    PR:     262543
---
 x11-wm/subtle/files/patch-Rakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-wm/subtle/files/patch-Rakefile b/x11-wm/subtle/files/patch-Rakefile
index abf104a83383..ce3585b55d07 100644
--- a/x11-wm/subtle/files/patch-Rakefile
+++ b/x11-wm/subtle/files/patch-Rakefile
@@ -27,7 +27,7 @@
    "archdir"    => "",
    "revision"   => "3224", #< Latest stable
 -  "cflags"     => "-Wall -Werror -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99",
-+  "cflags"     => "-Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99",
++  "cflags"     => "-Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -fdeclspec",
    "cpppath"    => "-I. -I$(builddir) -Isrc -Isrc/shared -Isrc/subtle -idirafter$(hdrdir) -idirafter$(archdir)",
    "ldflags"    => "-L$(libdir) $(rpath) $(LIBS) -l$(RUBY_SO_NAME)",
    "extflags"   => "$(LDFLAGS) $(rpath) $(LIBS) -l$(RUBY_SO_NAME)",