[PATCH 0/3] MR10545: Add LGPL license exception to some C runtime files.
When building an application or library with Wine, a few C runtime files get linked directly into the resulting binary. Since these files are under the LGPL, it means that the application would technically need to be distributed as object files to allow relinking. This is an onerous burden to impose, for a very small amount of LGPL code. Thus I propose that we relax the LGPL requirements by applying the GCC Runtime Library Exception to these few files. This is similar to what glibc is doing for its crt0 files. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10545
From: Alexandre Julliard <julliard@winehq.org> Using the GCC Runtime Library exception, similar to what glibc is doing for files that get linked directly into the application. --- libs/winecrt0/arm64ec.c | 8 ++++++++ libs/winecrt0/crt_dllmain.c | 8 ++++++++ libs/winecrt0/crt_fltused.c | 8 ++++++++ libs/winecrt0/debug.c | 8 ++++++++ libs/winecrt0/delay_load.c | 8 ++++++++ libs/winecrt0/dll_canunload.c | 8 ++++++++ libs/winecrt0/dll_entry.c | 8 ++++++++ libs/winecrt0/dll_main.c | 8 ++++++++ libs/winecrt0/dll_register.c | 8 ++++++++ libs/winecrt0/dll_soinit.c | 8 ++++++++ libs/winecrt0/dll_version.c | 8 ++++++++ libs/winecrt0/exception.c | 8 ++++++++ libs/winecrt0/exe16_entry.c | 8 ++++++++ libs/winecrt0/exe_entry.c | 8 ++++++++ libs/winecrt0/exe_main.c | 8 ++++++++ libs/winecrt0/exe_wentry.c | 8 ++++++++ libs/winecrt0/exe_wmain.c | 8 ++++++++ libs/winecrt0/gcc_ctors.c | 8 ++++++++ libs/winecrt0/register.c | 8 ++++++++ libs/winecrt0/setjmp.c | 8 ++++++++ libs/winecrt0/stub.c | 8 ++++++++ libs/winecrt0/tls.c | 8 ++++++++ libs/winecrt0/unix_lib.c | 8 ++++++++ 23 files changed, 184 insertions(+) diff --git a/libs/winecrt0/arm64ec.c b/libs/winecrt0/arm64ec.c index a3af06b380d..1930a27d627 100644 --- a/libs/winecrt0/arm64ec.c +++ b/libs/winecrt0/arm64ec.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/crt_dllmain.c b/libs/winecrt0/crt_dllmain.c index 02dccdec511..d14607fb0bb 100644 --- a/libs/winecrt0/crt_dllmain.c +++ b/libs/winecrt0/crt_dllmain.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/crt_fltused.c b/libs/winecrt0/crt_fltused.c index 75abdfb3fa5..0803e785e76 100644 --- a/libs/winecrt0/crt_fltused.c +++ b/libs/winecrt0/crt_fltused.c @@ -6,6 +6,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/debug.c b/libs/winecrt0/debug.c index a7bf864aee5..5f865711256 100644 --- a/libs/winecrt0/debug.c +++ b/libs/winecrt0/debug.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/delay_load.c b/libs/winecrt0/delay_load.c index 3044fa4431f..bbd23a33898 100644 --- a/libs/winecrt0/delay_load.c +++ b/libs/winecrt0/delay_load.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/dll_canunload.c b/libs/winecrt0/dll_canunload.c index 08a60c347e1..9ad7aa2ab0a 100644 --- a/libs/winecrt0/dll_canunload.c +++ b/libs/winecrt0/dll_canunload.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/dll_entry.c b/libs/winecrt0/dll_entry.c index b5b6e2e6159..c6c8efa4a4e 100644 --- a/libs/winecrt0/dll_entry.c +++ b/libs/winecrt0/dll_entry.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/dll_main.c b/libs/winecrt0/dll_main.c index a177438584c..3b2acab975c 100644 --- a/libs/winecrt0/dll_main.c +++ b/libs/winecrt0/dll_main.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/dll_register.c b/libs/winecrt0/dll_register.c index 0adb1d716d9..c73a3ddd87e 100644 --- a/libs/winecrt0/dll_register.c +++ b/libs/winecrt0/dll_register.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/dll_soinit.c b/libs/winecrt0/dll_soinit.c index 77f5db3d284..88d00d1fd3b 100644 --- a/libs/winecrt0/dll_soinit.c +++ b/libs/winecrt0/dll_soinit.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/dll_version.c b/libs/winecrt0/dll_version.c index a96976e5417..a90385aa88c 100644 --- a/libs/winecrt0/dll_version.c +++ b/libs/winecrt0/dll_version.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/exception.c b/libs/winecrt0/exception.c index 193981c583f..4127312c64f 100644 --- a/libs/winecrt0/exception.c +++ b/libs/winecrt0/exception.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/exe16_entry.c b/libs/winecrt0/exe16_entry.c index 02992ab049e..a1db3a2707a 100644 --- a/libs/winecrt0/exe16_entry.c +++ b/libs/winecrt0/exe16_entry.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/exe_entry.c b/libs/winecrt0/exe_entry.c index def7b57c38d..f54081b0c9a 100644 --- a/libs/winecrt0/exe_entry.c +++ b/libs/winecrt0/exe_entry.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/exe_main.c b/libs/winecrt0/exe_main.c index 2465c83bdf0..591a29dab3e 100644 --- a/libs/winecrt0/exe_main.c +++ b/libs/winecrt0/exe_main.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/exe_wentry.c b/libs/winecrt0/exe_wentry.c index 303e9e5a69b..9c1aa46c86c 100644 --- a/libs/winecrt0/exe_wentry.c +++ b/libs/winecrt0/exe_wentry.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/exe_wmain.c b/libs/winecrt0/exe_wmain.c index 4a567661ea5..2f08ddaeaa9 100644 --- a/libs/winecrt0/exe_wmain.c +++ b/libs/winecrt0/exe_wmain.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/gcc_ctors.c b/libs/winecrt0/gcc_ctors.c index 21b7778d38c..ed0ab9d3335 100644 --- a/libs/winecrt0/gcc_ctors.c +++ b/libs/winecrt0/gcc_ctors.c @@ -6,6 +6,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/register.c b/libs/winecrt0/register.c index 757e424fed5..73a5e726ff7 100644 --- a/libs/winecrt0/register.c +++ b/libs/winecrt0/register.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/setjmp.c b/libs/winecrt0/setjmp.c index a79deebf05e..d534f08984f 100644 --- a/libs/winecrt0/setjmp.c +++ b/libs/winecrt0/setjmp.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/stub.c b/libs/winecrt0/stub.c index c1198561886..2cc7f508a87 100644 --- a/libs/winecrt0/stub.c +++ b/libs/winecrt0/stub.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/tls.c b/libs/winecrt0/tls.c index 67f52e0e5da..bc40a9e1018 100644 --- a/libs/winecrt0/tls.c +++ b/libs/winecrt0/tls.c @@ -6,6 +6,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/libs/winecrt0/unix_lib.c b/libs/winecrt0/unix_lib.c index 037a763e53b..32d8884492e 100644 --- a/libs/winecrt0/unix_lib.c +++ b/libs/winecrt0/unix_lib.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10545
From: Alexandre Julliard <julliard@winehq.org> Using the GCC Runtime Library exception, similar to what glibc is doing for files that get linked directly into the application. --- dlls/msvcrt/crt_gccmain.c | 8 ++++++++ dlls/msvcrt/crt_init.h | 8 ++++++++ dlls/msvcrt/crt_main.c | 8 ++++++++ dlls/msvcrt/crt_winmain.c | 8 ++++++++ dlls/msvcrt/crt_wmain.c | 8 ++++++++ dlls/msvcrt/crt_wwinmain.c | 8 ++++++++ dlls/msvcrt/iob.c | 8 ++++++++ dlls/msvcrt/mathf.c | 8 ++++++++ dlls/msvcrt/onexit.c | 8 ++++++++ dlls/msvcrt/sincos.c | 8 ++++++++ dlls/ucrtbase/atexit.c | 8 ++++++++ dlls/ucrtbase/printf.c | 8 ++++++++ 12 files changed, 96 insertions(+) diff --git a/dlls/msvcrt/crt_gccmain.c b/dlls/msvcrt/crt_gccmain.c index 88ca2874732..4ead0025082 100644 --- a/dlls/msvcrt/crt_gccmain.c +++ b/dlls/msvcrt/crt_gccmain.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/msvcrt/crt_init.h b/dlls/msvcrt/crt_init.h index 97d9de618cc..1ef8ccbcfc6 100644 --- a/dlls/msvcrt/crt_init.h +++ b/dlls/msvcrt/crt_init.h @@ -6,6 +6,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/msvcrt/crt_main.c b/dlls/msvcrt/crt_main.c index be3e748d723..29165a48460 100644 --- a/dlls/msvcrt/crt_main.c +++ b/dlls/msvcrt/crt_main.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/msvcrt/crt_winmain.c b/dlls/msvcrt/crt_winmain.c index fda3d12f688..804dfb61587 100644 --- a/dlls/msvcrt/crt_winmain.c +++ b/dlls/msvcrt/crt_winmain.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/msvcrt/crt_wmain.c b/dlls/msvcrt/crt_wmain.c index 598d2a338b3..8798418d03b 100644 --- a/dlls/msvcrt/crt_wmain.c +++ b/dlls/msvcrt/crt_wmain.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/msvcrt/crt_wwinmain.c b/dlls/msvcrt/crt_wwinmain.c index b50f728025b..c3ba32a5fb9 100644 --- a/dlls/msvcrt/crt_wwinmain.c +++ b/dlls/msvcrt/crt_wwinmain.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/msvcrt/iob.c b/dlls/msvcrt/iob.c index 4d8456867a8..7bf4bc60d20 100644 --- a/dlls/msvcrt/iob.c +++ b/dlls/msvcrt/iob.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/msvcrt/mathf.c b/dlls/msvcrt/mathf.c index 7f46230e7bd..8daac69bfc5 100644 --- a/dlls/msvcrt/mathf.c +++ b/dlls/msvcrt/mathf.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/msvcrt/onexit.c b/dlls/msvcrt/onexit.c index d0c61700542..ffc28496636 100644 --- a/dlls/msvcrt/onexit.c +++ b/dlls/msvcrt/onexit.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/msvcrt/sincos.c b/dlls/msvcrt/sincos.c index 1a34c50f034..f874a743253 100644 --- a/dlls/msvcrt/sincos.c +++ b/dlls/msvcrt/sincos.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/ucrtbase/atexit.c b/dlls/ucrtbase/atexit.c index 142de9efa0c..7b5032020ca 100644 --- a/dlls/ucrtbase/atexit.c +++ b/dlls/ucrtbase/atexit.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/ucrtbase/printf.c b/dlls/ucrtbase/printf.c index 4483fb936ea..0f881692ad6 100644 --- a/dlls/ucrtbase/printf.c +++ b/dlls/ucrtbase/printf.c @@ -6,6 +6,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10545
From: Alexandre Julliard <julliard@winehq.org> Using the GCC Runtime Library exception, similar to what glibc is doing for files that get linked directly into the application. --- dlls/vcruntime140/init_thread.c | 8 ++++++++ dlls/vcruntime140/typeinfo.c | 8 ++++++++ dlls/vcruntime140/typeinfo_root.cpp | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/dlls/vcruntime140/init_thread.c b/dlls/vcruntime140/init_thread.c index 6d73f85785f..a2db941bf79 100644 --- a/dlls/vcruntime140/init_thread.c +++ b/dlls/vcruntime140/init_thread.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/vcruntime140/typeinfo.c b/dlls/vcruntime140/typeinfo.c index e5b59d85e29..2c5ddccddc9 100644 --- a/dlls/vcruntime140/typeinfo.c +++ b/dlls/vcruntime140/typeinfo.c @@ -6,6 +6,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 diff --git a/dlls/vcruntime140/typeinfo_root.cpp b/dlls/vcruntime140/typeinfo_root.cpp index 018c292ee3f..b6da6b61c55 100644 --- a/dlls/vcruntime140/typeinfo_root.cpp +++ b/dlls/vcruntime140/typeinfo_root.cpp @@ -6,6 +6,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * 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 -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10545
This merge request was approved by Jacek Caban. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10545
This merge request was approved by Bernhard Kölbl. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10545
This merge request was approved by Piotr Caban. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10545
This merge request was approved by Nikolay Sivov. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10545
This merge request was approved by Yuxuan Shui. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10545
participants (7)
-
Alexandre Julliard -
Alexandre Julliard (@julliard) -
Bernhard Kölbl (@besentv) -
Jacek Caban (@jacek) -
Nikolay Sivov (@nsivov) -
Piotr Caban (@piotr) -
Yuxuan Shui (@yshui)