Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2020 21:08:55 +0000 (UTC)
From:      Christoph Moench-Tegeder <cmt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r523940 - branches/2020Q1/www/iridium/files
Message-ID:  <202001232108.00NL8tK2040592@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cmt
Date: Thu Jan 23 21:08:55 2020
New Revision: 523940
URL: https://svnweb.freebsd.org/changeset/ports/523940

Log:
  MFH: r523939
  
  www/iridium: copy snappy fix from chromium
  
  just like chromium (from which it was forked), iridium embeds a copy
  of snappy (the compression library) and cannot be fully switched to
  the system-provided archivers/snappy in an easy way. consider this a
  band-aid patch
  
  Reported by:	pkubaj
  
  Approved by:	portmgr (blanket: web browser, build fix)

Added:
  branches/2020Q1/www/iridium/files/patch-third__party_snappy_src_snappy.h
     - copied unchanged from r523939, head/www/iridium/files/patch-third__party_snappy_src_snappy.h
Modified:
Directory Properties:
  branches/2020Q1/   (props changed)

Copied: branches/2020Q1/www/iridium/files/patch-third__party_snappy_src_snappy.h (from r523939, head/www/iridium/files/patch-third__party_snappy_src_snappy.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2020Q1/www/iridium/files/patch-third__party_snappy_src_snappy.h	Thu Jan 23 21:08:55 2020	(r523940, copy of r523939, head/www/iridium/files/patch-third__party_snappy_src_snappy.h)
@@ -0,0 +1,20 @@
+--- third_party/snappy/src/snappy.h.orig	2020-01-22 18:43:16 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".
+   //



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001232108.00NL8tK2040592>