mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
parent
aa36701d51
commit
894f3eb1e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=450009
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= protobuf
|
||||
PORTVERSION= 3.4.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 3.4.1
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= devel
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1502888659
|
||||
SHA256 (google-protobuf-v3.4.0_GH0.tar.gz) = cd55ee08e64a86cf12aaadd4672961813f592c194ed0c9ad94da0ec75acf219f
|
||||
SIZE (google-protobuf-v3.4.0_GH0.tar.gz) = 4489788
|
||||
TIMESTAMP = 1505660595
|
||||
SHA256 (google-protobuf-v3.4.1_GH0.tar.gz) = 8e0236242106e680b4f9f576cc44b8cd711e948b20a9fc07769b0a20ceab9cc4
|
||||
SIZE (google-protobuf-v3.4.1_GH0.tar.gz) = 4490100
|
||||
|
@ -1,16 +0,0 @@
|
||||
--- src/google/protobuf/stubs/port.h.orig 2017-08-15 23:39:12 UTC
|
||||
+++ src/google/protobuf/stubs/port.h
|
||||
@@ -256,8 +256,11 @@ static const uint64 kuint64max = GOOGLE_
|
||||
# define GOOGLE_PROTOBUF_USE_UNALIGNED 0
|
||||
#else
|
||||
// x86 and x86-64 can perform unaligned loads/stores directly.
|
||||
-# define GOOGLE_PROTOBUF_USE_UNALIGNED defined(_M_X64) || \
|
||||
- defined(__x86_64__) || defined(_M_IX86) || defined(__i386__)
|
||||
+# if defined(_M_X64) || defined(__x86_64__) || defined(_M_IX86) || defined(__i386__)
|
||||
+# define GOOGLE_PROTOBUF_USE_UNALIGNED 1
|
||||
+# else
|
||||
+# define GOOGLE_PROTOBUF_USE_UNALIGNED 0
|
||||
+# endif
|
||||
#endif
|
||||
|
||||
#if GOOGLE_PROTOBUF_USE_UNALIGNED
|
Loading…
Reference in New Issue
Block a user