git: 1529bb3c44cf - main - textproc/rubygem-prism: Update to 0.17.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 17:22:32 UTC
The branch main has been updated by sunpoet:

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

commit 1529bb3c44cf1f0665d817a21649fbb82d890026
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-14 16:44:38 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-14 17:16:34 +0000

    textproc/rubygem-prism: Update to 0.17.1
    
    Changes:        https://github.com/ruby/prism/releases
                    https://github.com/ruby/prism/blob/main/CHANGELOG.md
---
 textproc/rubygem-prism/Makefile                    |  2 +-
 textproc/rubygem-prism/distinfo                    |  6 +++---
 textproc/rubygem-prism/files/patch-src-serialize.c | 16 ----------------
 3 files changed, 4 insertions(+), 20 deletions(-)

diff --git a/textproc/rubygem-prism/Makefile b/textproc/rubygem-prism/Makefile
index c91412514122..81fe028b7385 100644
--- a/textproc/rubygem-prism/Makefile
+++ b/textproc/rubygem-prism/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	prism
-PORTVERSION=	0.15.1
+PORTVERSION=	0.17.1
 CATEGORIES=	textproc rubygems
 MASTER_SITES=	RG
 
diff --git a/textproc/rubygem-prism/distinfo b/textproc/rubygem-prism/distinfo
index fe0a466e8a3c..ef5bb98d5aaa 100644
--- a/textproc/rubygem-prism/distinfo
+++ b/textproc/rubygem-prism/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1698341281
-SHA256 (rubygem/prism-0.15.1.gem) = 5b176a259cd443ff5418763ce2e89ae4f853370ffdd0f09b66e257466f42eb40
-SIZE (rubygem/prism-0.15.1.gem) = 768000
+TIMESTAMP = 1699774918
+SHA256 (rubygem/prism-0.17.1.gem) = e63f86df2c36aecd578431ee0c9d1f66cdef98a406f0a11e7da949514212cbcd
+SIZE (rubygem/prism-0.17.1.gem) = 370688
diff --git a/textproc/rubygem-prism/files/patch-src-serialize.c b/textproc/rubygem-prism/files/patch-src-serialize.c
deleted file mode 100644
index 640ae37fb92d..000000000000
--- a/textproc/rubygem-prism/files/patch-src-serialize.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/serialize.c.orig	2023-10-27 04:54:49 UTC
-+++ src/serialize.c
-@@ -1788,11 +1788,11 @@ static void
- pm_serialize_magic_comment(pm_parser_t *parser, pm_magic_comment_t *magic_comment, pm_buffer_t *buffer) {
-     // serialize key location
-     pm_buffer_append_u32(buffer, pm_ptrdifft_to_u32(magic_comment->key_start - parser->start));
--    pm_buffer_append_u32(buffer, pm_ptrdifft_to_u32(magic_comment->key_length));
-+    pm_buffer_append_u32(buffer, pm_ptrdifft_to_u32((ptrdiff_t) magic_comment->key_length));
- 
-     // serialize value location
-     pm_buffer_append_u32(buffer, pm_ptrdifft_to_u32(magic_comment->value_start - parser->start));
--    pm_buffer_append_u32(buffer, pm_ptrdifft_to_u32(magic_comment->value_length));
-+    pm_buffer_append_u32(buffer, pm_ptrdifft_to_u32((ptrdiff_t) magic_comment->value_length));
- }
- 
- static void