[vlc-devel] Extras/contrib gettext localename.c patch -- 3 SUBLANG errors

Mark Moriarty mfmbusiness at earthlink.net
Wed Nov 22 01:36:51 CET 2006


Doing a clean build of extras/contrib, it downloads:
gettext-0.16.tar.gz
The file 
Gettext-runtime/intl/localename.c
Generates errors on 3 sublanguage switches:
./localename.c: In function `_nl_locale_name_default':
./localename.c:1145: error: duplicate case value
./localename.c:1144: error: previously used here
./localename.c:1359: error: duplicate case value
./localename.c:1358: error: previously used here
./localename.c:1367: error: duplicate case value
./localename.c:1366: error: previously used here

The attached patch deletes the lines that result in errors.
The patch was generated using
Diff -u localename.bak.c localename.c
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20061121/cf384d87/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: localename.diff
Type: application/octet-stream
Size: 1009 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20061121/cf384d87/attachment.obj>


More information about the vlc-devel mailing list