tags 320088 +patch thanks With the attached patch 'dar' can be compiled on amd64 using gcc-4.0.
Regards Andreas Jochens diff -urN ../tmp-orig/dar-2.2.2/configure ./configure --- ../tmp-orig/dar-2.2.2/configure 2005-07-24 23:46:59.000000000 +0000 +++ ./configure 2005-09-09 15:56:14.000000000 +0000 @@ -9870,7 +9870,7 @@ main () { bindtextdomain ("", ""); -return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings +return (long) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings ; return 0; } @@ -10316,7 +10316,7 @@ main () { bindtextdomain ("", ""); -return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) +return (long) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) ; return 0; } @@ -10371,7 +10371,7 @@ main () { bindtextdomain ("", ""); -return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) +return (long) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) ; return 0; } diff -urN ../tmp-orig/dar-2.2.2/m4/gettext.m4 ./m4/gettext.m4 --- ../tmp-orig/dar-2.2.2/m4/gettext.m4 2005-07-24 23:18:12.000000000 +0000 +++ ./m4/gettext.m4 2005-09-09 15:57:02.000000000 +0000 @@ -138,7 +138,7 @@ ], [])[extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings;], [bindtextdomain ("", ""); -return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings], +return (long) gettext ("")]ifelse([$2], [need-ngettext], [ + (long) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings], gt_cv_func_gnugettext_libc=yes, gt_cv_func_gnugettext_libc=no)]) @@ -174,7 +174,7 @@ #endif const char *_nl_expand_alias ();], [bindtextdomain ("", ""); -return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], +return (long) gettext ("")]ifelse([$2], [need-ngettext], [ + (long) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], gt_cv_func_gnugettext_libintl=yes, gt_cv_func_gnugettext_libintl=no) dnl Now see whether libintl exists and depends on libiconv. @@ -195,7 +195,7 @@ #endif const char *_nl_expand_alias ();], [bindtextdomain ("", ""); -return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], +return (long) gettext ("")]ifelse([$2], [need-ngettext], [ + (long) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], [LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" gt_cv_func_gnugettext_libintl=yes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]