summaryrefslogtreecommitdiffstats
path: root/pecl-cairo-php_streams.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-08-09 14:44:54 +0200
committerRemi Collet <fedora@famillecollet.com>2012-08-09 14:44:54 +0200
commit21ddbe425b2656424eac0578cf75531422552401 (patch)
tree6db341ce02dcf653d3f456676adf6453c04dbae5 /pecl-cairo-php_streams.patch
parent7aeb07ff24612b63c79107967a3054f8caf31bb9 (diff)
php-pecl-cairo: add patch for https://bugs.php.net/61882, fix test suite
Diffstat (limited to 'pecl-cairo-php_streams.patch')
-rw-r--r--pecl-cairo-php_streams.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pecl-cairo-php_streams.patch b/pecl-cairo-php_streams.patch
new file mode 100644
index 0000000..105d03c
--- /dev/null
+++ b/pecl-cairo-php_streams.patch
@@ -0,0 +1,11 @@
+--- Cairo-0.3.2.old/cairo_ft_font.c 2012-04-21 18:03:29.000000000 +0000
++++ Cairo-0.3.2/cairo_ft_font.c 2012-04-30 22:11:59.000000000 +0000
+@@ -97,7 +97,7 @@
+ #ifdef ZTS
+ closure->TSRMLS_C = TSRMLS_C;
+ #endif
+-
++ php_stream_stat(stream,&ssbuf);
+ ft_stream = ecalloc(1, sizeof(*ft_stream));
+ ft_stream->descriptor.pointer = (void *)closure;
+ ft_stream->pos = php_stream_tell(stream);