svn commit: r545851 - head/devel/pecl-protobuf/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Aug 23 19:35:59 UTC 2020


Author: sunpoet
Date: Sun Aug 23 19:35:52 2020
New Revision: 545851
URL: https://svnweb.freebsd.org/changeset/ports/545851

Log:
  Fix build with PHP 7.4

Added:
  head/devel/pecl-protobuf/files/
  head/devel/pecl-protobuf/files/patch-message.c   (contents, props changed)

Added: head/devel/pecl-protobuf/files/patch-message.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pecl-protobuf/files/patch-message.c	Sun Aug 23 19:35:52 2020	(r545851)
@@ -0,0 +1,19 @@
+--- message.c.orig	2020-08-15 00:45:27 UTC
++++ message.c
+@@ -265,14 +265,14 @@ static PROTO_RETURN_VAL Message_write_property(
+   }
+ 
+   upb_msg_set(intern->msg, f, msgval, arena);
+-#if PHP_VERSION_ID < 704000
++#if PHP_VERSION_ID < 70400
+   return;
+ #else
+   return val;
+ #endif
+ 
+ error:
+-#if PHP_VERSION_ID < 704000
++#if PHP_VERSION_ID < 70400
+   return;
+ #else
+   return &EG(error_zval);


More information about the svn-ports-head mailing list