[PATCH] Cadaver 0.23.3 fails to build with --disable-nls

Arfrever Frehtes Taifersar Arahesis arfrever.fta at gmail.com
Sat Dec 19 15:54:52 EST 2009

Cadaver 0.23.3 fails to build, when --disable-nls has been passed to `configure`:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib  -I/usr/include  -DLOCALEDIR=\"/usr/share/locale\" -I./src -march=core2 -pipe -O3 -I/usr/include/neon -o src/cadaver.o -c src/cadaver.c
src/cadaver.c: In function 'main':
src/cadaver.c:859: warning: implicit declaration of function 'setlocale'
src/cadaver.c:859: error: 'LC_ALL' undeclared (first use in this function)
src/cadaver.c:859: error: (Each undeclared identifier is reported only once
src/cadaver.c:859: error: for each function it appears in.)
make: *** [src/cadaver.o] Error 1

The attached patch fixes this problem.

Arfrever Frehtes Taifersar Arahesis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cadaver-0.23.3-fix_building_with_disabled_nls_support.patch
Type: text/x-patch
Size: 288 bytes
Desc: not available
Url : http://lists.manyfish.co.uk/pipermail/cadaver/attachments/20091219/f0def085/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.manyfish.co.uk/pipermail/cadaver/attachments/20091219/f0def085/attachment-0001.bin 

More information about the cadaver mailing list