pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/ruby34
Module Name: pkgsrc
Committed By: taca
Date: Sat Jun 14 06:54:47 UTC 2025
Modified Files:
pkgsrc/lang/ruby34: Makefile distinfo
Added Files:
pkgsrc/lang/ruby34/patches: patch-lib_rubygems_specification.rb
Log Message:
lang/ruby34: stop sorting @extensions of Gem::Specification
There is a gem (google-protobuf) depends on order of @extensions of
Gem::Specification to build its extensions. This sorting was introduced
from Ruby 3.4.3 (via RubyGems 3.6.7).
So, stop sorting for @extensions to build such a gem again.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/ruby34/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/ruby34/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/ruby34/patches/patch-lib_rubygems_specification.rb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/ruby34/Makefile
diff -u pkgsrc/lang/ruby34/Makefile:1.4 pkgsrc/lang/ruby34/Makefile:1.5
--- pkgsrc/lang/ruby34/Makefile:1.4 Wed Apr 16 15:12:17 2025
+++ pkgsrc/lang/ruby34/Makefile Sat Jun 14 06:54:46 2025
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2025/04/16 15:12:17 taca Exp $
+# $NetBSD: Makefile,v 1.5 2025/06/14 06:54:46 taca Exp $
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-${RUBY_VERSION}
+PKGREVISION= 1
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
Index: pkgsrc/lang/ruby34/distinfo
diff -u pkgsrc/lang/ruby34/distinfo:1.6 pkgsrc/lang/ruby34/distinfo:1.7
--- pkgsrc/lang/ruby34/distinfo:1.6 Mon May 19 14:39:07 2025
+++ pkgsrc/lang/ruby34/distinfo Sat Jun 14 06:54:46 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2025/05/19 14:39:07 taca Exp $
+$NetBSD: distinfo,v 1.7 2025/06/14 06:54:46 taca Exp $
BLAKE2s (ruby-3.4.4.tar.xz) = b4fa799d30359f9f9b22f403205e49d782e3f78d7496dc5bba16acc8a62d9bec
SHA512 (ruby-3.4.4.tar.xz) = 0d258cf790daad424c866404b5cbdc8adba0e4e13764847a89adf2335229e5184095c9f3e9594705897697e48bcc322d9a9f919b04047abb2075daca9fce8871
@@ -16,6 +16,7 @@ SHA1 (patch-lib_rubygems_dependency__ins
SHA1 (patch-lib_rubygems_install__update__options.rb) = 0cd0816e1cd7c84c1dab1e091787c4dc38d28273
SHA1 (patch-lib_rubygems_installer.rb) = 4ef74b4f79837a929e81bcd0e7eba9061a442304
SHA1 (patch-lib_rubygems_platform.rb) = bde36a8fc1ba2fbf4d6fb8829bc116fb4d09b404
+SHA1 (patch-lib_rubygems_specification.rb) = a3154185ef89fb33e699dd54b19a8e274f3275e0
SHA1 (patch-prism_prism.c) = 7f4221b01b4b4b412ba30050a886773b7877403c
SHA1 (patch-test_rubygems_test__gem.rb) = 32f7c7d7f8a024c045d78c2bce93944fc3113d04
SHA1 (patch-thread__pthread.c) = 7c1231933a2d6ce9d56891ab512371841697fbca
Added files:
Index: pkgsrc/lang/ruby34/patches/patch-lib_rubygems_specification.rb
diff -u /dev/null pkgsrc/lang/ruby34/patches/patch-lib_rubygems_specification.rb:1.1
--- /dev/null Sat Jun 14 06:54:47 2025
+++ pkgsrc/lang/ruby34/patches/patch-lib_rubygems_specification.rb Sat Jun 14 06:54:47 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_rubygems_specification.rb,v 1.1 2025/06/14 06:54:47 taca Exp $
+
+Do not sort @extensions in Gem::Specification#normlize since there is
+a gem (google-protobuf) depends on its order to build extensions.
+
+--- lib/rubygems/specification.rb.orig 2025-05-14 03:11:06.000000000 +0000
++++ lib/rubygems/specification.rb
+@@ -2145,7 +2145,7 @@ class Gem::Specification < Gem::BasicSpe
+ end
+
+ @files = @files.uniq.sort if @files
+- @extensions = @extensions.uniq.sort if @extensions
++ @extensions = @extensions.uniq if @extensions
+ @test_files = @test_files.uniq.sort if @test_files
+ @executables = @executables.uniq.sort if @executables
+ @extra_rdoc_files = @extra_rdoc_files.uniq.sort if @extra_rdoc_files
Home |
Main Index |
Thread Index |
Old Index