LGPL code can't be part of Mesa or a dependency.

Marek

On Fri, May 18, 2018 at 4:56 AM, Benedikt Schemmer <b...@besd.de> wrote:

> > Agreed, using ENABLE_SHADER_CACHE to guard some OS specifics is dirty,
> it should be only guarding shader cache itself.
>
> I found this online, but I'm not sure if it can be used as part of mesa
>
> license etc.
>
> It looks quite reasonable (except for the include of sys/file.h)
> which isnt needed AFAICT
>
>
> ---
>
> /* Emulate flock on platforms that lack it, primarily Windows and MinGW.
>
>    This is derived from sqlite3 sources.
>    http://www.sqlite.org/cvstrac/rlog?f=sqlite/src/os_win.c
>    http://www.sqlite.org/copyright.html
>
>    Written by Richard W.M. Jones <rjones.at.redhat.com>
>
>    Copyright (C) 2008-2012 Free Software Foundation, Inc.
>
>    This library is free software; you can redistribute it and/or
>    modify it under the terms of the GNU Lesser General Public
>    License as published by the Free Software Foundation; either
>    version 2.1 of the License, or (at your option) any later version.
>
>    This library is distributed in the hope that it will be useful,
>    but WITHOUT ANY WARRANTY; without even the implied warranty of
>    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
>    Lesser General Public License for more details.
>
>    You should have received a copy of the GNU Lesser General Public License
>    along with this program.  If not, see <http://www.gnu.org/licenses/>.
> */
>
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to