Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2020 19:35:52 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545851 - head/devel/pecl-protobuf/files
Message-ID:  <202008231935.07NJZqMW070835@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008231935.07NJZqMW070835>