[x265] [PATCH] getopt: grab an unambiguously LGPL version of getopt
Rafaël Carré
funman at videolan.org
Thu Oct 17 15:11:15 CEST 2013
Le 17/10/2013 02:31, Steve Borho a écrit :
> On Tue, Oct 15, 2013 at 8:35 AM, Rafaël Carré <funman at videolan.org> wrote:
>
>> Hi Steve,
>>
>> Le 14/10/2013 20:55, Steve Borho a écrit :
>>> # HG changeset patch
>>> # User Steve Borho <steve at borho.org>
>>> # Date 1381776922 18000
>>> # Mon Oct 14 13:55:22 2013 -0500
>>> # Node ID b6cca1b1a9b700a8ffc316f3186dbf10bc1149cc
>>> # Parent abae6903e0af0d9940bb734ba34dff6928d72e61
>>> getopt: grab an unambiguously LGPL version of getopt
>>>
>>> Found at: https://github.com/Tietew/mediawiki-xml2sql/tree/master/getopt
>>>
>>> The only change made was to move getopt_long() into getopt.c from
>> getopt1.c
>>
>> Why not take it directly from upstream?
>>
>> https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/getopt.c;hb=HEAD
>> https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/getopt.h;hb=HEAD
>>
>> Does this version has MSVC specific changes?
>>
>
> Yeah, as it turned out these upstream files won't build on MSVC without
> substantial work; which defeats the purpose for why we're borrowing them.
OK, it's not worth spending much time on this, just take the version
that is working.
More information about the x265-devel
mailing list