From e83174c1d8d3d017a8290193b936ab8ea157b972 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 27 Jun 2018 15:47:31 +0200 Subject: add upstream patch for PHP 7.3 --- varnish-upstream.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 varnish-upstream.patch (limited to 'varnish-upstream.patch') diff --git a/varnish-upstream.patch b/varnish-upstream.patch new file mode 100644 index 0000000..a1fd02a --- /dev/null +++ b/varnish-upstream.patch @@ -0,0 +1,28 @@ +--- pecl/varnish/trunk/exception.c 2018/06/27 11:47:15 345221 ++++ pecl/varnish/trunk/exception.c 2018/06/27 13:34:24 345222 +@@ -86,6 +86,7 @@ + zend_throw_exception_ex( + VarnishException_ce, + PHP_VARNISH_UNIMPL_EXCEPTION TSRMLS_CC, ++ "%s", + (NULL != msg) ? msg : "The functionality you're trying to use is not available on windows" + ); + } +--- pecl/varnish/trunk/varnish_lib.c 2018/06/27 11:47:15 345221 ++++ pecl/varnish/trunk/varnish_lib.c 2018/06/27 13:34:24 345222 +@@ -373,6 +373,7 @@ + zend_throw_exception_ex( + VarnishException_ce, + PHP_VARNISH_SHM_EXCEPTION TSRMLS_CC, ++ "%s", + #if HAVE_VARNISHAPILIB >= 40 + VSM_Error(vsd) + #else +@@ -394,6 +395,7 @@ + zend_throw_exception_ex( + VarnishException_ce, + PHP_VARNISH_SHM_EXCEPTION TSRMLS_CC, ++ "%s", + #if HAVE_VARNISHAPILIB >= 40 + VSM_Error(vsd) + #else -- cgit