File 0873-emulator-add-Zlib-license.patch of Package erlang
From 40c1ec125ef91b8324065d7ebfd006ac098e5166 Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Mon, 3 Feb 2025 06:24:56 +0100
Subject: [PATCH 03/14] emulator: add Zlib license
---
erts/emulator/zlib/crc32.h | 2 ++
erts/emulator/zlib/inffixed.h | 2 ++
erts/emulator/zlib/trees.h | 1 +
3 files changed, 5 insertions(+)
diff --git a/erts/emulator/zlib/crc32.h b/erts/emulator/zlib/crc32.h
index 137df68d61..1f24c0b7ed 100644
--- a/erts/emulator/zlib/crc32.h
+++ b/erts/emulator/zlib/crc32.h
@@ -2,6 +2,8 @@
* Generated automatically by crc32.c
*/
+/* SPDX-License-Identifier: Zlib */
+
local const z_crc_t FAR crc_table[] = {
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419,
0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4,
diff --git a/erts/emulator/zlib/inffixed.h b/erts/emulator/zlib/inffixed.h
index d628327769..7945f1fc03 100644
--- a/erts/emulator/zlib/inffixed.h
+++ b/erts/emulator/zlib/inffixed.h
@@ -2,6 +2,8 @@
* Generated automatically by makefixed().
*/
+ /* SPDX-License-Identifier: Zlib */
+
/* WARNING: this file should *not* be used by applications.
It is part of the implementation of this library and is
subject to change. Applications should only use zlib.h.
diff --git a/erts/emulator/zlib/trees.h b/erts/emulator/zlib/trees.h
index d35639d82a..fb7af8555d 100644
--- a/erts/emulator/zlib/trees.h
+++ b/erts/emulator/zlib/trees.h
@@ -1,4 +1,5 @@
/* header created automatically with -DGEN_TREES_H */
+/* SPDX-License-Identifier: Zlib */
local const ct_data static_ltree[L_CODES+2] = {
{{ 12},{ 8}}, {{140},{ 8}}, {{ 76},{ 8}}, {{204},{ 8}}, {{ 44},{ 8}},
--
2.43.0