summaryrefslogtreecommitdiffstats
path: root/varnish-upstream.patch
diff options
context:
space:
mode:
Diffstat (limited to 'varnish-upstream.patch')
-rw-r--r--varnish-upstream.patch28
1 files changed, 28 insertions, 0 deletions
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