commit:     b932be08915a671e26bcea8d348b0b2fb1d349ba
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Wed Feb 11 13:59:45 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 11 19:39:33 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b932be08

sys-devel/cproc: add 0_pre20260113

Notable upstream changes:
 * Support for Variable Length Arrays (VLA)
 * `-dumpmachine` flag support
 * `__builtin_c23_va_start`
 * _Thread_local storage

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/42
Merges: https://codeberg.org/gentoo/gentoo/pulls/42
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/cproc/Manifest                   |  1 +
 sys-devel/cproc/cproc-0_pre20260113.ebuild | 37 ++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/sys-devel/cproc/Manifest b/sys-devel/cproc/Manifest
index c5136579d5a9..10d46a80a217 100644
--- a/sys-devel/cproc/Manifest
+++ b/sys-devel/cproc/Manifest
@@ -1 +1,2 @@
 DIST cproc-c19a0bd9b78be94b455af55ad8ceb9be49410974.tar.gz 84602 BLAKE2B 
89a01f1382015737ed43e1c7ec36737c05c0818f422b8714b5ac60bfce0830572bd06f0f0b99457e675b52826671b18e872461154a8479d3f5da808e01dd08de
 SHA512 
630d7d933a489be80519366c27650eb3b33443ec068f0d5c4749cc1f87061228b0496f2e31a7b5f0c7eb8608849ac692113f884eab03664a3e12a78f36dbc7fa
+DIST cproc-e963ced5c2b0a102778b19906eaef1af92ed7862.tar.gz 89816 BLAKE2B 
60a94fedc517e522fb7435565762180dc69bf69e974fc1fbe1b9490ccbe082845963557d1773f52100b723b15f08fabe6d3abc7da5ab90c8aca601a152fec692
 SHA512 
5e047d7554c7397d80f7120c0df4c7738a5b32e235bea78fbc5b406ed44b4cfc79ff9e09a5be1d302a56a9c35e45c7e1be8931d64e49418823d092d1aaaf1397

diff --git a/sys-devel/cproc/cproc-0_pre20260113.ebuild 
b/sys-devel/cproc/cproc-0_pre20260113.ebuild
new file mode 100644
index 000000000000..421c7d21c619
--- /dev/null
+++ b/sys-devel/cproc/cproc-0_pre20260113.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2021-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo toolchain-funcs
+
+if [[ ${PV} = 9999 ]]; then
+       EGIT_REPO_URI="https://git.sr.ht/~mcf/cproc";
+       inherit git-r3
+else
+       CPROC_COMMIT="e963ced5c2b0a102778b19906eaef1af92ed7862"
+       CPROC_P="${PN}-${CPROC_COMMIT}"
+       SRC_URI="https://git.sr.ht/~mcf/cproc/archive/${CPROC_COMMIT}.tar.gz -> 
${CPROC_P}.tar.gz"
+       S="${WORKDIR}/${CPROC_P}"
+
+       KEYWORDS="~amd64 ~arm64 ~riscv"
+fi
+
+DESCRIPTION="C11 compiler using QBE as backend"
+HOMEPAGE="https://sr.ht/~mcf/cproc/";
+
+LICENSE="ISC"
+SLOT="0"
+
+DEPEND="sys-devel/qbe"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+       "${FILESDIR}/cproc-bug969281-const-strchr.patch"
+)
+
+src_configure() {
+       tc-export CC
+
+       edo ./configure --prefix=/usr
+}

Reply via email to