From 894f3eb1e79744a070fa70abfd9972adf5bc545f Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 17 Sep 2017 17:59:53 +0000 Subject: [PATCH] Update to 3.4.1 Changes: https://github.com/google/protobuf/releases --- devel/protobuf/Makefile | 3 +-- devel/protobuf/distinfo | 6 +++--- .../files/patch-src-google-protobuf-stubs-port.h | 16 ---------------- 3 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 devel/protobuf/files/patch-src-google-protobuf-stubs-port.h diff --git a/devel/protobuf/Makefile b/devel/protobuf/Makefile index 6a344cc35d3f..64e8ddb6a145 100644 --- a/devel/protobuf/Makefile +++ b/devel/protobuf/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= protobuf -PORTVERSION= 3.4.0 -PORTREVISION= 1 +PORTVERSION= 3.4.1 DISTVERSIONPREFIX= v CATEGORIES= devel diff --git a/devel/protobuf/distinfo b/devel/protobuf/distinfo index 1606b6ea2a9a..a2cb81ac142b 100644 --- a/devel/protobuf/distinfo +++ b/devel/protobuf/distinfo @@ -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 diff --git a/devel/protobuf/files/patch-src-google-protobuf-stubs-port.h b/devel/protobuf/files/patch-src-google-protobuf-stubs-port.h deleted file mode 100644 index 39bdb99c0c26..000000000000 --- a/devel/protobuf/files/patch-src-google-protobuf-stubs-port.h +++ /dev/null @@ -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