[Monotone-devel] FreeBSD port patches

2006-09-23 Thread Lapo Luchini
The FreeBSD port devel/monotone needs the following patches, would they probably be a problem on others systems, or can I simply apply then to the trunk and push to venge.net? I guess the common problem is that Linux by default have some gettext calls even if now using gettext, or something like

Re: [Monotone-devel] FreeBSD port patches

2006-09-23 Thread Nathaniel Smith
On Sat, Sep 23, 2006 at 06:50:25PM +0200, Lapo Luchini wrote: The FreeBSD port devel/monotone needs the following patches, would they probably be a problem on others systems, or can I simply apply then to the trunk and push to venge.net? I guess the common problem is that Linux by default

Re: [Monotone-devel] FreeBSD port patches

2006-09-23 Thread Václav Haisman
Lapo Luchini wrote, On 23.9.2006 18:50: The FreeBSD port devel/monotone needs the following patches, would they probably be a problem on others systems, or can I simply apply then to the trunk and push to venge.net? I guess the common problem is that Linux by default have some gettext

Re: [Monotone-devel] FreeBSD port patches

2006-09-23 Thread Václav Haisman
Václav Haisman wrote, On 23.9.2006 19:19: Lapo Luchini wrote, On 23.9.2006 18:50: The FreeBSD port devel/monotone needs the following patches, would they probably be a problem on others systems, or can I simply apply then to the trunk and push to venge.net? I guess the common problem is

Re: [Monotone-devel] FreeBSD port patches

2006-09-23 Thread Václav Haisman
Václav Haisman wrote, On 23.9.2006 19:34: Václav Haisman wrote, On 23.9.2006 19:19: Lapo Luchini wrote, On 23.9.2006 18:50: The FreeBSD port devel/monotone needs the following patches, would they probably be a problem on others systems, or can I simply apply then to the trunk and push to

Re: [Monotone-devel] FreeBSD port patches

2006-09-23 Thread Zack Weinberg
On 9/23/06, Lapo Luchini [EMAIL PROTECTED] wrote: if (!init) { setlocale(LC_ALL, ); +#ifdef ENABLE_NLS bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); +#endif init = 1; } It would be better to put something like #ifndef ENABLE_NLS inline char

Re: [Monotone-devel] FreeBSD port patches

2006-09-23 Thread Nathaniel Smith
On Sat, Sep 23, 2006 at 04:11:59PM -0700, Zack Weinberg wrote: It would be better to put something like #ifndef ENABLE_NLS inline char * textdomain(char *) { return 0; } inline char * bindtextdomain(char *, char *) { return 0; } #endif just above localize_monotone(); Or in i18n.hh,