svn commit: r555412 - head/graphics/s2/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Nov 15 18:13:43 UTC 2020
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
More information about the svn-ports-all
mailing list