git: 40594930c070 - main - devel/rubygem-glib2: Update to 4.1.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 19:33:55 UTC
The branch main has been updated by sunpoet:

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

commit 40594930c070b28f3ca502b76bf53e8d1848553a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:52:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:22:14 +0000

    devel/rubygem-glib2: Update to 4.1.2
    
    Changes:        https://github.com/ruby-gnome/ruby-gnome/releases
---
 devel/rubygem-glib2/Makefile                                      | 2 +-
 devel/rubygem-glib2/distinfo                                      | 6 +++---
 .../files/{patch-ext_glib2_rbglib__bookmarkfile.c => patch-glib2} | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/devel/rubygem-glib2/Makefile b/devel/rubygem-glib2/Makefile
index 6710a11f3dbf..ea0b01599b85 100644
--- a/devel/rubygem-glib2/Makefile
+++ b/devel/rubygem-glib2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	glib2
-PORTVERSION=	4.0.8
+PORTVERSION=	4.1.2
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
diff --git a/devel/rubygem-glib2/distinfo b/devel/rubygem-glib2/distinfo
index e24a74001c82..48ae616ac1e8 100644
--- a/devel/rubygem-glib2/distinfo
+++ b/devel/rubygem-glib2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674590630
-SHA256 (rubygem/glib2-4.0.8.gem) = 57f1b4f71c5655d99f3d4f0051e838fd8ad22fe077cae1de85ac5d5ff9b37ac4
-SIZE (rubygem/glib2-4.0.8.gem) = 140800
+TIMESTAMP = 1677771711
+SHA256 (rubygem/glib2-4.1.2.gem) = 57ec9a8ed491913a90d3b8264b204aa1608986a0bac64f62ea8c93f51749f396
+SIZE (rubygem/glib2-4.1.2.gem) = 140800
diff --git a/devel/rubygem-glib2/files/patch-ext_glib2_rbglib__bookmarkfile.c b/devel/rubygem-glib2/files/patch-glib2
similarity index 56%
rename from devel/rubygem-glib2/files/patch-ext_glib2_rbglib__bookmarkfile.c
rename to devel/rubygem-glib2/files/patch-glib2
index 7fb6da0d02f4..880f62c267f0 100644
--- a/devel/rubygem-glib2/files/patch-ext_glib2_rbglib__bookmarkfile.c
+++ b/devel/rubygem-glib2/files/patch-glib2
@@ -1,6 +1,6 @@
---- ext/glib2/rbglib_bookmarkfile.c.orig	2023-03-16 13:19:47 UTC
+--- ext/glib2/rbglib_bookmarkfile.c.orig	2023-03-16 19:09:23 UTC
 +++ ext/glib2/rbglib_bookmarkfile.c
-@@ -35,6 +35,7 @@ bookmarkfile_copy(const GBookmarkFile* file)
+@@ -36,6 +36,7 @@ bookmarkfile_copy(const GBookmarkFile* file)
      return (GBookmarkFile*)file;
  }
  
@@ -8,11 +8,11 @@
  static GType
  g_bookmark_file_get_type(void)
  {
-@@ -48,6 +49,7 @@ g_bookmark_file_get_type(void)
+@@ -49,6 +50,7 @@ g_bookmark_file_get_type(void)
  /************************************************/
  
  #define G_TYPE_BOOKMARK_FILE (g_bookmark_file_get_type())
 +#endif
+ #endif
  
  #define RG_TARGET_NAMESPACE cBookmarkFile
- #define _SELF(self) ((GBookmarkFile*)(RVAL2BOXED(self, G_TYPE_BOOKMARK_FILE)))