diff options
author | Alex Dupre <ale@FreeBSD.org> | 2012-06-12 13:29:09 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2012-06-12 13:29:09 +0000 |
commit | b907cdf1d85d0e91faed85200b09f7c4c0babd80 (patch) | |
tree | 99831642d1ff76af7c264aa3efdaff34aeae8717 /print | |
parent | 9ddfaf10968e5b9c1cc74c60cd4957d5c6003c55 (diff) | |
download | ports-b907cdf1d85d0e91faed85200b09f7c4c0babd80.tar.gz ports-b907cdf1d85d0e91faed85200b09f7c4c0babd80.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/pecl-pdflib/Makefile | 3 | ||||
-rw-r--r-- | print/pecl-pdflib/distinfo | 4 | ||||
-rw-r--r-- | print/pecl-pdflib/files/patch-pdf.c | 17 | ||||
-rw-r--r-- | print/pecl-pdflib/files/patch-pdf7.c | 28 |
4 files changed, 3 insertions, 49 deletions
diff --git a/print/pecl-pdflib/Makefile b/print/pecl-pdflib/Makefile index bd565447b85b..84237cbe3452 100644 --- a/print/pecl-pdflib/Makefile +++ b/print/pecl-pdflib/Makefile @@ -6,8 +6,7 @@ # PORTNAME= pdflib -PORTVERSION= 2.1.8 -PORTREVISION= 1 +PORTVERSION= 2.1.9 CATEGORIES= print pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- diff --git a/print/pecl-pdflib/distinfo b/print/pecl-pdflib/distinfo index 6bd7be6d43ec..f6c9e9e965fa 100644 --- a/print/pecl-pdflib/distinfo +++ b/print/pecl-pdflib/distinfo @@ -1,2 +1,2 @@ -SHA256 (PECL/pdflib-2.1.8.tgz) = 410f8b1a9691705e4e70a03eb6468e735232f3871c3e63a4cf164250bd25b5bc -SIZE (PECL/pdflib-2.1.8.tgz) = 55797 +SHA256 (PECL/pdflib-2.1.9.tgz) = a842e04cfa3ca051c2f053210dea9c40ecaa12cb22b5de39b3bcce5bf347e778 +SIZE (PECL/pdflib-2.1.9.tgz) = 55899 diff --git a/print/pecl-pdflib/files/patch-pdf.c b/print/pecl-pdflib/files/patch-pdf.c deleted file mode 100644 index 07deabf53bd5..000000000000 --- a/print/pecl-pdflib/files/patch-pdf.c +++ /dev/null @@ -1,17 +0,0 @@ ---- pdf.c 2010/04/28 12:17:58 298698 -+++ pdf.c 2012/01/28 03:05:18 322900 -@@ -766,10 +766,14 @@ - - ALLOC_HASHTABLE(intern->std.properties); - zend_hash_init(intern->std.properties, 0, NULL, ZVAL_PTR_DTOR, 0); -+#if PHP_VERSION_ID < 50399 - zend_hash_copy(intern->std.properties, - &class_type->default_properties, - (copy_ctor_func_t) zval_add_ref, - (void *) &tmp, sizeof(zval *)); -+#else -+ object_properties_init( (zend_object*)intern, class_type ); -+#endif - - retval.handle = zend_objects_store_put(intern, NULL, - (zend_objects_free_object_storage_t)pdflib_object_dtor, diff --git a/print/pecl-pdflib/files/patch-pdf7.c b/print/pecl-pdflib/files/patch-pdf7.c deleted file mode 100644 index a3e768b0dfdb..000000000000 --- a/print/pecl-pdflib/files/patch-pdf7.c +++ /dev/null @@ -1,28 +0,0 @@ ---- pdf7.c 2010/04/28 12:17:58 298698 -+++ pdf7.c 2012/02/25 12:27:38 323503 -@@ -322,8 +322,9 @@ - { - zend_object_value retval; - pdflib_object *intern; -+#if PHP_VERSION_ID < 50399 - zval *tmp; -- -+#endif - - intern = emalloc(sizeof(pdflib_object)); - memset(intern, 0, sizeof(pdflib_object)); -@@ -332,10 +333,14 @@ - - ALLOC_HASHTABLE(intern->std.properties); - zend_hash_init(intern->std.properties, 0, NULL, ZVAL_PTR_DTOR, 0); -+#if PHP_VERSION_ID < 50399 - zend_hash_copy(intern->std.properties, - &class_type->default_properties, - (copy_ctor_func_t) zval_add_ref, - (void *) &tmp, sizeof(zval *)); -+#else -+ object_properties_init( (zend_object*)intern, class_type ); -+#endif - - retval.handle = zend_objects_store_put(intern, NULL, - (zend_objects_free_object_storage_t)pdflib_object_dtor, |