File 1113-add-missing-licenses-to-wx.patch of Package erlang

From 6615fb7f8dc5f13564bbbc3a31bd51aaef23e0ae Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Thu, 18 Sep 2025 14:19:22 +0200
Subject: [PATCH 3/5] add missing licenses to wx

---
 lib/wx/.dir-locals.el     | 20 ++++++++++++++++++++
 lib/wx/.editorconfig      | 20 ++++++++++++++++++++
 lib/wx/AUTHORS            | 19 +++++++++++++++++++
 lib/wx/c_src/wxe_win32.rc | 20 ++++++++++++++++++++
 lib/wx/vsn.mk             | 20 ++++++++++++++++++++
 5 files changed, 99 insertions(+)

diff --git a/lib/wx/.dir-locals.el b/lib/wx/.dir-locals.el
index 37133c709f..fdfdba05fc 100644
--- a/lib/wx/.dir-locals.el
+++ b/lib/wx/.dir-locals.el
@@ -1,3 +1,23 @@
+;; %CopyrightBegin%
+;;
+;; SPDX-License-Identifier: Apache-2.0
+;;
+;; Copyright Ericsson AB 2021-2025. All Rights Reserved.
+;;
+;; 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.
+;;
+;; %CopyrightEnd%
+
 ;; wx Emacs settings
 (
  ;; In C++ code indentation is 2 spaces
diff --git a/lib/wx/.editorconfig b/lib/wx/.editorconfig
index 9729751b71..c3483c242e 100644
--- a/lib/wx/.editorconfig
+++ b/lib/wx/.editorconfig
@@ -1,2 +1,22 @@
 [*.{cpp,hpp}]
 indent_size = 2
+
+# %CopyrightBegin%
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+# Copyright Ericsson AB 1996-2025. All Rights Reserved.
+#
+# 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.
+#
+# %CopyrightEnd%
diff --git a/lib/wx/AUTHORS b/lib/wx/AUTHORS
index c15f1c7cca..23dc59cabe 100644
--- a/lib/wx/AUTHORS
+++ b/lib/wx/AUTHORS
@@ -1,3 +1,22 @@
+%CopyrightBegin%
+
+SPDX-License-Identifier: Apache-2.0
+
+Copyright Ericsson AB 2009-2025. All Rights Reserved.
+
+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.
+
+%CopyrightEnd%
 
 Dan Gudmundsson main work.
 
diff --git a/lib/wx/c_src/wxe_win32.rc b/lib/wx/c_src/wxe_win32.rc
index d9bfbd8559..9cf5eb3104 100644
--- a/lib/wx/c_src/wxe_win32.rc
+++ b/lib/wx/c_src/wxe_win32.rc
@@ -2,3 +2,23 @@
 aaaa ICON "wx/msw/std.ico"
 #define ISOLATION_AWARE_ENABLED 1
 #include "wx/msw/wx.rc"
+#
+// %CopyrightBegin%
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+// Copyright Ericsson AB 1999-2025. All Rights Reserved.
+//
+// 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.
+//
+// %CopyrightEnd%
diff --git a/lib/wx/vsn.mk b/lib/wx/vsn.mk
index cebfe84021..9180cb6a4c 100644
--- a/lib/wx/vsn.mk
+++ b/lib/wx/vsn.mk
@@ -1 +1,21 @@
 WX_VSN = 2.5.2
+
+# %CopyrightBegin%
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+# Copyright Ericsson AB 1996-2025. All Rights Reserved.
+#
+# 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.
+#
+# %CopyrightEnd%
-- 
2.51.0

openSUSE Build Service is sponsored by