From 6e422588080bb5163434d8961b2eecea7eced633 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Sat, 1 Nov 2025 12:12:36 +0100 Subject: devel/electron35: Remove expired port 2025-10-31 devel/electron35: EOLed upstream, switch to newer version --- .../patch-tools_protoc__wrapper_protoc__wrapper.py | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 devel/electron35/files/patch-tools_protoc__wrapper_protoc__wrapper.py (limited to 'devel/electron35/files/patch-tools_protoc__wrapper_protoc__wrapper.py') diff --git a/devel/electron35/files/patch-tools_protoc__wrapper_protoc__wrapper.py b/devel/electron35/files/patch-tools_protoc__wrapper_protoc__wrapper.py deleted file mode 100644 index deea745ff3b2..000000000000 --- a/devel/electron35/files/patch-tools_protoc__wrapper_protoc__wrapper.py +++ /dev/null @@ -1,24 +0,0 @@ ---- tools/protoc_wrapper/protoc_wrapper.py.orig 2024-06-18 21:44:01 UTC -+++ tools/protoc_wrapper/protoc_wrapper.py -@@ -183,15 +183,19 @@ def main(argv): - if not options.exclude_imports: - protoc_cmd += ["--include_imports"] - -+ nenv = os.environ.copy() -+ nenv["PATH"] = "${WRKOBJDIR}/bin:" + nenv["PATH"] -+ nenv["LD_LIBRARY_PATH"] = "${WRKSRC}/out/Release" -+ - dependency_file_data = None - if options.descriptor_set_out and options.descriptor_set_dependency_file: - protoc_cmd += ['--dependency_out', options.descriptor_set_dependency_file] -- ret = subprocess.call(protoc_cmd) -+ ret = subprocess.call(protoc_cmd, env=nenv) - - with open(options.descriptor_set_dependency_file, 'rb') as f: - dependency_file_data = f.read().decode('utf-8') - -- ret = subprocess.call(protoc_cmd) -+ ret = subprocess.call(protoc_cmd, env=nenv) - if ret != 0: - if ret <= -100: - # Windows error codes such as 0xC0000005 and 0xC0000409 are much easier to -- cgit v1.2.3