Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2020 18:13:37 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555412 - head/graphics/s2/files
Message-ID:  <202011151813.0AFIDbw0035492@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Nov 15 18:13:37 2020
New Revision: 555412
URL: https://svnweb.freebsd.org/changeset/ports/555412

Log:
  Fix build on aarch64
  
  PR:		251057
  Submitted by:	mikael

Added:
  head/graphics/s2/files/patch-src-s2-third_party-absl-base-internal-unaligned_access.h   (contents, props changed)

Added: head/graphics/s2/files/patch-src-s2-third_party-absl-base-internal-unaligned_access.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/s2/files/patch-src-s2-third_party-absl-base-internal-unaligned_access.h	Sun Nov 15 18:13:37 2020	(r555412)
@@ -0,0 +1,22 @@
+--- src/s2/third_party/absl/base/internal/unaligned_access.h.orig	2020-11-11 19:42:32 UTC
++++ src/s2/third_party/absl/base/internal/unaligned_access.h
+@@ -286,8 +286,8 @@ inline uint32_t UnalignedLoad32(const void *p) {
+   return t;
+ }
+ 
+-inline uint64 UnalignedLoad64(const void *p) {
+-  uint64 t;
++inline uint64_t UnalignedLoad64(const void *p) {
++  uint64_t t;
+   memcpy(&t, p, sizeof t);
+   return t;
+ }
+@@ -296,7 +296,7 @@ inline void UnalignedStore16(void *p, uint16_t v) { me
+ 
+ inline void UnalignedStore32(void *p, uint32_t v) { memcpy(p, &v, sizeof v); }
+ 
+-inline void UnalignedStore64(void *p, uint64 v) { memcpy(p, &v, sizeof v); }
++inline void UnalignedStore64(void *p, uint64_t v) { memcpy(p, &v, sizeof v); }
+ 
+ }  // namespace base_internal
+ }  // namespace absl



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