aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libmrss/Makefile2
-rw-r--r--textproc/libmrss/files/patch-php.c19
2 files changed, 20 insertions, 1 deletions
diff --git a/textproc/libmrss/Makefile b/textproc/libmrss/Makefile
index 12073ea858e0..a78e43b3a438 100644
--- a/textproc/libmrss/Makefile
+++ b/textproc/libmrss/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libmrss
PORTVERSION= 0.18.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://www5.autistici.org/bakunin/libmrss/ GENTOO/distfiles
diff --git a/textproc/libmrss/files/patch-php.c b/textproc/libmrss/files/patch-php.c
new file mode 100644
index 000000000000..49b1a181c12e
--- /dev/null
+++ b/textproc/libmrss/files/patch-php.c
@@ -0,0 +1,19 @@
+--- phpmrss/php.c.orig 2007-12-20 14:28:23.072883854 +0800
++++ phpmrss/php.c 2007-12-20 14:28:48.234880979 +0800
+@@ -450,16 +450,6 @@
+ MAKE_STD_ZVAL(item);
+ if (array_init(item) == FAILURE) {
+ FREE_ZVAL(item);
+-
+- add_index_zval(category, i++, category_zval);
+- c=c->next;
+- }
+-
+- add_assoc_zval(return_value,"category", category);
+-
+- MAKE_STD_ZVAL(item);
+- if (array_init(item) == FAILURE) {
+- FREE_ZVAL(item);
+ return;
+ }
+