From 26b4c8f71f91d22e081b27814782686edde0c90a Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 1 Jan 2021 10:11:34 +0000 Subject: Revert r559792 to unbreak INDEX and bulk -a It seems a lot of reverse dependencies were missed With hat: portmgr --- .../files/patch-third__party_snappy_src_snappy.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 devel/electron4/files/patch-third__party_snappy_src_snappy.h (limited to 'devel/electron4/files/patch-third__party_snappy_src_snappy.h') diff --git a/devel/electron4/files/patch-third__party_snappy_src_snappy.h b/devel/electron4/files/patch-third__party_snappy_src_snappy.h new file mode 100644 index 000000000000..df563c71e1cb --- /dev/null +++ b/devel/electron4/files/patch-third__party_snappy_src_snappy.h @@ -0,0 +1,20 @@ +--- third_party/snappy/src/snappy.h.orig 2019-03-19 09:09:00 UTC ++++ third_party/snappy/src/snappy.h +@@ -73,7 +73,7 @@ namespace snappy { + // Original contents of *output are lost. + // + // REQUIRES: "input[]" is not an alias of "*output". +- size_t Compress(const char* input, size_t input_length, string* output); ++ size_t Compress(const char* input, size_t input_length, std::string* output); + + // Decompresses "compressed[0,compressed_length-1]" to "*uncompressed". + // Original contents of "*uncompressed" are lost. +@@ -82,7 +82,7 @@ namespace snappy { + // + // returns false if the message is corrupted and could not be decompressed + bool Uncompress(const char* compressed, size_t compressed_length, +- string* uncompressed); ++ std::string* uncompressed); + + // Decompresses "compressed" to "*uncompressed". + // -- cgit v1.2.3