diff --git a/modules/swig/4.3.0/patches/add_build.patch b/modules/swig/4.3.0/patches/add_build.patch index 45fce256b72..03b84ddf5d9 100644 --- a/modules/swig/4.3.0/patches/add_build.patch +++ b/modules/swig/4.3.0/patches/add_build.patch @@ -3,7 +3,7 @@ new file mode 100644 index 000000000..a2b99dc83 --- /dev/null +++ b/BUILD -@@ -0,0 +1,164 @@ +@@ -0,0 +1,163 @@ +# Copyright 2010-2024 Google LLC +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. @@ -152,7 +152,6 @@ index 000000000..a2b99dc83 + "Lib/typemaps/*", + ]), + licenses = ["notice"], # simple notice license for Lib/ -+ # path = "Lib", + visibility = ["//visibility:public"], +) + @@ -165,7 +164,18 @@ index 000000000..a2b99dc83 + "Lib/typemaps/*", + ]), + licenses = ["notice"], # simple notice license for Lib/ -+ # path = "Lib", ++ visibility = ["//visibility:public"], ++) ++ ++filegroup( ++ name = "lib_csharp", ++ srcs = glob([ ++ "Lib/*", ++ "Lib/csharp/*", ++ "Lib/std/*", ++ "Lib/typemaps/*", ++ ]), ++ licenses = ["notice"], # simple notice license for Lib/ + visibility = ["//visibility:public"], +) + diff --git a/modules/swig/4.3.0/source.json b/modules/swig/4.3.0/source.json index c17a922d11d..6fb1e405d9c 100644 --- a/modules/swig/4.3.0/source.json +++ b/modules/swig/4.3.0/source.json @@ -4,7 +4,7 @@ "url": "https://github.com/swig/swig/archive/refs/tags/v4.3.0.tar.gz", "patch_strip": 1, "patches": { - "add_build.patch": "sha256-19KC9HC2i29PM9Y4EdIxzl+4Yi/mdty+9htWuKG8stk=", + "add_build.patch": "sha256-p7vaE6s0zyPAmBcT+M+JRGW3EwRxC7U/hdXtVAS9OWM=", "module_dot_bazel.patch": "sha256-4wl3H5IFJ4Imal2Vq8JfXzxAK+/AI5PJDD9ONaCqVlk=", "add_parser_c.patch": "sha256-iUSXKCSRrHOdVcVyYFmJ1RlZ2tW5jE5AxCA/BClFtEI=", "add_parser_h.patch": "sha256-7vOz0yNHdlijgMnxu3OQurFVWMYvHdjtlqQZFAImKKE=",