summaryrefslogtreecommitdiff
path: root/lang/php5/patches
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2007-09-02 21:13:43 +0000
committerjdolecek <jdolecek>2007-09-02 21:13:43 +0000
commit8d899bd6325222d21a101c119fc4a9194bfc629d (patch)
tree99400073f653a1b451e1907bf9ff8aeee0018017 /lang/php5/patches
parent8d6ef02ecc06149e6618898fa0dd4906e76801ca (diff)
downloadpkgsrc-8d899bd6325222d21a101c119fc4a9194bfc629d.tar.gz
fix build of php-bz2 on Mac OS X
Diffstat (limited to 'lang/php5/patches')
-rw-r--r--lang/php5/patches/patch-ao13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/php5/patches/patch-ao b/lang/php5/patches/patch-ao
new file mode 100644
index 00000000000..1e50170a606
--- /dev/null
+++ b/lang/php5/patches/patch-ao
@@ -0,0 +1,13 @@
+$NetBSD: patch-ao,v 1.5 2007/09/02 21:13:43 jdolecek Exp $
+
+--- ext/bz2/php_bz2.h.orig 2007-09-02 20:11:08.000000000 +0200
++++ ext/bz2/php_bz2.h
+@@ -51,7 +51,7 @@ PHP_BZ2_API php_stream *_php_stream_bz2o
+ #define php_stream_bz2open_from_BZFILE(bz, mode, innerstream) _php_stream_bz2open_from_BZFILE((bz), (mode), (innerstream) STREAMS_CC TSRMLS_CC)
+ #define php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper), (path), (mode), (options), (opened_path), NULL STREAMS_CC TSRMLS_CC)
+
+-php_stream_filter_factory php_bz2_filter_factory;
++extern php_stream_filter_factory php_bz2_filter_factory;
+ extern php_stream_ops php_stream_bz2io_ops;
+ #define PHP_STREAM_IS_BZIP2 &php_stream_bz2io_ops
+