Also it has the patch below from the sxce source code.

The SUNWgnu-gettext.spec file is for a SFE build environment.

Thanks, Mark

patches/gettext-01-configure.diff:

--- gettext-0.16.1.orig/gettext-runtime/configure       2006-11-27 
09:34:04.000000000 -0800
+++ gettext-0.16.1/gettext-runtime/configure    2007-06-27 12:53:23.996248127 
-0700
@@ -27972,15 +27972,19 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #include <libintl.h>
+#if 0
 $gt_revision_test_code
 extern int _nl_msg_cat_cntr;
 extern int *_nl_domain_bindings;
+#endif
 int
 main ()
 {
+#if 0
 bindtextdomain ("", "");
 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + 
*_nl_domain_bindings
   ;
+#endif
   return 0;
 }
 _ACEOF
diff -aruN gettext-0.16.1.orig/gettext-tools/configure 
gettext-0.16.1/gettext-tools/configure
--- gettext-0.16.1.orig/gettext-tools/configure 2006-11-27 09:34:40.000000000 
-0800
+++ gettext-0.16.1/gettext-tools/configure      2007-06-27 14:19:51.038978672 
-0700
@@ -28630,15 +28630,19 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #include <libintl.h>
+#if 0
 $gt_revision_test_code
 extern int _nl_msg_cat_cntr;
 extern int *_nl_domain_bindings;
+#endif
 int
 main ()
 {
+#if 0
 bindtextdomain ("", "");
 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + 
*_nl_domain_bindings
   ;
+#endif
   return 0;
 }
 _ACEOF
--
This message posted from opensolaris.org

Reply via email to