diff --git a/dev-db/sqlite/sqlite-3.53.2.ebuild b/dev-db/sqlite/sqlite-3.53.2.ebuild index 992e2a6461d22..3fcdebfb69789 100644 --- a/dev-db/sqlite/sqlite-3.53.2.ebuild +++ b/dev-db/sqlite/sqlite-3.53.2.ebuild @@ -333,7 +333,7 @@ multilib_src_compile() { emake HAVE_TCL="$(usex tcl 1 0)" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" if use tools && multilib_is_native_abi; then - emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_expert sqltclsh + emake changeset dbdump dbhash dbtotxt index_usage rbu showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_expert sqltclsh fi if [[ ${PV} == 9999 ]] && use doc && multilib_is_native_abi; then @@ -401,7 +401,6 @@ multilib_src_install() { install_tool dbtotxt sqlite3-db-to-txt install_tool index_usage sqlite3-index-usage install_tool rbu sqlite3-rbu - install_tool scrub sqlite3-scrub install_tool showdb sqlite3-show-db install_tool showjournal sqlite3-show-journal install_tool showshm sqlite3-show-shm diff --git a/dev-db/sqlite/sqlite-9999.ebuild b/dev-db/sqlite/sqlite-9999.ebuild index 3023b268d079c..3fcdebfb69789 100644 --- a/dev-db/sqlite/sqlite-9999.ebuild +++ b/dev-db/sqlite/sqlite-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,8 +19,8 @@ else #printf -v DOC_PV "%u%02u%02u00" $(ver_rs 1-3 " ") SRC_URI=" - https://sqlite.org/2025/${PN}-src-${SRC_PV}.zip - doc? ( https://sqlite.org/2025/${PN}-doc-${DOC_PV}.zip ) + https://sqlite.org/2026/${PN}-src-${SRC_PV}.zip + doc? ( https://sqlite.org/2026/${PN}-doc-${DOC_PV}.zip ) " S="${WORKDIR}/${PN}-src-${SRC_PV}" @@ -29,7 +29,8 @@ fi LICENSE="public-domain" SLOT="3" -IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" +IUSE="debug doc icu +readline secure-delete static-libs tcl test test-full tools" +REQUIRED_USE="test-full? ( test )" RESTRICT="!test? ( test )" RDEPEND=" @@ -49,10 +50,6 @@ else BDEPEND+=" app-arch/unzip" fi -PATCHES=( - "${FILESDIR}"/${PN}-3.47.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch -) - _fossil_fetch() { local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}" local repo_id="${1}" @@ -333,10 +330,10 @@ multilib_src_configure() { } multilib_src_compile() { - emake HAVE_TCL="$(usev tcl 1)" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" + emake HAVE_TCL="$(usex tcl 1 0)" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" if use tools && multilib_is_native_abi; then - emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_expert sqltclsh + emake changeset dbdump dbhash dbtotxt index_usage rbu showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_expert sqltclsh fi if [[ ${PV} == 9999 ]] && use doc && multilib_is_native_abi; then @@ -369,7 +366,12 @@ multilib_src_test() { addpredict "/test.db" addpredict "/ΓΏ.db" - emake -Onone $(usex debug 'fulltest' 'test') + emake tclextension + if multilib_is_native_abi; then + emake -Onone $(usex test-full 'xdevtest' 'test') + else + emake srctree-check fuzztest sourcetest $TESTPROGS testrunner + fi } multilib_src_install() { @@ -399,7 +401,6 @@ multilib_src_install() { install_tool dbtotxt sqlite3-db-to-txt install_tool index_usage sqlite3-index-usage install_tool rbu sqlite3-rbu - install_tool scrub sqlite3-scrub install_tool showdb sqlite3-show-db install_tool showjournal sqlite3-show-journal install_tool showshm sqlite3-show-shm diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 435a0655a3520..e2526b7fff4d0 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -53,11 +53,13 @@ DIST gcc-15.2.0-patches-5.tar.xz 17460 BLAKE2B 66a813306de7b83da88fd293536f7795f DIST gcc-15.2.0-patches-6.tar.xz 18324 BLAKE2B 876697050a872133d4deac7005c65c1dcc2ec8f153f4c3455dfd26758ad2ff8e8e860e0b27d224110caa9160bb05376cde147013cca2ed3d2009c64295add557 SHA512 cfe83511b9e212e0201c8b2ff2cbc1fad4344300d6e80018cbb17c5d1720ba67c7c253d8c739c4359c69a96b7594fca0dbc8de324ef213b263dbeeacdda1d105 DIST gcc-15.2.0-patches-7.tar.xz 18396 BLAKE2B 2874678100433d899646a29d6b985fa48f0a19a73036103f8047c252bc1dd3f1df0d5c09bf1f97adfb2866c34a8e7ca6977909b5b4551b67a38eb45bf66afa95 SHA512 92a7579a134857e3bf3feae33c7dfdfe269f58dbe0013860a0249c0b26052b34ff92cb7cb23bb99719a4eaa6f52385f33e80f4abc2a49ab9cef2f3363352cbca DIST gcc-15.2.0-patches-8.tar.xz 17584 BLAKE2B e35d85b993fc2ad86924158cac893a815f70332335ed02d970bcdf89c1ceafc2972576bcd85b4912e6ada91bdd80e8f10cbc6be798c804438368bae60abe2731 SHA512 6440a792320037b746ba405469773b96c1d4272c5248ae3808e6d8a2d576564c0f52889a6f88c3271233c8c2fe7ecb974d31ced2141f16f2c5ca68b9e47ace8c +DIST gcc-15.3.0-RC-20260605.tar.xz 101375752 BLAKE2B 607ea9833e704aa3b31a2639706b09e85d4bf505f076812865761d6cee933d59dfac5fa2f033f2b9bf11d8f62030062de063d09959c3b387f4f2e0682454a506 SHA512 a90517e09b03ab69bf7cb1968434cb574e7ffcce25b8fd9ae2e7e067e127a07524c684c3802e3caca2989a5f179dadb6cea69bfd8d860811dd6d770a92f9817e DIST gcc-16-20260502.tar.xz 98912088 BLAKE2B d4b953ef6606fa8d3b69d474eb3c223809924869b9c562d39ad37759fa00468885b06a707b1479e38b15cbd8ca13dd8cc27b65ffceb53dd41b78cadf35ea3b6d SHA512 6beb4f6c7169c87ebc4a51c268b8c7fcbb07e96edfc674fc72afdc3dd605b4e44c05b2fdfc86963ffeb8346a64973630e456bdc91d0a5b42a11144cb2dbe2d18 DIST gcc-16-20260509.tar.xz 98914656 BLAKE2B c7a6087ba990f50cab066c006f7c55c5249b01e162f066ada3f9dd92bc3adaa85af2d5f2baa197dc7ea454aa4af411cfccd3d22e526dd24e27af77cdbbc920a6 SHA512 01c948f971687e2a5531b53f216dbf29c39634705f2e1c569e65c6b6e25691c4cfc45f84af8d71dcdafd4d4f909e3f8791d35b16064185a4d33da489e30bc088 DIST gcc-16-20260516.tar.xz 98915364 BLAKE2B 6515ec0d002d169972aa583209cd816658a33b8bdad2ded7edfbe28d19b1c51d93090ce43469d909894a29e628371be04eddb611c9264013e3bc754f807d756a SHA512 bf1677cc3576e9a1bde36b48d8f21d85df328c28e3b912d37ad5ece56fafa4aca56d82cd0487e1f8e8162c9edb28cd12e5025c040b7d8f46948b3d2de3c30bcd DIST gcc-16-20260523.tar.xz 98921832 BLAKE2B 04c6e5639a27f61913ba7771d54c6d581af637838d6ff667297ff98870c1f262bf9f15a9c885cd22139a2c0182a5d7343612c1113b4992acef9814e3fccb54e3 SHA512 311f073a51c71b5cf49f8a7012371203e1669d9e1e7cb63ba8879662b130e88f24a87827669d96fa6caa224861acf82ed728be547af9296920dbca30498630d7 DIST gcc-16-20260530.tar.xz 98931912 BLAKE2B 1564a846116739b12eb0175e6e06af175734540ab27a65c46eb95ca1f83c9316629f9cf18c441421837a035d767bf2d861a7c403bfe6c130f498260b5548ea8f SHA512 94c10f416c8a5e9e02be1efe9d6e86ab0cbd020e17db16ae2589bb9de7dc776e17c321d2ff5dd0cdd4ce5d1d1895afc9528ffdda76fd0242744e7807eee093f2 +DIST gcc-16-20260606.tar.xz 98933420 BLAKE2B 67bb9d27dd868677109d65218e8accf7aa33007941eedf8192e8ab251730e90ecc91345c1ddf3b76d5b50cb6328af0047d3a1598ec365fc4b7ee56d1df971d6d SHA512 6fc9ed0659a5c9d890c8c726b10ac14a6f0f84764dc2894fa30525962c93fd6ea3d33d41e8b40dd21e1f8ffb201e665b1e84179f826e6bfdb99df280f1e892bf DIST gcc-16.1.0-musl-patches-1.tar.xz 3036 BLAKE2B 9f1fd288c22d61883d579b7d198ca5497ae9d18a8d85208ce9cfa14b2799ebd012ab17a0a4443ba1d899339c2ee217c907fc8a78e2a19022bfaffbe32c513aa4 SHA512 d362915d57b8f6b1dd0dfa879d7a4f31b50465ff65281a0bf961936ea08bed23d9e1c827f8079c1c9e18191f22aa61494add36fb58763bed934f19ca53767a2a DIST gcc-16.1.0-patches-1.tar.xz 25128 BLAKE2B 487f8e1f204b8218ae54ef093fd3b99dd94a24e0fdc22ac37182b28e382e5601edc85e9af5c8374e76a576c8e8280cb84603e6f60bfb645a2adff5ee8e2e0070 SHA512 f5b4aefa101cef70c6bd78c689e90b0a30db14718ae2ff01827fe13af793f812616f16cc705fa333676f31025f3e840e243ef52851d32278b86d8b515589a2d9 DIST gcc-16.1.0-patches-2.tar.xz 26584 BLAKE2B 3597414aa1bedace5444834778bb666fc3372f3703975d5bc4656a792dbe498a76be582254bb3400f157cfcce2925c117d19595380fa2ffb6dab1e6f0d36ad57 SHA512 480a457b8944df5dd189c912d76457d650c348bce161465fd6031dd7c2803f8f9b26ef31b4ae8a8770c88eaa9c59a42c06ee1be3e1c8ec718974dda8b38a84ad diff --git a/sys-devel/gcc/gcc-15.2.1_p20260605.ebuild b/sys-devel/gcc/gcc-15.2.1_p20260605.ebuild new file mode 100644 index 0000000000000..e4e9fbfe94e8c --- /dev/null +++ b/sys-devel/gcc/gcc-15.2.1_p20260605.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_GCC_RC=1 +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.2.0" +PATCH_VER="8" +MUSL_VER="1" +MUSL_GCC_VER="15.2.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sys-devel/gcc/gcc-16.1.1_p20260606.ebuild b/sys-devel/gcc/gcc-16.1.1_p20260606.ebuild new file mode 100644 index 0000000000000..9a2ea79cb4fc4 --- /dev/null +++ b/sys-devel/gcc/gcc-16.1.1_p20260606.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="16.1.0" +PATCH_VER="2" +MUSL_VER="1" +MUSL_GCC_VER="16.1.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +}