github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/third_party/protobuf/protobuf.patch (about)

     1  diff --git a/BUILD b/BUILD
     2  index 2fb26050..c2744d5b 100644
     3  --- a/BUILD
     4  +++ b/BUILD
     5  @@ -19,7 +19,7 @@ config_setting(
     6   # ZLIB configuration
     7   ################################################################################
     8   
     9  -ZLIB_DEPS = ["@zlib//:zlib"]
    10  +ZLIB_DEPS = ["@zlib_archive//:zlib"]
    11   
    12   ################################################################################
    13   # Protobuf Runtime Library
    14  @@ -218,7 +218,7 @@ cc_library(
    15   # TODO(keveman): Remove this target once the support gets added to Bazel.
    16   cc_library(
    17       name = "protobuf_headers",
    18  -    hdrs = glob(["src/**/*.h"]),
    19  +    hdrs = glob(["src/**/*.h", "src/**/*.inc"]),
    20       includes = ["src/"],
    21       visibility = ["//visibility:public"],
    22   )