summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-06-09 08:12:25 +0200
committerRemi Collet <remi@remirepo.net>2021-06-09 08:12:25 +0200
commitbbc208b8406d74e7be8c14825098505dabe51ce5 (patch)
treecf52ff3442f536461c2831f4bb746b98e9a0e727
parentd5c3ef5ba89525bcacbd639930674db08b004508 (diff)
-rw-r--r--protobuf-php81.patch9
1 files changed, 6 insertions, 3 deletions
diff --git a/protobuf-php81.patch b/protobuf-php81.patch
index 9e12fb3..2eef0dc 100644
--- a/protobuf-php81.patch
+++ b/protobuf-php81.patch
@@ -1,4 +1,4 @@
-From bba29c038869a2ce890d43d3d33d002fff572e82 Mon Sep 17 00:00:00 2001
+From 5e89bfbb99ea2e20a0875c6feb3a61977d711511 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Tue, 8 Jun 2021 17:36:45 +0200
Subject: [PATCH] fix for PHP 8.1
@@ -9,7 +9,7 @@ Subject: [PATCH] fix for PHP 8.1
2 files changed, 10 insertions(+)
diff --git a/php/ext/google/protobuf/array.c b/php/ext/google/protobuf/array.c
-index 765e90297c..7060f7ed91 100644
+index 765e90297..2736f1a22 100644
--- a/php/ext/google/protobuf/array.c
+++ b/php/ext/google/protobuf/array.c
@@ -640,8 +640,13 @@ void Array_ModuleInit() {
@@ -27,7 +27,7 @@ index 765e90297c..7060f7ed91 100644
RepeatedField_class_entry->create_object = RepeatedField_create;
diff --git a/php/ext/google/protobuf/map.c b/php/ext/google/protobuf/map.c
-index f5890d99e4..158d0bfd51 100644
+index f5890d99e..74f25e5bc 100644
--- a/php/ext/google/protobuf/map.c
+++ b/php/ext/google/protobuf/map.c
@@ -636,8 +636,13 @@ void Map_ModuleInit() {
@@ -44,3 +44,6 @@ index f5890d99e4..158d0bfd51 100644
MapField_class_entry->ce_flags |= ZEND_ACC_FINAL;
MapField_class_entry->create_object = MapField_create;
+--
+2.31.1
+