git: af747c350b94 - main - textproc/rubygem-asciidoctor-pdf: Allow work with rubygem-prawn-svg 0.33.0+

From: Danilo G. Baio <dbaio_at_FreeBSD.org>
Date: Tue, 09 Jan 2024 23:59:34 UTC
The branch main has been updated by dbaio:

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

commit af747c350b9477460c7d606dc0a2a801ce803663
Author:     Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2023-12-27 02:39:47 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2024-01-09 23:58:12 +0000

    textproc/rubygem-asciidoctor-pdf: Allow work with rubygem-prawn-svg 0.33.0+
    
    Obtained from:  https://github.com/asciidoctor/asciidoctor-pdf/commit/cd71092a5c5c86b9770359a0f1bd7c60b9dce7ea
    
    PR:             275957
    Approved by:    maintainer timeout
---
 textproc/rubygem-asciidoctor-pdf/Makefile                 |  1 +
 ...h-rubygem-prawn-icon => patch-asciidoctor-pdf.gemspec} | 15 ++++++++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/textproc/rubygem-asciidoctor-pdf/Makefile b/textproc/rubygem-asciidoctor-pdf/Makefile
index 69d8e50fa421..db7da37051e4 100644
--- a/textproc/rubygem-asciidoctor-pdf/Makefile
+++ b/textproc/rubygem-asciidoctor-pdf/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	asciidoctor-pdf
 PORTVERSION=	2.3.10
+PORTREVISION=	1
 CATEGORIES=	textproc rubygems
 MASTER_SITES=	RG
 
diff --git a/textproc/rubygem-asciidoctor-pdf/files/patch-rubygem-prawn-icon b/textproc/rubygem-asciidoctor-pdf/files/patch-asciidoctor-pdf.gemspec
similarity index 60%
rename from textproc/rubygem-asciidoctor-pdf/files/patch-rubygem-prawn-icon
rename to textproc/rubygem-asciidoctor-pdf/files/patch-asciidoctor-pdf.gemspec
index b2cedeec9a56..9e7d617575c8 100644
--- a/textproc/rubygem-asciidoctor-pdf/files/patch-rubygem-prawn-icon
+++ b/textproc/rubygem-asciidoctor-pdf/files/patch-asciidoctor-pdf.gemspec
@@ -1,17 +1,22 @@
-Obtained from:	https://github.com/asciidoctor/asciidoctor-pdf/commit/631606e91f487e797e73c15467979b0b63c5ff68
+Obtained from:
+https://github.com/asciidoctor/asciidoctor-pdf/commit/631606e91f487e797e73c15467979b0b63c5ff68
+https://github.com/asciidoctor/asciidoctor-pdf/commit/cd71092a5c5c86b9770359a0f1bd7c60b9dce7ea
 
---- asciidoctor-pdf.gemspec.orig	2023-01-06 06:23:58 UTC
+
+--- asciidoctor-pdf.gemspec.orig	2023-12-27 02:32:44 UTC
 +++ asciidoctor-pdf.gemspec
-@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
+@@ -26,8 +26,8 @@ Gem::Specification.new do |s|
+   s.add_runtime_dependency(%q<matrix>.freeze, ["~> 0.4"])
    s.add_runtime_dependency(%q<prawn-table>.freeze, ["~> 0.2.0"])
    s.add_runtime_dependency(%q<prawn-templates>.freeze, ["~> 0.1.0"])
-   s.add_runtime_dependency(%q<prawn-svg>.freeze, ["~> 0.32.0"])
+-  s.add_runtime_dependency(%q<prawn-svg>.freeze, ["~> 0.32.0"])
 -  s.add_runtime_dependency(%q<prawn-icon>.freeze, ["~> 3.0.0"])
++  s.add_runtime_dependency(%q<prawn-svg>.freeze, ["~> 0.33.0"])
 +  s.add_runtime_dependency(%q<prawn-icon>.freeze, ["~> 3.1.0"])
    s.add_runtime_dependency(%q<concurrent-ruby>.freeze, ["~> 1.1"])
    s.add_runtime_dependency(%q<treetop>.freeze, ["~> 1.6.0"])
    s.add_development_dependency(%q<rake>.freeze, ["~> 13.0.0"])
---- lib/asciidoctor/pdf/ext/prawn/extensions.rb.orig	2023-01-06 06:23:58 UTC
+--- lib/asciidoctor/pdf/ext/prawn/extensions.rb.orig	2023-12-27 02:32:43 UTC
 +++ lib/asciidoctor/pdf/ext/prawn/extensions.rb
 @@ -16,7 +16,7 @@ module Asciidoctor
        ColumnBox = ::Prawn::Document::ColumnBox