pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/mikutter



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Tue Apr  7 14:32:54 UTC 2026

Modified Files:
        pkgsrc/net/mikutter: Makefile distinfo
        pkgsrc/net/mikutter/patches: patch-mikutter.rb

Log Message:
mikutter: fix crash on startup when YJIT is not enabled in Ruby

While here, sync COMMENT with reality.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.234 -r1.235 pkgsrc/net/mikutter/Makefile
cvs rdiff -u -r1.193 -r1.194 pkgsrc/net/mikutter/distinfo
cvs rdiff -u -r1.12 -r1.13 pkgsrc/net/mikutter/patches/patch-mikutter.rb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/mikutter/Makefile
diff -u pkgsrc/net/mikutter/Makefile:1.234 pkgsrc/net/mikutter/Makefile:1.235
--- pkgsrc/net/mikutter/Makefile:1.234  Fri Mar 13 17:09:49 2026
+++ pkgsrc/net/mikutter/Makefile        Tue Apr  7 14:32:54 2026
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.234 2026/03/13 17:09:49 tsutsui Exp $
+# $NetBSD: Makefile,v 1.235 2026/04/07 14:32:54 tsutsui Exp $
 
 DISTNAME=      mikutter-5.1.1
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
-PKGREVISION=   7
+PKGREVISION=   8
 CATEGORIES=    net
 MASTER_SITES=  https://mikutter.hachune.net/bin/
 
 MAINTAINER=    tsutsui%NetBSD.org@localhost
 HOMEPAGE=      https://mikutter.hachune.net/
-COMMENT=       Simple, powerful, and moeful twitter client
+COMMENT=       Simple, powerful, and moeful mastodon client
 LICENSE=       mit AND apache-2.0 AND cc-by-sa-v3.0
 
 .include "../../lang/ruby/rubyversion.mk"

Index: pkgsrc/net/mikutter/distinfo
diff -u pkgsrc/net/mikutter/distinfo:1.193 pkgsrc/net/mikutter/distinfo:1.194
--- pkgsrc/net/mikutter/distinfo:1.193  Fri Mar 13 17:09:49 2026
+++ pkgsrc/net/mikutter/distinfo        Tue Apr  7 14:32:54 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.193 2026/03/13 17:09:49 tsutsui Exp $
+$NetBSD: distinfo,v 1.194 2026/04/07 14:32:54 tsutsui Exp $
 
 BLAKE2s (mikutter-5.1.1.tar.gz) = 0639e3a47a333237d05ab772f45bc7070e73cbc74f0172571996f4ed41467be3
 SHA512 (mikutter-5.1.1.tar.gz) = 65f52cf0385b8cda1f6714fd47e8bb19a5c7be2e264c9a447af1d266b08d1a8a97d46d347c2e78d5fbb7e90aff88f31372b57154414be3be6fd57a3dfc0863eb
@@ -6,5 +6,5 @@ Size (mikutter-5.1.1.tar.gz) = 2384508 b
 SHA1 (patch-core_config.rb) = a3167ba101f840983d9d27ea36252ec5e0b0435d
 SHA1 (patch-core_mui_cairo__markup__generator.rb) = 196b7c8a0bc5384fb189f854e3a5fc695849a520
 SHA1 (patch-core_mui_cairo__sub__parts__message__base.rb) = 661a41e96b4b64d796de9348b46cb6b8f9664301
-SHA1 (patch-mikutter.rb) = 9eaf234bb01f8a429c84d5055537284b7e0450aa
+SHA1 (patch-mikutter.rb) = c7fed4bb07333b961d34e41e0523baaf1046a22b
 SHA1 (patch-plugin_gtk3_widget_miraclepainter.rb) = 85e440f46d40f570f5bfc5af772ecebdeb2b9c3d

Index: pkgsrc/net/mikutter/patches/patch-mikutter.rb
diff -u pkgsrc/net/mikutter/patches/patch-mikutter.rb:1.12 pkgsrc/net/mikutter/patches/patch-mikutter.rb:1.13
--- pkgsrc/net/mikutter/patches/patch-mikutter.rb:1.12  Mon Dec 30 20:41:28 2024
+++ pkgsrc/net/mikutter/patches/patch-mikutter.rb       Tue Apr  7 14:32:54 2026
@@ -1,9 +1,11 @@
-$NetBSD: patch-mikutter.rb,v 1.12 2024/12/30 20:41:28 tsutsui Exp $
+$NetBSD: patch-mikutter.rb,v 1.13 2026/04/07 14:32:54 tsutsui Exp $
 
 - pkgsrc can handle location of ruby binary
   https://dev.mikutter.hachune.net/issues/889
+- fix crash on startup when YJIT is not enabled in Ruby
+  https://dev.mikutter.hachune.net/issues/1606
 
---- mikutter.rb.orig   2024-03-16 05:31:35.000000000 +0000
+--- mikutter.rb.orig   2025-02-08 12:21:47.000000000 +0000
 +++ mikutter.rb
 @@ -1,7 +1,5 @@
 -#!/bin/sh
@@ -14,3 +16,12 @@ $NetBSD: patch-mikutter.rb,v 1.12 2024/1
  =begin rdoc
  = mikutter - simple, powerful and moeful Mastodon client
  Copyright (C) 2009-2024 Toshiaki Asai
+@@ -61,7 +59,7 @@ Plugin.call(:boot, nil)
+ # _profile_ がtrueなら、プロファイリングした結果を一時ディレクトリに保存する
+ def boot!(profile)
+   begin
+-    RubyVM::YJIT.enable if RUBY_VERSION.split('.') >= %w[3 3]
++    RubyVM::YJIT.enable if RUBY_VERSION.split('.') >= %w[3 3] && defined?(RubyVM::YJIT)
+     if profile
+       require 'ruby-prof'
+       begin



Home | Main Index | Thread Index | Old Index