git: b494b8bcd804 - main - archivers/rubygem-libarchive: Fix build with Ruby 3.x

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Tue, 29 Mar 2022 07:30:00 UTC
The branch main has been updated by yasu:

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

commit b494b8bcd804a987898908be8de7cfb6580d3d2a
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-03-08 07:31:16 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-03-29 07:29:14 +0000

    archivers/rubygem-libarchive: Fix build with Ruby 3.x
    
    PR:             262525
    Approved by:    maintainer timeout
---
 .../rubygem-libarchive/files/patch-ext_libarchive__internal.h  | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/archivers/rubygem-libarchive/files/patch-ext_libarchive__internal.h b/archivers/rubygem-libarchive/files/patch-ext_libarchive__internal.h
new file mode 100644
index 000000000000..4e441684bc8c
--- /dev/null
+++ b/archivers/rubygem-libarchive/files/patch-ext_libarchive__internal.h
@@ -0,0 +1,10 @@
+--- ext/libarchive_internal.h.orig	2022-03-08 07:22:32 UTC
++++ ext/libarchive_internal.h
+@@ -28,7 +28,6 @@
+ #include <archive_entry.h>
+ 
+ #include <ruby.h>
+-#include <rubysig.h>
+ 
+ #ifdef _WIN32
+ #include "libarchive_win32.h"