From bef86d48afc6ef90587bade9e032f8a9318d569f Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 7 Aug 2020 10:00:55 +0100 Subject: [PATCH] roaring.[ch]: Add attribution and licensing information OS distributions that take copyright and licensing seriously will tend to become concerned about source files that appear to come from a third party and do not come with copyright/licensing information, and stating that these files are modified is required by clause 4(b) of the Apache license. Signed-off-by: Simon McVittie --- gtk/roaring.c | 23 ++++++++++++++++++++++- gtk/roaring.h | 23 ++++++++++++++++++++++- 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/gtk/roaring.c b/gtk/roaring.c index 779a47c1d6..d71ba88378 100644 --- a/gtk/roaring.c +++ b/gtk/roaring.c @@ -1,4 +1,25 @@ -/* auto-generated on Fri 26 Jun 2020 06:06:51 AM CEST. Do not edit! */ +/* + * Amalgamated copy of CRoaring 0.2.66, modified for GTK to reduce compiler + * warnings. + * + * Copyright 2016-2020 The CRoaring authors + * Copyright 2020 Benjamin Otte + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "roaring.h" /* used for http://dmalloc.com/ Dmalloc - Debug Malloc Library */ diff --git a/gtk/roaring.h b/gtk/roaring.h index 3837891781..26ab1bd4dc 100644 --- a/gtk/roaring.h +++ b/gtk/roaring.h @@ -1,4 +1,25 @@ -/* auto-generated on Fri 26 Jun 2020 06:06:51 AM CEST. Do not edit! */ +/* + * Amalgamated copy of CRoaring 0.2.66, modified for GTK to reduce compiler + * warnings. + * + * Copyright 2016-2020 The CRoaring authors + * Copyright 2020 Benjamin Otte + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* begin file include/roaring/roaring_version.h */ // /include/roaring/roaring_version.h automatically generated by release.py, do not change by hand #ifndef ROARING_INCLUDE_ROARING_VERSION