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

--- php_intl.h.orig	2010-03-15 23:03:31.000000000 +0100
+++ php_intl.h
@@ -65,6 +65,12 @@ PHP_MINFO_FUNCTION(intl);
 
 #define PHP_INTL_VERSION "1.0.3"
 
+#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 */
 
 /*
