summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2007-09-02 21:13:43 +0000
committerjdolecek <jdolecek@pkgsrc.org>2007-09-02 21:13:43 +0000
commit9e483171bf5b507098441b74aabee1ef8b5d4650 (patch)
tree99400073f653a1b451e1907bf9ff8aeee0018017
parent465b8d375cc6b562ceb9daf916bdecea35f1d0c9 (diff)
downloadpkgsrc-9e483171bf5b507098441b74aabee1ef8b5d4650.tar.gz
fix build of php-bz2 on Mac OS X
-rw-r--r--lang/php5/distinfo3
-rw-r--r--lang/php5/patches/patch-ao13
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/php5/distinfo b/lang/php5/distinfo
index a4401e96e50..5765c5afc4e 100644
--- a/lang/php5/distinfo
+++ b/lang/php5/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.46 2007/09/02 21:12:41 jdolecek Exp $
+$NetBSD: distinfo,v 1.47 2007/09/02 21:13:43 jdolecek Exp $
SHA1 (php-5.2.4/php-5.2.4.tar.bz2) = 0e8f42d1363b17fbaeb3e7732ab1a501a9a12c8e
RMD160 (php-5.2.4/php-5.2.4.tar.bz2) = 22728d27ec3ba3287943ea878fefbba0b4ffdc00
@@ -11,3 +11,4 @@ SHA1 (patch-aj) = 54812097499c81e5cb0196ab949cc86a4f24a9cc
SHA1 (patch-ak) = 0a6445b5cf390cb63de8474d75c6e8a4c058afab
SHA1 (patch-al) = 0ee37782cc0d3bf5ede1a583de0589c2c1316b50
SHA1 (patch-an) = f07a08f8ee1a18f6371af9bd6c482d936e9220e4
+SHA1 (patch-ao) = 4f22a112e5626b2f9fa029363c9e451e77136e97
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
+