summaryrefslogtreecommitdiff
path: root/www/php4/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'www/php4/patches/patch-aj')
-rw-r--r--www/php4/patches/patch-aj32
1 files changed, 5 insertions, 27 deletions
diff --git a/www/php4/patches/patch-aj b/www/php4/patches/patch-aj
index b1147480f4b..278636ec32e 100644
--- a/www/php4/patches/patch-aj
+++ b/www/php4/patches/patch-aj
@@ -1,7 +1,5 @@
-$NetBSD: patch-aj,v 1.3 2003/01/14 21:39:38 christos Exp $
-
---- ext/gettext/gettext.c.orig Sat Dec 15 09:22:59 2001
-+++ ext/gettext/gettext.c Tue Jan 14 16:37:25 2003
+--- ext/gettext/gettext.c.orig 2003-08-30 21:56:34.000000000 +0200
++++ ext/gettext/gettext.c 2003-08-30 21:57:13.000000000 +0200
@@ -58,6 +58,11 @@
};
/* }}} */
@@ -14,23 +12,14 @@ $NetBSD: patch-aj,v 1.3 2003/01/14 21:39:38 christos Exp $
zend_module_entry php_gettext_module_entry = {
STANDARD_MODULE_HEADER,
"gettext",
-@@ -103,7 +108,7 @@
- }
+@@ -104,6 +109,7 @@
retval = textdomain(domain_name);
--
+
+ CHECK(retval);
RETURN_STRING(retval, 1);
}
/* }}} */
-@@ -122,6 +127,7 @@
-
- msgstr = gettext(Z_STRVAL_PP(msgid));
-
-+ CHECK(msgstr);
- RETURN_STRING(msgstr, 1);
- }
- /* }}} */
@@ -141,6 +147,7 @@
msgstr = dgettext(Z_STRVAL_PP(domain_name), Z_STRVAL_PP(msgid));
@@ -47,7 +36,7 @@ $NetBSD: patch-aj,v 1.3 2003/01/14 21:39:38 christos Exp $
RETURN_STRING(msgstr, 1);
}
/* }}} */
-@@ -186,6 +194,7 @@
+@@ -191,6 +199,7 @@
retval = bindtextdomain(Z_STRVAL_PP(domain_name), dir_name);
@@ -55,14 +44,3 @@ $NetBSD: patch-aj,v 1.3 2003/01/14 21:39:38 christos Exp $
RETURN_STRING(retval, 1);
}
/* }}} */
-@@ -291,6 +300,10 @@
-
- retval = bind_textdomain_codeset(Z_STRVAL_PP(domain), Z_STRVAL_PP(codeset));
-
-+ CHECK(retval);
-+ fprintf(stderr, "%s, %s: (%s, %s) -> %s\n",
-+ __FILE__, __LINE__,
-+ Z_STRVAL_PP(domain), Z_STRVAL_PP(codeset), retval);
- RETURN_STRING(retval, 1);
- }
- }