diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-12 04:04:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-12 04:04:10 +0100 |
commit | 3980ecf15e6202ac2f2015045b549600e709b721 (patch) | |
tree | 6f854410381fa9d52df5a548314626b48329f1c3 /dev-ruby/grpc | |
parent | 61af1efe96cf1037982d2fc90af0749b5ec5a0c6 (diff) |
gentoo auto-resync : 12:10:2024 - 04:04:10
Diffstat (limited to 'dev-ruby/grpc')
-rw-r--r-- | dev-ruby/grpc/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/grpc/files/grpc-1.66.0-c99.patch | 22 | ||||
-rw-r--r-- | dev-ruby/grpc/grpc-1.66.0-r2.ebuild (renamed from dev-ruby/grpc/grpc-1.66.0-r1.ebuild) | 4 |
3 files changed, 27 insertions, 2 deletions
diff --git a/dev-ruby/grpc/Manifest b/dev-ruby/grpc/Manifest index 6f3aa5fb7882..9f9701f30c61 100644 --- a/dev-ruby/grpc/Manifest +++ b/dev-ruby/grpc/Manifest @@ -1,8 +1,9 @@ +AUX grpc-1.66.0-c99.patch 912 BLAKE2B b39a8de630fd5612a90d95f8e7af7d18dc54d78c79f776c536f7bcfdff38a01812e5f75d0e55a6fd87013535cf268d666f9e9b356421ce6835b31200e353a669 SHA512 07f129ff43e36518c3a3461eaecbfdba5f59cc14c12d5f3926b164eb0307b5f2f20a65f046631a11a63e2d2c2c82ddf7b0a054ac25d729e3bafccbffcfc5e93f DIST grpc-1.54.0.gem 6047232 BLAKE2B 66e48f27748867eb99464ecf659204a2e0f8c9ad9c998fe13dbf8daf159f928d54414d28f121ecb52f1cb8d277651f91b4259eecf9cca2836d25cacbcfe9ea3a SHA512 72e76223800078584151cf6a6833b4cb3cfc0fa0733b050b9ccf5180ef7250b26fc22d7bac52f636b5ada68723eb04f67f51d24aacf7dc1288333c7adab556d6 DIST grpc-1.59.2.gem 6404096 BLAKE2B 6953d538cee06c1f8795ca7949c22dd60d9aa4c4aa51c8d92631b646929682089969db1d2f206cd2e4c1e3692803c2cef685edf22f6d7a2d20b79dc735c942bc SHA512 a624ddf60f5befe043cdcfa015f2541bdf5b67604f8dd51652dd13a9576673df624513048d9e591c54da6e8fa1b983e78f8ca79d301c089fca5be6f12722b827 DIST grpc-1.66.0.gem 6721536 BLAKE2B a8736fe3a71db8a1910c9b0186e9962f390c6e587fee3357a828409941406fc5563e21c3287a7ef7b65ebc952ddffeb1b4062ba29fc0c10d8c6dd9de8e7c46f2 SHA512 a262181c1f837e469b3cf1f47929646dc17ed8548a6978f3ffb78fd81f915abc098a98f347da0f49831e6b0d9da302263a69a151f6ab39d35a2519bee63f944d EBUILD grpc-1.54.0.ebuild 817 BLAKE2B 571b34b340f1422d6846319868f32354fb49b504634226dda7d40cce93cf2fdd50daa70b3d008e0f2b7814d1dc93e4b8073c742b738e20704105b3d2d4ab633e SHA512 f21ab28f7796e3cd87e16c9a66dcbbb888f7b015a718f5b79a55dc5a0339679abff1d8660312fbf9e363301d831f7862a54dda88542d603466118428f4c0b857 EBUILD grpc-1.59.2-r1.ebuild 819 BLAKE2B 340c89dea4b3d252e9262e60f341658c2463163b4514b66edbe928f2940bd94c9c0afdbb1e8ba4ac927ccefed062154af675a6b2f80d2231cf356e34f5283413 SHA512 fc3f9e0527b0b474686e04b6cd1ac4a3594ec15a6d6061b5f6e3d13f2f0777c69ea0208fc035cb7b417e4a724584ef14cd94c6ac0c168a78d2aa687aeb0aa66a EBUILD grpc-1.59.2.ebuild 817 BLAKE2B 571b34b340f1422d6846319868f32354fb49b504634226dda7d40cce93cf2fdd50daa70b3d008e0f2b7814d1dc93e4b8073c742b738e20704105b3d2d4ab633e SHA512 f21ab28f7796e3cd87e16c9a66dcbbb888f7b015a718f5b79a55dc5a0339679abff1d8660312fbf9e363301d831f7862a54dda88542d603466118428f4c0b857 -EBUILD grpc-1.66.0-r1.ebuild 839 BLAKE2B 88e84d6d78637cb38004b8f73c2d5d922c201965d77b466b379acf67f910c7ad13d7584c410b2f73e10ffdeea98b76900a738a06c59c1bfa191128c7fcb7e811 SHA512 b42639e73b7dea5835c7f589ce83ddc6d3a7a15d4486b60677ff78bc26c9ffa35c99a94b5e00b94f332feae3a96f1966086fb139a6f97ad08e34eebccacfb719 +EBUILD grpc-1.66.0-r2.ebuild 862 BLAKE2B 33d9b590e90df2e35114724946df0e76e030f8f4bffbb0534f643259f5d4552e4f3ae848f65439549aa0f583e0818cd274dc6418179fe95c3ef20cf331f665f1 SHA512 b48b737af36f5121008f72b2e0e03511dd413e1dd1dda6c427c03039f453ce7ee6ee5248c338e1a96922aafc98af887e176ef1205fbc55f72a513d8581057c9c MISC metadata.xml 336 BLAKE2B dac1a37a2ddd4d280831ba429e991ad11dfd89be92f8083c15bdc68d1dd33c29eceaf52854cb414988885df82f312909962d1b80e0b4c701cffe4820b56339da SHA512 b456c14dd285296678212be52e468ae957a3287c0d3bd12d41672b0b4a7e3eb4d6426362677005d222802db62cfc13e7e009d691b7ac361cf26a3bc0172aa3c9 diff --git a/dev-ruby/grpc/files/grpc-1.66.0-c99.patch b/dev-ruby/grpc/files/grpc-1.66.0-c99.patch new file mode 100644 index 000000000000..63997a4070d3 --- /dev/null +++ b/dev-ruby/grpc/files/grpc-1.66.0-c99.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/939544 +https://github.com/grpc/grpc/issues/37731 +https://github.com/grpc/grpc/pull/37741 + +From 18a89be44d54e8c8bd614f1cee626d1db598a45a Mon Sep 17 00:00:00 2001 +From: alto-ruby <altorubys@gmail.com> +Date: Mon, 16 Sep 2024 17:33:04 -0700 +Subject: [PATCH] fix incompatible pointer type of + grpc_compression_algorithm_name + +--- a/src/ruby/ext/grpc/rb_compression_options.c ++++ b/src/ruby/ext/grpc/rb_compression_options.c +@@ -296,7 +296,7 @@ VALUE grpc_rb_compression_options_level_value_to_name_internal( + * Fails if the enum value is invalid. */ + VALUE grpc_rb_compression_options_algorithm_value_to_name_internal( + grpc_compression_algorithm internal_value) { +- char* algorithm_name = NULL; ++ const char* algorithm_name = NULL; + + if (!grpc_compression_algorithm_name(internal_value, &algorithm_name)) { + rb_raise(rb_eArgError, "Failed to convert algorithm value to name"); + diff --git a/dev-ruby/grpc/grpc-1.66.0-r1.ebuild b/dev-ruby/grpc/grpc-1.66.0-r2.ebuild index 5e078f3ffd57..ab8620dc1039 100644 --- a/dev-ruby/grpc/grpc-1.66.0-r1.ebuild +++ b/dev-ruby/grpc/grpc-1.66.0-r2.ebuild @@ -23,7 +23,9 @@ ruby_add_rdepend " >=dev-ruby/google-protobuf-3.24.4:0 " -pkg_setup() { :; } +PATCHES=( + "${FILESDIR}"/${P}-c99.patch +) each_ruby_configure() { export GRPC_RUBY_BUILD_PROCS="$(makeopts_jobs)" |