freebsd-ports/www/chromium/files/patch-ipc_ipc__message__utils.h
Carlos J. Puga Medina 4181ea8c1c www/chromium: update to 61.0.3163.79
- Add arm64 support [1]
- Fix segfault on i386 [2]
- Switch to USES=compiler:c++14-lang for devel/chromium-gn because chromium
  needs __builtin_add_overflow and friends to build.

Changelog: https://chromium.googlesource.com/chromium/src/+log/60.0.3112.113..61.0.3163.79?pretty=fuller&n=10000

PR:		220291 [1], 221266 [2]
Submitted by:	Andrew [1]
Reported by:	Patrick <doctorwhoguy@gmail.com> [2]
MFH:		2017Q3
2017-09-17 11:10:43 +00:00

11 lines
564 B
C++

--- ipc/ipc_message_utils.h.orig 2017-09-05 21:05:21.000000000 +0200
+++ ipc/ipc_message_utils.h 2017-09-06 20:44:35.248663000 +0200
@@ -212,7 +212,7 @@
// Since we want to support Android 32<>64 bit IPC, as long as we don't have
// these traits for 32 bit ARM then that'll catch any errors.
#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_FUCHSIA) || \
- (defined(OS_ANDROID) && defined(ARCH_CPU_64_BITS))
+ defined(OS_BSD) || (defined(OS_ANDROID) && defined(ARCH_CPU_64_BITS))
template <>
struct ParamTraits<long> {
typedef long param_type;