File 1212-emulator-add-bsd-3-clause.patch of Package erlang

From 532cde7d19806b67a63ce111cb8470b961b354cb Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Mon, 3 Feb 2025 06:04:38 +0100
Subject: [PATCH 02/14] emulator: add- bsd 3 clause

---
 erts/emulator/pcre/pcre_chartables.c    | 1 +
 erts/emulator/pcre/pcre_latin_1_table.c | 1 +
 erts/emulator/pcre/pcre_ucd.c           | 1 +
 erts/emulator/pcre/ucp.h                | 1 +
 4 files changed, 4 insertions(+)

diff --git a/erts/emulator/pcre/pcre_chartables.c b/erts/emulator/pcre/pcre_chartables.c
index 06482c08d2..051505a384 100644
--- a/erts/emulator/pcre/pcre_chartables.c
+++ b/erts/emulator/pcre/pcre_chartables.c
@@ -20,6 +20,7 @@ and dead code stripping is activated. This leads to link errors. Pulling in the
 header ensures that the array gets flagged as "someone outside this compilation
 unit might reference this" and so it will always be supplied to the linker. */
 
+/* SPDX-License-Identifier: BSD-3-Clause */
 /* %ExternalCopyright% */
 
 #ifdef HAVE_CONFIG_H
diff --git a/erts/emulator/pcre/pcre_latin_1_table.c b/erts/emulator/pcre/pcre_latin_1_table.c
index d6cf38fa3b..29838652ac 100644
--- a/erts/emulator/pcre/pcre_latin_1_table.c
+++ b/erts/emulator/pcre/pcre_latin_1_table.c
@@ -13,6 +13,7 @@ library and dead code stripping is activated. This leads to link errors.
 Pulling in the header ensures that the array gets flagged as "someone
 outside this compilation unit might reference this" and so it will always
 be supplied to the linker. */
+/* SPDX-License-Identifier: BSD-3-Clause */
 /* %ExternalCopyright% */
 
 #ifdef HAVE_CONFIG_H
diff --git a/erts/emulator/pcre/pcre_ucd.c b/erts/emulator/pcre/pcre_ucd.c
index 2dd4b05751..61d290bd62 100644
--- a/erts/emulator/pcre/pcre_ucd.c
+++ b/erts/emulator/pcre/pcre_ucd.c
@@ -7,6 +7,7 @@ by the pcretest program, which redefines the PRIV macro to change
 table names from _pcre_xxx to xxxx, thereby avoiding name clashes
 with the library. At present, just one of these tables is actually
 needed. */
+/* SPDX-License-Identifier: BSD-3-Clause */
 /* %ExternalCopyright% */
 #ifndef PCRE_INCLUDED
 
diff --git a/erts/emulator/pcre/ucp.h b/erts/emulator/pcre/ucp.h
index 7073bb9806..b75d899381 100644
--- a/erts/emulator/pcre/ucp.h
+++ b/erts/emulator/pcre/ucp.h
@@ -2,6 +2,7 @@
 *          Unicode Property Table handler        *
 *************************************************/
 
+/* SPDX-License-Identifier: BSD-3-Clause */
 /* %ExternalCopyright% */
 
 #ifndef _UCP_H
-- 
2.43.0

openSUSE Build Service is sponsored by