summaryrefslogtreecommitdiff
path: root/dev-lang
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-13 11:06:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-13 11:06:03 +0100
commitbe8708090362c01c6111c4b76f1e395c14d86e00 (patch)
treebb61ca73e867522450783849eb63c9e1f0ba1730 /dev-lang
parente93a38d535f2c29b55a5756d2de99425986b0bf3 (diff)
gentoo auto-resync : 13:08:2024 - 11:06:03
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/Manifest.gzbin22167 -> 22166 bytes
-rw-r--r--dev-lang/ruby/Manifest9
-rw-r--r--dev-lang/ruby/files/3.1/013-test-rlimit-constants.patch147
-rw-r--r--dev-lang/ruby/files/3.2/013-test-rlimit-constants.patch147
-rw-r--r--dev-lang/ruby/files/3.3/013-test-rlimit-constants.patch159
-rw-r--r--dev-lang/ruby/ruby-3.1.6-r1.ebuild1
-rw-r--r--dev-lang/ruby/ruby-3.2.5.ebuild1
-rw-r--r--dev-lang/ruby/ruby-3.3.4-r1.ebuild1
-rw-r--r--dev-lang/spidermonkey/Manifest4
-rw-r--r--dev-lang/spidermonkey/spidermonkey-115.14.0.ebuild2
10 files changed, 465 insertions, 6 deletions
diff --git a/dev-lang/Manifest.gz b/dev-lang/Manifest.gz
index b49db8226721..cb952cf5679f 100644
--- a/dev-lang/Manifest.gz
+++ b/dev-lang/Manifest.gz
Binary files differ
diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest
index 1eb7833cafc6..31777e128058 100644
--- a/dev-lang/ruby/Manifest
+++ b/dev-lang/ruby/Manifest
@@ -2,17 +2,20 @@ AUX 3.1/001-socksocket-fix.patch 457 BLAKE2B cf3e15858481cdaa48be2cb3685bed663d9
AUX 3.1/010-default-gem-location.patch 715 BLAKE2B 1a3b0a3479210f6bafe89bfea4580ebcf44bb5c42b72a244dee9fa53371c095d6c8ff39feb58296518779b5841647ed89732bed33c542ad24d5b93ba97097cd6 SHA512 e0d0ebfc6de8dfb81cee309f0d1b7a9ccf64617ea16ad6d8d3ea715b29fb7b3bb6d962072503eee7125ffc1e5ba53035453e887935e681de3d35df279d7c0dc8
AUX 3.1/011-default-gem-location.patch 689 BLAKE2B 754bb18d8d028e763cc4e91e5a0a543beee807d0dd9d68e3bef52beafd2a28896372e20e5b9ee9fd6556323f7369f30a0c65d676e5de869bb81f978b6f7e655b SHA512 71e9ec7e0e6353cc4b973ed6dbe3c12c7784173705dc17a2e772f653aa592f2252749955f7957aa7526071eceb927711ef9055430ed3671025e35f57898ca754
AUX 3.1/012-test-readline-without-tty.patch 1307 BLAKE2B 6aeea4229e36aef75d9e56aa4d0eb65f3b95df1fb861953d63d4e00bc0f9c57aead2cfc5a68d3f0d3f8400dfe8508161a8b5b8320221d160a871aa804d52f2b5 SHA512 813bf292fe132dd52f2c11a530e09e5c58547fd146bca2509b212c175b4359d98e6464709b5693656db935bf0ea27c8846d7510c4327bd79a419c1ff6fbd7007
+AUX 3.1/013-test-rlimit-constants.patch 4870 BLAKE2B 419fdd0df27467f651c5cbcdd4fd26a150d36bd9901efbd541e16e6fc4cd3bd036155b96e5addf55ff02b5a28e3a68d4fe24e64d6dc886e2912fff341a7dfde6 SHA512 0f00414bfba7d4e18ba86afee40dd955d65459b41d969cad6a49e91ae8a4d8995fdfce567dea68d2cd15134a470a00bf9de7b006de9c49e78bcfc8af6bdb7665
AUX 3.1/020-arm-readline-test.patch 1289 BLAKE2B d441f04a6a11230df89340560f23897926d1982d46dffd5378c92956f07b9c5a062413484a62b2ba6b799e73d2008f5d19c549a864d61c2fb77b5de2c7a0db07 SHA512 7023b78255229ae124415274bb57077913a6a1f4667494491c00dd8933492f763dfb803eedf3a72251d2362d54eaa6723af6c68b84583fbdee21320cb6b7c66d
AUX 3.1/901-musl-stacksize.patch 945 BLAKE2B 7187ee4c73fb4a9ec00b32a02a176863d88437abae60c20955f28baf939aa76daee7d8accfa5b35c8ae857c25b243d57d719e7542a20439b1eb5952b319fa383 SHA512 5db3e96891498aee8f97f0c5ffe0633c6554b8d8a4975fd73f838ebac1ceea248d18aa4262c2b865b7ca15e9d293d482f7323565ed6ae47ed632cb8a044976e6
AUX 3.1/902-hppa-pthread-stack-size.patch 1690 BLAKE2B 3d402e1f2e0dddc1557ed78d802516ec3f8e122b046fc153a702090aa3c5cac1ec4005fee4cf2e5c28c4be6e3183c5a12d4fb3a3c9fc07ea3f068cefd12b8b2b SHA512 87caf7fc61cd94ec45f68a799ab87caa740a2d0fa8eef60b1fa9f33f95586ecfaed7ed1466f7feeeed725d9b92d40a730e0835bf08f9eba9505790ed84b42125
AUX 3.2/010-default-gem-location.patch 356 BLAKE2B f44459799fff80c7f14e5e7d674ee9ed22863cdb84838e0fad55a66f615fa91e3e4de30377c04a385927feea67c6046c837eb7a647fbe162685309ea3f9ea420 SHA512 894075663d409a117ad94abd63d6562c90b87a725ef56d02ad7c187532b99a56128be2f5f64d0e72763d1c14213707de84c920415107df875218489796bc4a5a
AUX 3.2/011-arm64-branch-protection.patch 1223 BLAKE2B 57ec142850e430f51aeca7c4f70ad9bac22a2a3fdd99616d8718520588b0f23e07f4c0ddfacc02edb9349fb0af38fcfc5b1b288dddedd4f6918511a5398980f3 SHA512 6fff70749a8b3eb6cd1b05a4b667613ead00097ecf4674fad710f3c785c97d55989a703569f0a041f1d75b82dbeb8f80bb9eef9b581e4ef3dd1c9907f6cc2634
+AUX 3.2/013-test-rlimit-constants.patch 4870 BLAKE2B 419fdd0df27467f651c5cbcdd4fd26a150d36bd9901efbd541e16e6fc4cd3bd036155b96e5addf55ff02b5a28e3a68d4fe24e64d6dc886e2912fff341a7dfde6 SHA512 0f00414bfba7d4e18ba86afee40dd955d65459b41d969cad6a49e91ae8a4d8995fdfce567dea68d2cd15134a470a00bf9de7b006de9c49e78bcfc8af6bdb7665
AUX 3.2/020-arm-readline-test.patch 1418 BLAKE2B d5d8b5cad404b068b065757fe8c9cb9c5521fe2ef52dc90b8e3d9781e717309d4082d8beb3360cc46fd2e4cb7a41209ace3fd0bb0c49da6775aff53fc4f452b8 SHA512 402ae9c27f4a3d9e153c1a01e6cd7bb6be79833eed90206a1fbef76198122cff70e8e52a3e6e4b1794e57151113017fcba5f6f1fc5fc77c91a2d96a6dcd27c0d
AUX 3.2/901-musl-stacksize.patch 749 BLAKE2B 422d53ef7fc1e76bd7466ff67da7cefd3665282ce0e29d16e2455e8f2bcbe081c0b9d31119eed6d6b53f6200fa72d623e9c04e0ebd6594397cf1dad344e8049a SHA512 f9ad0a50a0672a88b89cba9c452c090e0fe47fe41c640951b1b14970e1219a27c9ef3a1b53650b135d607830ae7a09b6a8916e45263415b58122c07262e90b1b
AUX 3.2/902-hppa-pthread-stack-size.patch 1690 BLAKE2B 84c8478a69e108c68f96eeb0f36b1f94e069193ce124c0ca5c6143c0c9a2f0c62c7927a1a61a85270f449d03b4c6f5bd735e02ce1da1df0749602e655f177778 SHA512 d871b1c0a5d58bb197def0e00310e38fc145520dbbd1245079b2ebab0f89878f21a22f27c388fe2a7557244db28f0acb97edddf9bdf4adbeb00327e01c5215a6
AUX 3.3/010-default-gem-location.patch 356 BLAKE2B f44459799fff80c7f14e5e7d674ee9ed22863cdb84838e0fad55a66f615fa91e3e4de30377c04a385927feea67c6046c837eb7a647fbe162685309ea3f9ea420 SHA512 894075663d409a117ad94abd63d6562c90b87a725ef56d02ad7c187532b99a56128be2f5f64d0e72763d1c14213707de84c920415107df875218489796bc4a5a
AUX 3.3/011-arm64-branch-protection.patch 1223 BLAKE2B 57ec142850e430f51aeca7c4f70ad9bac22a2a3fdd99616d8718520588b0f23e07f4c0ddfacc02edb9349fb0af38fcfc5b1b288dddedd4f6918511a5398980f3 SHA512 6fff70749a8b3eb6cd1b05a4b667613ead00097ecf4674fad710f3c785c97d55989a703569f0a041f1d75b82dbeb8f80bb9eef9b581e4ef3dd1c9907f6cc2634
AUX 3.3/012-mkdir-path.patch 334 BLAKE2B 13410c0946849ac2bd983c86854846cd50112093c0a196337933c4fd3859d975e3e24a21936682e4a579e8c4fd7b9a8ac8e21dda814b6d204e6a9e14405f6e1c SHA512 6a2276a4749bef46dcdfe4326f8995a746fd5547d62584f77533fa2117a3a830ea816b52c823eb63bd101fca507c179aa469f2b0529a24b4379bfafaf83823f7
+AUX 3.3/013-test-rlimit-constants.patch 5271 BLAKE2B 600482bc229bae2cc5cda7e9ceb74554d3c2bf4abf69ef79df12e0bead26a929a5806effbd111f44e9ec05bd25166e8d7e9fa879ab090add9ce0e4e40980f4fa SHA512 98173a270849ea1648f8fb1cff42c62f38d39851de0872cf225264ea6917d829ccf957743fe51c125a545dbc3372ed8bb1472139f0f230fb1ad5cde2c3562318
AUX 3.3/901-musl-stacksize.patch 749 BLAKE2B 422d53ef7fc1e76bd7466ff67da7cefd3665282ce0e29d16e2455e8f2bcbe081c0b9d31119eed6d6b53f6200fa72d623e9c04e0ebd6594397cf1dad344e8049a SHA512 f9ad0a50a0672a88b89cba9c452c090e0fe47fe41c640951b1b14970e1219a27c9ef3a1b53650b135d607830ae7a09b6a8916e45263415b58122c07262e90b1b
AUX 3.3/902-hppa-pthread-stack-size.patch 1690 BLAKE2B 84c8478a69e108c68f96eeb0f36b1f94e069193ce124c0ca5c6143c0c9a2f0c62c7927a1a61a85270f449d03b4c6f5bd735e02ce1da1df0749602e655f177778 SHA512 d871b1c0a5d58bb197def0e00310e38fc145520dbbd1245079b2ebab0f89878f21a22f27c388fe2a7557244db28f0acb97edddf9bdf4adbeb00327e01c5215a6
DIST ruby-3.1.4.tar.xz 15316604 BLAKE2B 5d771c267451c05ae192991976957d43d1131e652ac5a90a8dfff9deba97cf6b139d0113f5d2ed44225a545aa79a1c732555de1efc83d1010d097ec35f7e92dd SHA512 a627bb629a10750b8b2081ad451a41faea0fc85d95aa1e267e3d2a0f56a35bb58195d4a8d13bbdbd82f4197a96dae22b1cee1dfc83861ec33a67ece07aef5633
@@ -26,13 +29,13 @@ DIST ruby-3.3.4.tar.xz 16366580 BLAKE2B e10b81ad7838e3d443ce0b12b8372faebb001f00
EBUILD ruby-3.1.4-r3.ebuild 8353 BLAKE2B 442e4dab4ca961de6b489d7bf4182d5664c9e473f0891479d3842cb09936b5e5b21ace1a730b56824969eda328c38f3b7b25c48124399c8ba3c97a73aff69b77 SHA512 dea295106f0a8a94e44f6c341c57fd19b2d9d212b8db6f7561376aac07a546107809a2eda7f8be38f0fbd0b9f477ce88f5432fdec8004f19cc16691ac0c13dbf
EBUILD ruby-3.1.4-r5.ebuild 8504 BLAKE2B 2ee7c9aef7c65d9601cd31918addaa7a42bf806d08237f75e894db1e564e6fc282892c2c517badf366cd0584debcb51d0c754353af656d26bdc94389d5ea7e01 SHA512 1fb62ce8b8fc7288a954abe23af104ce7bc9124c157f4dcf68fd499d7f103bc8b396fdb5089431b4cf7c76c9c7adabe11f3a4f9b172c1d12c14165ec2de8d306
EBUILD ruby-3.1.5.ebuild 8678 BLAKE2B 8efd1b3ee7009bd7c983b9eb9a8a9eea29754fbba330957200548d27c1eeace562abafa8640a3ffd96adb8bdacf06918e21bef7870cff860225a408da7a45e3a SHA512 788d2ff68acbeb7dcc28502b9209ce43dc4d0f64810766df3eb8c140b3cddbe70756785a8c12ea2a588f596e12f2e8652f531a62112330522812847ad4297a89
-EBUILD ruby-3.1.6-r1.ebuild 9035 BLAKE2B f5baf8b953f36ee101da6b1b77a64fd4baf266106ea5e60fac2eaeed41567c5a068da1e20e62df3e5f755aeebcf48179357ba3eaa73bb336d53b1f6e1a8b0142 SHA512 587039bf1cdcd7693ebdf109a061a9a1e27d14cfbf4b2938806624e84b9a6b48c122612d55747b60886dd41927c044ed1f404adb418fcc706e2940470c5a6cea
+EBUILD ruby-3.1.6-r1.ebuild 9078 BLAKE2B 36f0c4a51f589b0f16885ff93bbe560ee33de498b7553e047c56cca4be92d3b53b9cd9ba97f2bebf26b8190db24ce97a71ed01cb1468e181e24e6606fa143bcf SHA512 b8f446cf82e94b68286705016a02cf5a73c0cde966b1aa771b2e1f57244c393f531feadc74a2e1f41e75f927393874900cf1c454735f8da9b1a9bef368cccd78
EBUILD ruby-3.1.6.ebuild 8844 BLAKE2B 35f1b99e2505df7b0deb14e186604e2169cf38812f442838fe2e4e8b50a49b412f8d25ebae4b67a056895b37b991ead09e73236e11bdb781d224a2495bedbc4f SHA512 01881562844ea0535303c5d88e2c9d78d5e608790d3c8c626d1d71de7da85e1dbaceaaff52f96e72a03e8dc89758e0c08b75bdb0ef07ae6a52e80d7fde42b586
EBUILD ruby-3.2.3.ebuild 9534 BLAKE2B 8383353bf02c2abba8dcf67cbdffcc197d085fce1c961c56d0d493ccc840f0970efb105b916a28d590c6f6caff42e654651361f685bce545c969082981cbd25f SHA512 78f8270db8c06b960a84b03b20b31f3aacc455905637e8cf3e040724d1c39b43aac19e296205902cf6c958e5c64ed0843e6854ae9997e612598aea6b3965c6d0
EBUILD ruby-3.2.4-r1.ebuild 9730 BLAKE2B d632c75cd778e7109aef58842b195c24c78c9d7285a23376bcfe5d18cd47183d6d2a311ed1f186c38bde8fa9e3f94253f346b474df253ce1f5ad74a953c4b8b0 SHA512 711e1f7e70144d1d852896a36c1ec3ae461de320a959dcfb340fa0bb9485b4c933b1c608f13ffd5bdf5307ef0d61e4bdc1242d35f3ecf506016855b4e25ad824
EBUILD ruby-3.2.4.ebuild 9580 BLAKE2B bc4d298bb3cb99537e4cea4cd329aa00d73d5adaabf89493c373cf4b5b313feb423591b29c98914a5b24108f5ece81db04630074a05c2b625896783e9cde806b SHA512 19f9ffc2ad5a679917ad2b93a973ea0db71eccfa71341605311a57564d0154d80c45581f6cee7f24218f7e57fba5abf1a2ca44c54cb1833d32dad6daee0cdb50
-EBUILD ruby-3.2.5.ebuild 9687 BLAKE2B 9a2d8d6baf712752940939dd30fbdbbb352e22b6280af67b978c18a0d5f2d4a444e982b057054ef87a87a67d0cf2ef60b7c9cc3331ec22c073692b0f2049affa SHA512 1e9c5ed390df60260e67bb55a4db3e012536f3579396028725a68323cb78dabac393f56283e34c7c56f44925bfe9d96dbc4cc6bc78ec796f783f21297e373c55
+EBUILD ruby-3.2.5.ebuild 9730 BLAKE2B e8cd713a93ffae81f6d1a7152f608a53b44eb30463dca4dc941368edbe7f437c98ea1fb84fedb1dcbe572f5408458a1a61ed5099fbe018d7da472892eacce02b SHA512 0bd5940aeeb4c135b8f049de507edcbd1fccb7b17ada9de7a8de59cc6eddbd240fc80455966612a07d1bce6032f66fb6fc863b0590ca749701052275b47e7397
EBUILD ruby-3.3.2.ebuild 9269 BLAKE2B 3f9971414512fb66be404c5a7ed5553e8b581b5f19874d7ab733d5d6aad3cca489163764d3bc2aa81a6f5d2981026290e4a197cf4b3712218741b4aede3268ee SHA512 44419e0bac61f0e9215e4c131ede309b08ef3d021c476899c0adadf35d54d661e86beb75a5e80a95dc7915131b748823e9ea5b53af3f8bce6fb7ac11c178690c
-EBUILD ruby-3.3.4-r1.ebuild 9540 BLAKE2B 1ba26b28667aa365da7b9e86f182843e3e69d2ce02f2c8338d7b62e54c26dc59ee4dd841cdd99a1dfe7919cb57aac03bb0989424a45a388e097cfac74271a2ce SHA512 f445bb5a5b05c85fe12ec8054f3847b4a7d42a16b0f868a65dbe1b13b179d9e0259d516613312c89b19b80321429e8ed0a69800eda91f7e552c0269faa23760f
+EBUILD ruby-3.3.4-r1.ebuild 9583 BLAKE2B 1755bd4e52fe6df120161ce549f31370a5782ffa816bfeb53f2841fd23f5e5b928855882cf14ff0f7f74a74c8ac1a099036a4d4dd961553178ac2207e6ba65f7 SHA512 637273b10d522ef5ca47474cd321d91af1ff87eaa43e7dd3fcd62865cc5a50db79de9260718a024f8436ab2bed2bc32c010f6e7f940fcdf1dcdc5d5471c50744
EBUILD ruby-3.3.4.ebuild 9540 BLAKE2B 1ba26b28667aa365da7b9e86f182843e3e69d2ce02f2c8338d7b62e54c26dc59ee4dd841cdd99a1dfe7919cb57aac03bb0989424a45a388e097cfac74271a2ce SHA512 f445bb5a5b05c85fe12ec8054f3847b4a7d42a16b0f868a65dbe1b13b179d9e0259d516613312c89b19b80321429e8ed0a69800eda91f7e552c0269faa23760f
MISC metadata.xml 504 BLAKE2B ca7743b107a6825dd029e0798cf1b0d048e3ce730382245565692e9242d09553db2c09edd1d09195602d9d96167c8606f3e7ddd5a27e1473eb9e4fbbc9074d1d SHA512 c2cf0a52fe03067cc09edc660d981af2465e4a733e53ad601d0e6377fa61072a60be4ec916cae94023328600e52a29f18621b47e839bddc897fa00db44feb9b1
diff --git a/dev-lang/ruby/files/3.1/013-test-rlimit-constants.patch b/dev-lang/ruby/files/3.1/013-test-rlimit-constants.patch
new file mode 100644
index 000000000000..998c839808aa
--- /dev/null
+++ b/dev-lang/ruby/files/3.1/013-test-rlimit-constants.patch
@@ -0,0 +1,147 @@
+From bea20365f43ee115ea6219c7113647eed3d9e342 Mon Sep 17 00:00:00 2001
+From: matoro <matoro@users.noreply.github.com>
+Date: Wed, 7 Aug 2024 13:15:00 -0400
+Subject: [PATCH] Replace specific constant tests with just type checks
+
+As detailed in the attached issue, these constants can and do vary e.g.
+between architectures on Linux. Hardcoding and asserting that they are
+equal to specific values pretty much defeats the purpose of building
+these in at compile time. Instead, simply assert that they exist and
+are integers.
+
+Fixes: https://github.com/ruby/spec/issues/1150
+---
+ core/process/constants_spec.rb | 116 ++++++++++++++++++++-------------
+ 1 file changed, 69 insertions(+), 47 deletions(-)
+
+diff --git a/core/process/constants_spec.rb b/core/process/constants_spec.rb
+index 616c54b8e..57cacadef 100644
+--- a/spec/ruby/core/process/constants_spec.rb
++++ b/spec/ruby/core/process/constants_spec.rb
+@@ -2,64 +2,81 @@
+
+ describe "Process::Constants" do
+ platform_is :darwin, :netbsd, :freebsd do
+- it "has the correct constant values on BSD-like systems" do
+- Process::WNOHANG.should == 1
+- Process::WUNTRACED.should == 2
+- Process::PRIO_PROCESS.should == 0
+- Process::PRIO_PGRP.should == 1
+- Process::PRIO_USER.should == 2
+- Process::RLIM_INFINITY.should == 9223372036854775807
+- Process::RLIMIT_CPU.should == 0
+- Process::RLIMIT_FSIZE.should == 1
+- Process::RLIMIT_DATA.should == 2
+- Process::RLIMIT_STACK.should == 3
+- Process::RLIMIT_CORE.should == 4
+- Process::RLIMIT_RSS.should == 5
+- Process::RLIMIT_MEMLOCK.should == 6
+- Process::RLIMIT_NPROC.should == 7
+- Process::RLIMIT_NOFILE.should == 8
++ it "are all present on BSD-like systems" do
++ %i[
++ WNOHANG
++ WUNTRACED
++ PRIO_PROCESS
++ PRIO_PGRP
++ PRIO_USER
++ RLIM_INFINITY
++ RLIMIT_CPU
++ RLIMIT_FSIZE
++ RLIMIT_DATA
++ RLIMIT_STACK
++ RLIMIT_CORE
++ RLIMIT_RSS
++ RLIMIT_MEMLOCK
++ RLIMIT_NPROC
++ RLIMIT_NOFILE
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
+ platform_is :darwin do
+- it "has the correct constant values on Darwin" do
+- Process::RLIM_SAVED_MAX.should == 9223372036854775807
+- Process::RLIM_SAVED_CUR.should == 9223372036854775807
+- Process::RLIMIT_AS.should == 5
++ it "are all present on Darwin" do
++ %i[
++ RLIM_SAVED_MAX
++ RLIM_SAVED_CUR
++ RLIMIT_AS
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
+ platform_is :linux do
+- it "has the correct constant values on Linux" do
+- Process::WNOHANG.should == 1
+- Process::WUNTRACED.should == 2
+- Process::PRIO_PROCESS.should == 0
+- Process::PRIO_PGRP.should == 1
+- Process::PRIO_USER.should == 2
+- Process::RLIMIT_CPU.should == 0
+- Process::RLIMIT_FSIZE.should == 1
+- Process::RLIMIT_DATA.should == 2
+- Process::RLIMIT_STACK.should == 3
+- Process::RLIMIT_CORE.should == 4
+- Process::RLIMIT_RSS.should == 5
+- Process::RLIMIT_NPROC.should == 6
+- Process::RLIMIT_NOFILE.should == 7
+- Process::RLIMIT_MEMLOCK.should == 8
+- Process::RLIMIT_AS.should == 9
+-
+- # These values appear to change according to the platform.
+- values = [4294967295, 9223372036854775807, 18446744073709551615]
+- values.include?(Process::RLIM_INFINITY).should be_true
+- values.include?(Process::RLIM_SAVED_MAX).should be_true
+- values.include?(Process::RLIM_SAVED_CUR).should be_true
++ it "are all present on Linux" do
++ %i[
++ WNOHANG
++ WUNTRACED
++ PRIO_PROCESS
++ PRIO_PGRP
++ PRIO_USER
++ RLIMIT_CPU
++ RLIMIT_FSIZE
++ RLIMIT_DATA
++ RLIMIT_STACK
++ RLIMIT_CORE
++ RLIMIT_RSS
++ RLIMIT_NPROC
++ RLIMIT_NOFILE
++ RLIMIT_MEMLOCK
++ RLIMIT_AS
++ RLIM_INFINITY
++ RLIM_SAVED_MAX
++ RLIM_SAVED_CUR
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
+ platform_is :netbsd, :freebsd do
+- it "Process::RLIMIT_SBSIZE" do
+- Process::RLIMIT_SBSIZE.should == 9 # FIXME: what's it equal?
+- Process::RLIMIT_AS.should == 10
++ it "are all present on NetBSD and FreeBSD" do
++ %i[
++ RLIMIT_SBSIZE
++ RLIMIT_AS
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
+
diff --git a/dev-lang/ruby/files/3.2/013-test-rlimit-constants.patch b/dev-lang/ruby/files/3.2/013-test-rlimit-constants.patch
new file mode 100644
index 000000000000..998c839808aa
--- /dev/null
+++ b/dev-lang/ruby/files/3.2/013-test-rlimit-constants.patch
@@ -0,0 +1,147 @@
+From bea20365f43ee115ea6219c7113647eed3d9e342 Mon Sep 17 00:00:00 2001
+From: matoro <matoro@users.noreply.github.com>
+Date: Wed, 7 Aug 2024 13:15:00 -0400
+Subject: [PATCH] Replace specific constant tests with just type checks
+
+As detailed in the attached issue, these constants can and do vary e.g.
+between architectures on Linux. Hardcoding and asserting that they are
+equal to specific values pretty much defeats the purpose of building
+these in at compile time. Instead, simply assert that they exist and
+are integers.
+
+Fixes: https://github.com/ruby/spec/issues/1150
+---
+ core/process/constants_spec.rb | 116 ++++++++++++++++++++-------------
+ 1 file changed, 69 insertions(+), 47 deletions(-)
+
+diff --git a/core/process/constants_spec.rb b/core/process/constants_spec.rb
+index 616c54b8e..57cacadef 100644
+--- a/spec/ruby/core/process/constants_spec.rb
++++ b/spec/ruby/core/process/constants_spec.rb
+@@ -2,64 +2,81 @@
+
+ describe "Process::Constants" do
+ platform_is :darwin, :netbsd, :freebsd do
+- it "has the correct constant values on BSD-like systems" do
+- Process::WNOHANG.should == 1
+- Process::WUNTRACED.should == 2
+- Process::PRIO_PROCESS.should == 0
+- Process::PRIO_PGRP.should == 1
+- Process::PRIO_USER.should == 2
+- Process::RLIM_INFINITY.should == 9223372036854775807
+- Process::RLIMIT_CPU.should == 0
+- Process::RLIMIT_FSIZE.should == 1
+- Process::RLIMIT_DATA.should == 2
+- Process::RLIMIT_STACK.should == 3
+- Process::RLIMIT_CORE.should == 4
+- Process::RLIMIT_RSS.should == 5
+- Process::RLIMIT_MEMLOCK.should == 6
+- Process::RLIMIT_NPROC.should == 7
+- Process::RLIMIT_NOFILE.should == 8
++ it "are all present on BSD-like systems" do
++ %i[
++ WNOHANG
++ WUNTRACED
++ PRIO_PROCESS
++ PRIO_PGRP
++ PRIO_USER
++ RLIM_INFINITY
++ RLIMIT_CPU
++ RLIMIT_FSIZE
++ RLIMIT_DATA
++ RLIMIT_STACK
++ RLIMIT_CORE
++ RLIMIT_RSS
++ RLIMIT_MEMLOCK
++ RLIMIT_NPROC
++ RLIMIT_NOFILE
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
+ platform_is :darwin do
+- it "has the correct constant values on Darwin" do
+- Process::RLIM_SAVED_MAX.should == 9223372036854775807
+- Process::RLIM_SAVED_CUR.should == 9223372036854775807
+- Process::RLIMIT_AS.should == 5
++ it "are all present on Darwin" do
++ %i[
++ RLIM_SAVED_MAX
++ RLIM_SAVED_CUR
++ RLIMIT_AS
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
+ platform_is :linux do
+- it "has the correct constant values on Linux" do
+- Process::WNOHANG.should == 1
+- Process::WUNTRACED.should == 2
+- Process::PRIO_PROCESS.should == 0
+- Process::PRIO_PGRP.should == 1
+- Process::PRIO_USER.should == 2
+- Process::RLIMIT_CPU.should == 0
+- Process::RLIMIT_FSIZE.should == 1
+- Process::RLIMIT_DATA.should == 2
+- Process::RLIMIT_STACK.should == 3
+- Process::RLIMIT_CORE.should == 4
+- Process::RLIMIT_RSS.should == 5
+- Process::RLIMIT_NPROC.should == 6
+- Process::RLIMIT_NOFILE.should == 7
+- Process::RLIMIT_MEMLOCK.should == 8
+- Process::RLIMIT_AS.should == 9
+-
+- # These values appear to change according to the platform.
+- values = [4294967295, 9223372036854775807, 18446744073709551615]
+- values.include?(Process::RLIM_INFINITY).should be_true
+- values.include?(Process::RLIM_SAVED_MAX).should be_true
+- values.include?(Process::RLIM_SAVED_CUR).should be_true
++ it "are all present on Linux" do
++ %i[
++ WNOHANG
++ WUNTRACED
++ PRIO_PROCESS
++ PRIO_PGRP
++ PRIO_USER
++ RLIMIT_CPU
++ RLIMIT_FSIZE
++ RLIMIT_DATA
++ RLIMIT_STACK
++ RLIMIT_CORE
++ RLIMIT_RSS
++ RLIMIT_NPROC
++ RLIMIT_NOFILE
++ RLIMIT_MEMLOCK
++ RLIMIT_AS
++ RLIM_INFINITY
++ RLIM_SAVED_MAX
++ RLIM_SAVED_CUR
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
+ platform_is :netbsd, :freebsd do
+- it "Process::RLIMIT_SBSIZE" do
+- Process::RLIMIT_SBSIZE.should == 9 # FIXME: what's it equal?
+- Process::RLIMIT_AS.should == 10
++ it "are all present on NetBSD and FreeBSD" do
++ %i[
++ RLIMIT_SBSIZE
++ RLIMIT_AS
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
+
diff --git a/dev-lang/ruby/files/3.3/013-test-rlimit-constants.patch b/dev-lang/ruby/files/3.3/013-test-rlimit-constants.patch
new file mode 100644
index 000000000000..c3790b13152b
--- /dev/null
+++ b/dev-lang/ruby/files/3.3/013-test-rlimit-constants.patch
@@ -0,0 +1,159 @@
+From bea20365f43ee115ea6219c7113647eed3d9e342 Mon Sep 17 00:00:00 2001
+From: matoro <matoro@users.noreply.github.com>
+Date: Wed, 7 Aug 2024 13:15:00 -0400
+Subject: [PATCH] Replace specific constant tests with just type checks
+
+As detailed in the attached issue, these constants can and do vary e.g.
+between architectures on Linux. Hardcoding and asserting that they are
+equal to specific values pretty much defeats the purpose of building
+these in at compile time. Instead, simply assert that they exist and
+are integers.
+
+Fixes: https://github.com/ruby/spec/issues/1150
+---
+ core/process/constants_spec.rb | 116 ++++++++++++++++++++-------------
+ 1 file changed, 69 insertions(+), 47 deletions(-)
+
+diff --git a/core/process/constants_spec.rb b/core/process/constants_spec.rb
+index 616c54b8e..57cacadef 100644
+--- a/spec/ruby/core/process/constants_spec.rb
++++ b/spec/ruby/core/process/constants_spec.rb
+@@ -2,69 +2,91 @@
+
+ describe "Process::Constants" do
+ platform_is :darwin, :netbsd, :freebsd do
+- it "has the correct constant values on BSD-like systems" do
+- Process::WNOHANG.should == 1
+- Process::WUNTRACED.should == 2
+- Process::PRIO_PROCESS.should == 0
+- Process::PRIO_PGRP.should == 1
+- Process::PRIO_USER.should == 2
+- Process::RLIM_INFINITY.should == 9223372036854775807
+- Process::RLIMIT_CPU.should == 0
+- Process::RLIMIT_FSIZE.should == 1
+- Process::RLIMIT_DATA.should == 2
+- Process::RLIMIT_STACK.should == 3
+- Process::RLIMIT_CORE.should == 4
+- Process::RLIMIT_RSS.should == 5
+- Process::RLIMIT_MEMLOCK.should == 6
+- Process::RLIMIT_NPROC.should == 7
+- Process::RLIMIT_NOFILE.should == 8
++ it "are all present on BSD-like systems" do
++ %i[
++ WNOHANG
++ WUNTRACED
++ PRIO_PROCESS
++ PRIO_PGRP
++ PRIO_USER
++ RLIM_INFINITY
++ RLIMIT_CPU
++ RLIMIT_FSIZE
++ RLIMIT_DATA
++ RLIMIT_STACK
++ RLIMIT_CORE
++ RLIMIT_RSS
++ RLIMIT_MEMLOCK
++ RLIMIT_NPROC
++ RLIMIT_NOFILE
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
+ platform_is :darwin do
+- it "has the correct constant values on Darwin" do
+- Process::RLIM_SAVED_MAX.should == 9223372036854775807
+- Process::RLIM_SAVED_CUR.should == 9223372036854775807
+- Process::RLIMIT_AS.should == 5
++ it "are all present on Darwin" do
++ %i[
++ RLIM_SAVED_MAX
++ RLIM_SAVED_CUR
++ RLIMIT_AS
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
+ platform_is :linux do
+- it "has the correct constant values on Linux" do
+- Process::WNOHANG.should == 1
+- Process::WUNTRACED.should == 2
+- Process::PRIO_PROCESS.should == 0
+- Process::PRIO_PGRP.should == 1
+- Process::PRIO_USER.should == 2
+- Process::RLIMIT_CPU.should == 0
+- Process::RLIMIT_FSIZE.should == 1
+- Process::RLIMIT_DATA.should == 2
+- Process::RLIMIT_STACK.should == 3
+- Process::RLIMIT_CORE.should == 4
+- Process::RLIMIT_RSS.should == 5
+- Process::RLIMIT_NPROC.should == 6
+- Process::RLIMIT_NOFILE.should == 7
+- Process::RLIMIT_MEMLOCK.should == 8
+- Process::RLIMIT_AS.should == 9
+-
+- # These values appear to change according to the platform.
+- values = [4294967295, 9223372036854775807, 18446744073709551615]
+- values.include?(Process::RLIM_INFINITY).should be_true
+- values.include?(Process::RLIM_SAVED_MAX).should be_true
+- values.include?(Process::RLIM_SAVED_CUR).should be_true
++ it "are all present on Linux" do
++ %i[
++ WNOHANG
++ WUNTRACED
++ PRIO_PROCESS
++ PRIO_PGRP
++ PRIO_USER
++ RLIMIT_CPU
++ RLIMIT_FSIZE
++ RLIMIT_DATA
++ RLIMIT_STACK
++ RLIMIT_CORE
++ RLIMIT_RSS
++ RLIMIT_NPROC
++ RLIMIT_NOFILE
++ RLIMIT_MEMLOCK
++ RLIMIT_AS
++ RLIM_INFINITY
++ RLIM_SAVED_MAX
++ RLIM_SAVED_CUR
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
+ platform_is :netbsd, :freebsd do
+- it "has the correct constant values on NetBSD and FreeBSD" do
+- Process::RLIMIT_SBSIZE.should == 9 # FIXME: what's it equal?
+- Process::RLIMIT_AS.should == 10
++ it "are all present on NetBSD and FreeBSD" do
++ %i[
++ RLIMIT_SBSIZE
++ RLIMIT_AS
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
+ platform_is :freebsd do
+- it "has the correct constant values on FreeBSD" do
+- Process::RLIMIT_NPTS.should == 11
++ it "are all present on FreeBSD" do
++ %i[
++ RLIMIT_NPTS
++ ].each do |const|
++ Process.const_defined?(const).should be_true
++ Process.const_get(const).should be_an_instance_of(Integer)
++ end
+ end
+ end
+
diff --git a/dev-lang/ruby/ruby-3.1.6-r1.ebuild b/dev-lang/ruby/ruby-3.1.6-r1.ebuild
index 358461b38718..6e7d945488c0 100644
--- a/dev-lang/ruby/ruby-3.1.6-r1.ebuild
+++ b/dev-lang/ruby/ruby-3.1.6-r1.ebuild
@@ -72,6 +72,7 @@ PDEPEND="
src_prepare() {
eapply "${FILESDIR}"/"${SLOT}"/011*.patch
eapply "${FILESDIR}"/"${SLOT}"/012*.patch
+ eapply "${FILESDIR}"/"${SLOT}"/013*.patch
eapply "${FILESDIR}"/"${SLOT}"/020*.patch
eapply "${FILESDIR}"/"${SLOT}"/902*.patch
diff --git a/dev-lang/ruby/ruby-3.2.5.ebuild b/dev-lang/ruby/ruby-3.2.5.ebuild
index 567f50286b60..cbd46d6f96c4 100644
--- a/dev-lang/ruby/ruby-3.2.5.ebuild
+++ b/dev-lang/ruby/ruby-3.2.5.ebuild
@@ -79,6 +79,7 @@ PDEPEND="
src_prepare() {
eapply "${FILESDIR}"/"${SLOT}"/010*.patch
eapply "${FILESDIR}"/"${SLOT}"/011*.patch
+ eapply "${FILESDIR}"/"${SLOT}"/013*.patch
eapply "${FILESDIR}"/"${SLOT}"/902*.patch
if use elibc_musl ; then
diff --git a/dev-lang/ruby/ruby-3.3.4-r1.ebuild b/dev-lang/ruby/ruby-3.3.4-r1.ebuild
index e96e95a64f16..0ef34173c25d 100644
--- a/dev-lang/ruby/ruby-3.3.4-r1.ebuild
+++ b/dev-lang/ruby/ruby-3.3.4-r1.ebuild
@@ -79,6 +79,7 @@ PDEPEND="
src_prepare() {
eapply "${FILESDIR}"/"${SLOT}"/010*.patch
+ eapply "${FILESDIR}"/"${SLOT}"/013*.patch
eapply "${FILESDIR}"/"${SLOT}"/902*.patch
if use elibc_musl ; then
diff --git a/dev-lang/spidermonkey/Manifest b/dev-lang/spidermonkey/Manifest
index dc0b0b5a1274..763f90f71cc3 100644
--- a/dev-lang/spidermonkey/Manifest
+++ b/dev-lang/spidermonkey/Manifest
@@ -5,10 +5,10 @@ DIST firefox-102esr-patches-13.tar.xz 22212 BLAKE2B 02e9edd071a99abbac02faa11ffc
DIST firefox-115.13.0esr.source.tar.xz 510571488 BLAKE2B e2b00965a92cd11da6c81daa8b6c652dfccc9f0f7d066bc17ae5fa3ac3aaaa021c4489a9f653127f5516e3d77cd7174de328343e22c4edab438e3fcb9a859178 SHA512 799cdf2d0494003a5addd0da703f53deb9c9d6bb6f6c95d40026363382803e2d086039c7798940a1f35f4cba111f2e8e21bde8ac2eac29fd9bd6876dd8d3a85f
DIST firefox-115.14.0esr.source.tar.xz 507310580 BLAKE2B ffca6b7dce6ae6a470c9d5506b4236077b2151732bff811aa0bf0367be80aec5ea4918ee5dcd611b0e19a025156def3e9524a4f5d741343e9fda5a2e693e15fa SHA512 dd40c1fd3cf454dbf33a85d38e47bb0e736ed89b829643653e239f43232441f4e9f3c7876f058ff2e6f19daf2b50a8f2d13274e9a107d8a258a6067d1fc43f54
DIST firefox-115esr-patches-10.tar.xz 17256 BLAKE2B 0f6265d6e12f55e9b5128f2f261ba3785b80563e049d2441fde09dedf419c6086c9d994d2b44d1aab35af64cde375bdc254206da9ef148fc20fa90da0417606d SHA512 a1f0012420593a1c1b38dba1785ee9092e0923f56458c38f003cca4ebaac30a73fe3d1f5806a5795c76b2b8d729f8184372e63681daa450c3bb8e5afbe9e2e4f
-DIST firefox-115esr-patches-12.tar.xz 50732 BLAKE2B 821ea063bd14085458967e33570bb28a1457672d2c210368507532024db25dfbb7d30d37084a2cc60a4cc34dde453669ad9046c664e7e8459a8c7fab33485068 SHA512 e80b0eb9a4efa8e6a872a875a31e384a5d3ac2f7000a3d12b03cbe2dff43baf8e3e544b7b7baadcb46ae714e3709ecbc53742b9562fcb1b1caf85b037b5ad501
+DIST firefox-115esr-patches-13.tar.xz 51360 BLAKE2B a048bfadba989ebbd4c6e3df97d303d6853844e66ed92f5f5f322acf18866218b91d52dbbece63827de283eef855c932d67e329c8d93200aa83f11268a5d1b2f SHA512 186ec72323e621362dcef1bc67c476716aff97dfad701faa9220a7302e798d3cb4ed90d5ea59e3e92f016be29875bb5219787635db99a8848b7c76e4e2e09e90
DIST spidermonkey-102-patches-05j.tar.xz 4596 BLAKE2B 215b770bbdf17973d7b3fd1df6cee9647459d2b02b0be5bdb289d457e5dbdb06ceac7a3082fc2f5836e991a4ac4486d73330b0276a466b5c528dab226a27829c SHA512 d2b8e32dac87d60a00fd93479dc34d8adab4feec24a38591cebeb4cf271aa2fd964f4dc26e67ebfb127a47bc8f684d50b32b2cff18ed5286701a04a289058185
DIST spidermonkey-115-patches-01.tar.xz 3992 BLAKE2B e97d0cb3edfb885119226f54f22485ed4e8220cd904d3356b87ccc013403f976a042171cf9ca7250bcf3fe3d90996dd80b4104e7d614f95d7bcfcb0e710a8a78 SHA512 cece96f172a09dd0e29f7c2fdbf650cde405b276bc4083956365289f1da4b1d078ccbde760da6553888ddb3c53cf9aded52051db556a2c4ec492fed01dcb03a1
EBUILD spidermonkey-102.15.0.ebuild 15624 BLAKE2B a10e3fb8fcbc0f0016778a3c5bb1caea09b05eef2d059f5bb920158b45e9f15ab1e9bd9da90300457e68a147b334a49a86bd1dd07f036feedfa69d17491e63a5 SHA512 c71d02f78d2196e9afa44e3481fa9f6ef8324799b4a4a460eab531ca3d51e09a1b43a15bd2efbac5d11d03bb410babe6400236220684641c97aaa030ee970fdf
EBUILD spidermonkey-115.13.0.ebuild 13974 BLAKE2B 40e43ac67750de9928dd01e5cd5396a7e8a90a4ed284ac76fb4693351167a97ba48c6b717951fd7d8d82d4f1482d4b897e7c81d7b0026bb3a0ac821ba1bb2f2b SHA512 e828e1fad89c36a131a9f94cf738f547b93a69e4251e442209761409c9c3e4b71d075e56544584e629c1ec4289e566f783eccfd1cb8a1e07b516a7b40ea10951
-EBUILD spidermonkey-115.14.0.ebuild 13979 BLAKE2B b726eab0ed064ee4ad2b4af975ce703add055c656280d55303152ea2655331d38301576300e1690eedd4e7b9ebe0046c358692ef150060134bde12c065fa25c6 SHA512 4de54e44b30e0e0e006da00d2e773325621550299552f1591536bca483cb55005af016f589067bf757ecb490ba8079ecc73e3eae44e1b1583cae41b6faa63d76
+EBUILD spidermonkey-115.14.0.ebuild 13979 BLAKE2B 96de21ebef7cf36ef49af9e783d477b9571aafa74ce97cd5da3c8c3aa18b41247867ecc991d63be71fb6f7113d804a3ee2fb69502d9d44a75404fc6d7f973176 SHA512 3558492dd944c0dd048c58b1c28b86422b49dc91ba15f57de676656b59add08e6ddb7b17827497c18f9bede9fbdaf94ce86c7f13a4928b41839abb88095938c1
MISC metadata.xml 513 BLAKE2B 58ffd474492f03c16bda95e48511fb6281e03067d2ad77e994f8117345ecece5da9591dccedafe75b037d98e06851a3759caa4b993adc2910dbb76e1c01a7fa3 SHA512 1ee02bff37e2dabbd72b7f719463b12299270c7960b4cf5a92afab17c954c50e6acb826d4a91db4954fb4a7b0f8669988f2cdb5be991df90e3a605c6b35fdbfb
diff --git a/dev-lang/spidermonkey/spidermonkey-115.14.0.ebuild b/dev-lang/spidermonkey/spidermonkey-115.14.0.ebuild
index ca63af63c74c..2bdbe0e3afc7 100644
--- a/dev-lang/spidermonkey/spidermonkey-115.14.0.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-115.14.0.ebuild
@@ -4,7 +4,7 @@
EAPI="8"
# Patch version
-FIREFOX_PATCHSET="firefox-115esr-patches-12.tar.xz"
+FIREFOX_PATCHSET="firefox-115esr-patches-13.tar.xz"
SPIDERMONKEY_PATCHSET="spidermonkey-115-patches-01.tar.xz"
LLVM_MAX_SLOT=18