$NetBSD: patch-aa,v 1.1.1.1 2010/03/21 16:57:13 jdolecek Exp $

--- php_intl.h.orig	1970-01-01 09:14:21.000000000 +0000
+++ php_intl.h
@@ -65,6 +65,13 @@ PHP_MINFO_FUNCTION(intl);
 
 #define PHP_INTL_VERSION "1.1.1"
 
+#if (PHP_VERSION_ID >= 50300)
+#  define PHP_INTL_ZEND_ARG_STATIC
+#else
+#  define PHP_INTL_ZEND_ARG_STATIC static
+#  define Z_DELREF_P(object)	(object)->refcount--
+#endif
+
 #endif  /* PHP_INTL_H */
 
 /*
