Skip to content

Commit 0cffac1

Browse files
committed
chore(reuse): add SPDX licensing for patches/ + apply-llama-patches.cmake
The REUSE license-compliance check (fsfe/reuse-action) failed on the new files: - cmake/apply-llama-patches.cmake had the license but no copyright -> add inline SPDX-FileCopyrightText (mirrors build.sh). - patches/*.patch is unified-diff format and cannot carry an inline header without corrupting the diff -> annotate via REUSE.toml with a patches/** glob, so every current and future patch in the directory is covered automatically. Verified locally: `reuse lint` -> compliant with REUSE 3.3. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SfvSZ76NW4e1qX1PjL4RKq
1 parent 1d875b1 commit 0cffac1

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

REUSE.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@ SPDX-FileCopyrightText = [
7474
]
7575
SPDX-License-Identifier = "MIT"
7676

77+
# llama.cpp source patches (unified-diff format cannot carry inline SPDX without corrupting the
78+
# diff). Glob covers every current and future patch dropped into patches/ — see CLAUDE.md
79+
# "Local llama.cpp source patches".
80+
[[annotations]]
81+
path = "patches/**"
82+
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
83+
SPDX-License-Identifier = "MIT"
84+
7785
# Test image (binary, cannot carry inline SPDX)
7886
[[annotations]]
7987
path = "src/test/resources/images/test-image.jpg"

cmake/apply-llama-patches.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>
2+
#
13
# SPDX-License-Identifier: MIT
24
#
35
# apply-llama-patches.cmake — applies every patch in the repo-root `patches/` directory to the

0 commit comments

Comments
 (0)