File php-5.3.0-fix-rpmlint-errors.patch of Package php5.512

Index: ext/intl/locale/locale_methods.c
===================================================================
--- ext/intl/locale/locale_methods.c.orig	2009-12-23 22:41:05.000000000 +0100
+++ ext/intl/locale/locale_methods.c	2010-08-03 06:31:19.713445000 +0200
@@ -264,7 +264,7 @@ static char* get_icu_value_internal( cha
 	UErrorCode  	status          = U_ZERO_ERROR;
 
 
-	if( tag_name != LOC_CANONICALIZE_TAG ){
+	if( strcmp(tag_name,LOC_CANONICALIZE_TAG) != 0 ){
 		/* Handle  grandfathered languages */
 		grOffset =  findOffset( LOC_GRANDFATHERED , loc_name );
 		if( grOffset >= 0 ){
@@ -501,7 +501,7 @@ static void get_icu_disp_value_src_php(
 	loc_name = INTL_G(default_locale);
 	}
 
-	if( tag_name != DISP_NAME ){
+	if( strcmp(tag_name,DISP_NAME) != 0 ){
 		/* Handle grandfathered languages */
 		grOffset = findOffset( LOC_GRANDFATHERED , loc_name );
 		if( grOffset >= 0 ){
@@ -1043,7 +1043,7 @@ static int add_array_entry(char* loc_nam
 				add_assoc_string( hash_arr, cur_key_name , token , TRUE );
 			}
 
-			if( key_name == LOC_PRIVATE_TAG ){
+			if( strcmp(key_name,LOC_PRIVATE_TAG) == 0 ){
 			}
 		}
 	} else {