Subject: bug#69435: closed (Re: [bug#69435] [PATCH] gnu: c2ffi: Update to 16.0.0.0.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 01 Mar 2024 14:09:03 +0000

Your bug report

#69435: [PATCH] gnu: c2ffi: Update to 16.0.0.0.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
69435: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69435
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#69435] [PATCH] gnu: c2ffi: Update to 16.0.0.0.
From: Guillaume Le Vaillant <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Fri, 01 Mar 2024 14:07:16 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch applied as 9038a46751c5090246e64b63ff752064833c435b.
Thanks.

Subject: [PATCH] gnu: c2ffi: Update to 16.0.0.0.
From: [email-masked]
To: [email-masked]
Cc: Attila Lendvai <[email-masked]>
Date: Tue, 27 Feb 2024 20:19:36 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Attila Lendvai <[email-masked]>

Change-Id: I8b9562ea865347eafd2e098c3cf2b42611140aff
---
 gnu/packages/cpp.scm | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index e530d1d2a89..2eacd795597 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -279,16 +279,18 @@ (define-public c2ffi
     (name "c2ffi")
     ;; As per the c2ffi README: the first three elements are encoding the
     ;; required Clang/LLVM version, and the last one is the c2ffi revision.
-    (version "12.0.0.0")
+    (version "16.0.0.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/rpav/c2ffi")
-             (commit (string-append "v" version))))
+             ;; Upstream is not tagging releases consistently.
+             ;; (commit (string-append "v" version))
+             (commit "097cbe61ca02dc79ea60859aa056975131a9d985")))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1qq8dfismd20d9kfxpfvwz07v9mfvd0y7p5r3c92mk2pm4xnmzfy"))
+        (base32 "1mqhw4838chl495gaj9z0731ahkmqb4f3wlc1qalk82fdsaniyd5"))
        (modules '((guix build utils)))
        (snippet
         '(substitute* "CMakeLists.txt"
@@ -309,9 +311,9 @@ (define-public c2ffi
              (when tests?
                (invoke "./bin/c2ffi" "--help")))))))
     (native-inputs
-     (list clang-12)) ; CMakeLists.txt invokes `clang -print-resource-dir`
+     (list clang-16)) ; CMakeLists.txt invokes `clang -print-resource-dir`
     (inputs
-     (list clang-12)) ; Compiled with gcc, but links against libclang-cpp.so
+     (list clang-16)) ; Compiled with gcc, but links against libclang-cpp.so
     (home-page "https://github.com/rpav/c2ffi")
     (synopsis "Clang-based FFI wrapper generator")
     (description

base-commit: bf17a01e06abc100651ed643f2d5c7fea07d37ba
-- 
2.41.0