gnu: clang-cling-runtime: Fix build.

New patches were applied to clang-runtime only, not the whole LLVM base
source, hence they were not applied to the cling variants.

* gnu/packages/llvm.scm (llvm-cling) [source]: Add
clang-cling-runtime-13-glibc-2.36-compat.patch and
clang-cling-13-remove-crypt-interceptors.patch patches.
* gnu/packages/patches/clang-cling-13-remove-crypt-interceptors.patch: New file.
* gnu/packages/patches/clang-cling-runtime-13-glibc-2.36-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.

Change-Id: I4c5ee5f65b2bc04935865ad8e67bc2c3833da2eb
This commit is contained in:
Maxim Cournoyer 2024-09-20 00:16:48 +09:00
parent e85f52e826
commit 0feeac35cb
No known key found for this signature in database
GPG key ID: 1260E46482E63562
4 changed files with 270 additions and 1 deletions

View file

@ -2301,7 +2301,10 @@ LLVM bitcode files.")
(sha256
(base32
"1zh6yp8px9hla7v9i67a6anbph140f8ixxbsz65aj7fizksjs1h3"))
(patches (search-patches "clang-cling-13-libc-search-path.patch")))))))
(patches (search-patches
"clang-cling-13-libc-search-path.patch"
"clang-cling-runtime-13-glibc-2.36-compat.patch"
"clang-cling-13-remove-crypt-interceptors.patch")))))))
(define clang-cling-runtime
(let ((base clang-runtime-13))