summaryrefslogtreecommitdiff
path: root/devel/rubygem-google-protobuf/files/patch-ext-google-protobuf_c-upb.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/rubygem-google-protobuf/files/patch-ext-google-protobuf_c-upb.c')
-rw-r--r--devel/rubygem-google-protobuf/files/patch-ext-google-protobuf_c-upb.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/rubygem-google-protobuf/files/patch-ext-google-protobuf_c-upb.c b/devel/rubygem-google-protobuf/files/patch-ext-google-protobuf_c-upb.c
new file mode 100644
index 000000000000..4c2f00af16e5
--- /dev/null
+++ b/devel/rubygem-google-protobuf/files/patch-ext-google-protobuf_c-upb.c
@@ -0,0 +1,11 @@
+--- ext/google/protobuf_c/upb.c.orig 2019-03-28 08:57:36 UTC
++++ ext/google/protobuf_c/upb.c
+@@ -14311,7 +14311,7 @@ static bool end_timestamp_zone(upb_json_
+ }
+
+ /* Normalize tm */
+- seconds = mktime(&p->tm) - timezone;
++ seconds = mktime(&p->tm);
+ seconds += 3600 * hours;
+
+ /* Check timestamp boundary */