[evolution-patches] build, iconv on Solaris does not recognize "ISO_8859-1"



Hi, Harish 

        When configuring eovlution-data-server on solaris, an error
occurs that
iconv does not recognize ISO_8859-1, so I use ISO-8859-1 instead for
iconv_open ("UTF-8", "ISO-8859-1"). The symbol ISO-8859-1 is also
recognizable in linux.  

        Please review the patch attached.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/ChangeLog,v
retrieving revision 1.320
diff -u -r1.320 ChangeLog
--- ChangeLog	17 Nov 2005 11:41:53 -0000	1.320
+++ ChangeLog	18 Nov 2005 02:27:14 -0000
@@ -1,3 +1,8 @@
+2005-11-18  Irene Huang <Irene Huang sun com>
+
+	* configure.in: Change iconv_open ("UTF-8", "ISO_8859-1") 
+	to iconv_open ("UTF-8", "ISO-8859-1").
+
 2005-11-17  Ross Burton  <ross burtonini com>
 
 	* md5-utils.c:
Index: configure.in
===================================================================
RCS file: /cvs/gnome/evolution-data-server/configure.in,v
retrieving revision 1.144
diff -u -r1.144 configure.in
--- configure.in	14 Nov 2005 18:08:20 -0000	1.144
+++ configure.in	18 Nov 2005 02:27:14 -0000
@@ -236,7 +236,7 @@
 		exit (1);
 #endif
 
-	cd = iconv_open ("UTF-8", "ISO_8859-1");
+	cd = iconv_open ("UTF-8", "ISO-8859-1");
 	if (cd == (iconv_t) -1)
 		exit (1);
 	if (iconv (cd, &from, &from_len, &trans, &utf8_len) == -1 || from_len != 0)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]