[PATCH] fix build with --disable-nls

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

 



Hi,

I sent this to Adrian Bunk a long time ago, but it has been rottening in
my local package ever since. Anyway, it applies to util-linux-ng 2.13.

Thanks for bringing life back into these essential utilities and sharing
it across distributions.
--- util-linux-2.13-pre1/include/nls.h
+++ util-linux-2.13-pre1/include/nls.h
@@ -17,6 +17,8 @@
 # define bindtextdomain(Domain, Directory) /* empty */
 # undef textdomain
 # define textdomain(Domain) /* empty */
+# undef setlocale
+# define setlocale(category, locale) /* empty */
 # define _(Text) (Text)
 # define N_(Text) (Text)
 #endif

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux