git: 8be522b0c30f - main - net-p2p/c-lightning: upgrade from 26.06.8 to 26.06.9

From: Vasil Dimov <vd_at_FreeBSD.org>
Date: Thu, 08 Oct 2026 11:56:30 UTC
The branch main has been updated by vd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8be522b0c30f70d975339fcf146d8ba42a607325

commit 8be522b0c30f70d975339fcf146d8ba42a607325
Author:     Vasil Dimov <vd@FreeBSD.org>
AuthorDate: 2026-10-08 11:53:55 +0000
Commit:     Vasil Dimov <vd@FreeBSD.org>
CommitDate: 2026-10-08 11:55:58 +0000

    net-p2p/c-lightning: upgrade from 26.06.8 to 26.06.9
---
 net-p2p/c-lightning/Makefile                            |  2 +-
 net-p2p/c-lightning/distinfo                            |  6 +++---
 net-p2p/c-lightning/files/patch-ccan_ccan_asort_asort.h | 15 +++++++++++++++
 3 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/net-p2p/c-lightning/Makefile b/net-p2p/c-lightning/Makefile
index 09c3953b3f2e..94dc85459449 100644
--- a/net-p2p/c-lightning/Makefile
+++ b/net-p2p/c-lightning/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	c-lightning
 # To build from an arbitrary git commit set PORTVERSION=0, comment PORTREVISION (if present)
 # and set PKGNAMESUFFIX.
-PORTVERSION=	26.06.8
+PORTVERSION=	26.06.9
 DISTVERSIONPREFIX=	v
 #PKGNAMESUFFIX=	-git-f8d8348c
 CATEGORIES=	net-p2p finance
diff --git a/net-p2p/c-lightning/distinfo b/net-p2p/c-lightning/distinfo
index 3c056683f543..b31d1966840b 100644
--- a/net-p2p/c-lightning/distinfo
+++ b/net-p2p/c-lightning/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1790250198
+TIMESTAMP = 1791379509
 SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
 SIZE (rust/crates/adler2-2.0.1.crate) = 13366
 SHA256 (rust/crates/aho-corasick-1.1.4.crate) = ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301
@@ -771,8 +771,8 @@ SHA256 (rust/crates/zmij-1.0.21.crate) = b8848ee67ecc8aedbaf3e4122217aff89263923
 SIZE (rust/crates/zmij-1.0.21.crate) = 26665
 SHA256 (rust/crates/zopfli-0.8.3.crate) = f05cd8797d63865425ff89b5c4a48804f35ba0ce8d125800027ad6017d2b5249
 SIZE (rust/crates/zopfli-0.8.3.crate) = 51589
-SHA256 (ElementsProject-lightning-v26.06.8_GH0.tar.gz) = b5b7a8aa04436a3d2610b46ff7b8e8312ce7b49fc45e805ad6fa5eeb17ea5e20
-SIZE (ElementsProject-lightning-v26.06.8_GH0.tar.gz) = 19702107
+SHA256 (ElementsProject-lightning-v26.06.9_GH0.tar.gz) = 3b9a279bed54625dd0bb7cdfc17c5f6507d535384a4b7e427e6dda68918cd1b6
+SIZE (ElementsProject-lightning-v26.06.9_GH0.tar.gz) = 19783331
 SHA256 (ElementsProject-libwally-core-0c41f38fb1c20_GH0.tar.gz) = b8a782ee959160fc228b92589e2ea9464bb33f2ca675e340d47482e8b8a149c0
 SIZE (ElementsProject-libwally-core-0c41f38fb1c20_GH0.tar.gz) = 1352189
 SHA256 (ElementsProject-secp256k1-zkp-45f6f0f158c5a_GH0.tar.gz) = 8608e6641fa76bf99e26af49e2cea59841972590ff02f22a0636289dce993d74
diff --git a/net-p2p/c-lightning/files/patch-ccan_ccan_asort_asort.h b/net-p2p/c-lightning/files/patch-ccan_ccan_asort_asort.h
new file mode 100644
index 000000000000..ed69b07386ee
--- /dev/null
+++ b/net-p2p/c-lightning/files/patch-ccan_ccan_asort_asort.h
@@ -0,0 +1,15 @@
+--- ccan/ccan/asort/asort.h.orig	2026-10-08 08:33:17 UTC
++++ ccan/ccan/asort/asort.h
+@@ -27,8 +27,12 @@ _asort((base), (num), sizeof(*(base)),					\
+  * first libc include — we can't control our includers, so declare it
+  * ourselves (the configurator only sets this where this GNU signature
+  * was detected). */
++#ifndef qsort_r
++/* On some systems (e.g. FreeBSD) qsort_r() is a macro that is already
++ * defined here by stdlib.h. The below would brick the compilation. */
+ void qsort_r(void *base, size_t nmemb, size_t size,
+ 	     int (*compar)(const void *, const void *, void *), void *arg);
++#endif /* qsort_r */
+ #define _asort(b, n, s, cmp, ctx) qsort_r(b, n, s, cmp, ctx)
+ #else
+ void _asort(void *base, size_t nmemb, size_t size,