Package: apt
Version: 0.6.46
Severity: normal
Tags: patch

When configuring apt with "--disable-nls", textdomain(3) should not be called. This can be achived by modifying buildlib/apti18n.h.in to read:

#ifdef USE_NLS
// apt will use the gettext implementation of the C library
# include <libintl.h>
# ifdef APT_DOMAIN
#   define _(x) dgettext(APT_DOMAIN,x)
# else
#   define _(x) gettext(x)
# endif
#else
// apt will not use any gettext
# define setlocale(a, b)
# define textdomain(a)     // <--- this line added
# define _(x) x
#endif


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to