File php5-warnings.patch of Package php5

--- ext/xmlrpc/xmlrpc-epi-php.c.orig
+++ ext/xmlrpc/xmlrpc-epi-php.c
@@ -170,7 +170,7 @@ typedef struct _xmlrpc_callback_data {
 
 #define ENCODING_KEY     "encoding"
 #define ENCODING_KEY_LEN (sizeof(ENCODING_KEY) - 1)
-#define ENCODING_DEFAULT "iso-8859-1"
+static const char *ENCODING_DEFAULT = "iso-8859-1";
 
 /* value types */
 #define OBJECT_TYPE_ATTR  "xmlrpc_type"
--- Zend/zend_canary.c.orig
+++ Zend/zend_canary.c
@@ -21,6 +21,9 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
+#include <time.h>
+#include <fcntl.h>
 
 
 #if SUHOSIN_PATCH
--- TSRM/tsrm_virtual_cwd.c.orig
+++ TSRM/tsrm_virtual_cwd.c
@@ -643,7 +643,7 @@ CWD_API int virtual_file_ex(cwd_state *s
 	char orig_path[MAXPATHLEN];
 	realpath_cache_bucket *bucket;
 	time_t t = 0;
-	int ret;
+	int ret = 0;
 	int use_cache;
 	int use_relative_path = 0;
 	TSRMLS_FETCH();