From f8ce9398b98cfd7a7b8f73ccd407dc8c21d924e0 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Mon, 8 Jun 2020 15:07:28 +0200 Subject: [PATCH] Add a license exception to single owner Nasal libraries which clarifies that merely calling Nasal functions from third party aircraft does not invoke the derived-work clause of the GPL. Signed off by Thomas Geymayer --- Nasal/std/Vector.nas | 5 +++++ Nasal/std/string.nas | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/Nasal/std/Vector.nas b/Nasal/std/Vector.nas index ac93aaa71..97d06ada4 100644 --- a/Nasal/std/Vector.nas +++ b/Nasal/std/Vector.nas @@ -12,6 +12,11 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# +# NOTE! This copyright does *not* cover user models that use these Nasal +# services by normal function calls - this is merely considered normal use +# of the code, and does *not* fall under the heading of "derived work." + var min = func(a, b) { a < b ? a : b } var max = func(a, b) { a > b ? a : b } diff --git a/Nasal/std/string.nas b/Nasal/std/string.nas index c77d7023e..3948ff344 100644 --- a/Nasal/std/string.nas +++ b/Nasal/std/string.nas @@ -1,6 +1,14 @@ # ------------------------------------------------------------------------------ # A C++ like string class (http://en.cppreference.com/w/cpp/string/basic_string) # ------------------------------------------------------------------------------ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# NOTE! This copyright does *not* cover user models that use these Nasal +# services by normal function calls - this is merely considered normal use +# of the code, and does *not* fall under the heading of "derived work." +# +# Copyright (C) 2012-2013 by Thomas Geymayer + # capture global string var _string = string;