Skip to content

Commit

Permalink
fix webrtc patch paths
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnanastasio committed Mar 10, 2019
1 parent 010e7ab commit 4708fc0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 37 deletions.
10 changes: 5 additions & 5 deletions pdfium/0001-pdfium-allocator-Use-64k-page-sizes-on-ppc64.patch
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ diff --git a/third_party/base/allocator/partition_allocator/partition_alloc_cons
index cd9108cec..d01edac1d 100644
--- a/third_party/base/allocator/partition_allocator/partition_alloc_constants.h
+++ b/third_party/base/allocator/partition_allocator/partition_alloc_constants.h
@@ -33,6 +33,8 @@ static const size_t kBucketShift = (kAllocationGranularity == 8) ? 3 : 2;
// up against the end of a system page.
@@ -36,6 +36,8 @@

#if defined(_MIPS_ARCH_LOONGSON)
static const size_t kPartitionPageShift = 16; // 64KB
static const size_t kPartitionPageShift = 16; // 64 KiB
+#elif defined(ARCH_CPU_PPC64)
+static const size_t kPartitionPageShift = 18; // 256KB
+static const size_t kPartitionPageShift = 18; // 256 KiB
#else
static const size_t kPartitionPageShift = 14; // 16KB
static const size_t kPartitionPageShift = 14; // 16 KiB
#endif
--
2.17.1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- a/src/buildtools/third_party/libc++/trunk/include/thread
+++ b/src/buildtools/third_party/libc++/trunk/include/thread
--- a/buildtools/third_party/libc++/trunk/include/thread
+++ b/buildtools/third_party/libc++/trunk/include/thread
@@ -435,7 +435,7 @@
using namespace chrono;
if (__d > duration<_Rep, _Period>::zero())
Expand Down
4 changes: 2 additions & 2 deletions webrtc/Modules-desktop_capture-differ_block.cc-PPC.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- a/modules/desktop_capture/differ_block.cc
+++ b/modules/desktop_capture/differ_block.cc
--- a/third_party/webrtc/modules/desktop_capture/differ_block.cc
+++ b/third_party/webrtc/modules/desktop_capture/differ_block.cc
@@ -30,11 +30,7 @@
static bool (*diff_proc)(const uint8_t*, const uint8_t*) = nullptr;

Expand Down
4 changes: 2 additions & 2 deletions webrtc/Rtc_base-system-arch.h-PPC.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- a/rtc_base/system/arch.h
+++ b/rtc_base/system/arch.h
--- a/third_party/webrtc/rtc_base/system/arch.h
+++ b/third_party/webrtc/rtc_base/system/arch.h
@@ -47,6 +47,18 @@
#elif defined(__pnacl__)
#define WEBRTC_ARCH_32_BITS
Expand Down

0 comments on commit 4708fc0

Please sign in to comment.