diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-11-11 04:22:49 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-01-12 09:30:55 +0200 |
commit | 4d6ca1ab223f73ecf801f051952aa6ffcc416899 (patch) | |
tree | af52ca24af60a5dac041ff0db20dd33130afc0bb /sys-devel/qbe | |
parent | media-sound/denemo: Stabilize 2.6.0-r3 amd64, #920592 (diff) | |
download | gentoo-4d6ca1ab223f73ecf801f051952aa6ffcc416899.tar.gz gentoo-4d6ca1ab223f73ecf801f051952aa6ffcc416899.tar.bz2 gentoo-4d6ca1ab223f73ecf801f051952aa6ffcc416899.zip |
sys-devel/qbe: apply dbgfile patch serie from master
This is needed to make new snapshots of dev-lang/hare::guru, Alpine aports has
the same patches applied since 2023-09-05 for the same reason.
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/33763
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-devel/qbe')
-rw-r--r-- | sys-devel/qbe/Manifest | 3 | ||||
-rw-r--r-- | sys-devel/qbe/qbe-1.1-r1.ebuild | 46 |
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-devel/qbe/Manifest b/sys-devel/qbe/Manifest index 487bf9581e4a..d1437d2fdad0 100644 --- a/sys-devel/qbe/Manifest +++ b/sys-devel/qbe/Manifest @@ -1,2 +1,5 @@ DIST qbe-1.0.tar.xz 237756 BLAKE2B ca6e1ee81f7329a8aee1f4597de391dcc44595fb8371468360fbcf1a5fc9fa404c614d49e4668fba568fa8d11e753d10b4c46380884fa635a56331b059b69abd SHA512 7f53d4440fda36b21dbf390aa8b9c17ae7c137a6e034dd73ca1c2068d84dbe236a452d86cab8d8bce0b3d66c3f08e70f2bf54bc7cc2e93208cc1900014c18ad1 DIST qbe-1.1.tar.xz 244740 BLAKE2B fdadca56ff5a6b56f30e0a99724908e356b3c1b545e5b35a27080a92ca0d417ff53deb8f4c0a31b9289acab58fb79568384669004b0275cddd83afb198a7a5aa SHA512 1e5d7d1df3d73849dbf19dd1d84c9bba63a5041622823a5a239496032f9d82bd1640dd2bbd03e28c8a180b8e66a1fe10deb940b5d8fde996bf593f7e8d943e8b +DIST qbe-dbgfile.patch 3813 BLAKE2B fbe0dd9c4fab8399054c091bb50fd8002c43108c53f2177ea000784f0707e9fb4fe432d637d03ccd87247f0ab1d232d5ba81e3a3e61347b7e1f31bb61b701c62 SHA512 41694848c95341f16618cd8f8d3222415e551b36b3428467e7ad066e257bc235dedbae4a1da4a6ae9034d102e359ecd69f51c580ad3f613e0e427df1882d1c65 +DIST qbe-info-tracking.patch 6305 BLAKE2B 03cb80de722e642812558fe7fe93eb3683f0fb54a2d78a1ceacf68016c779dee47f314651f0a6f1690d8b3ddc3089d41a894caafa83ec408d46b9375d24c9e3d SHA512 00d37894fca754f23024a8d64591e22f74b8f50022de77c1b25b474a68d204f0d89f2f3dbbfb822c5293ebccdadd923516c28b1e3c358c07de7a284fa0ef722f +DIST qbe-parseline-tweaks.patch 1519 BLAKE2B 88940d42dbed988a5ecff68f18a1fab9c5024d5fb4d8219a1984f676808f9b5dbc4c4a729bf419358e0be71244aa4b97e23b3575aa4458a5c4059f7f1cd2151e SHA512 8701657032f26f8f7fe0de768573c5f111f80e5cc9d62fb4bfcf895b421532f039f08234bca8b4156b097f80893483fa8323cde3a8f3c8a5c729412328097bb2 diff --git a/sys-devel/qbe/qbe-1.1-r1.ebuild b/sys-devel/qbe/qbe-1.1-r1.ebuild new file mode 100644 index 000000000000..375946b25243 --- /dev/null +++ b/sys-devel/qbe/qbe-1.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="git://c9x.me/qbe.git" + inherit git-r3 +else + SRC_URI=" + https://c9x.me/compile/release/${P}.tar.xz + https://c9x.me/git/qbe.git/patch/?id=0d929287d77ccc3fb52ca8bd072678b5ae2c81c8 -> qbe-info-tracking.patch + https://c9x.me/git/qbe.git/patch/?id=baf11b7175c468d3d9408d332b1c0d529a4957ee -> qbe-parseline-tweaks.patch + https://c9x.me/git/qbe.git/patch/?id=36946a5142c40b733d25ea5ca469f7949ee03439 -> qbe-dbgfile.patch + " + + # 64-bit RISC-V only + KEYWORDS="~amd64 ~arm64 ~riscv" +fi + +DESCRIPTION="Pure-C embeddable compiler backend" +HOMEPAGE="https://c9x.me/compile/" + +LICENSE="MIT" +SLOT="0" + +DOCS=( README doc ) + +PATCHES=( + "${DISTDIR}/qbe-info-tracking.patch" + "${DISTDIR}/qbe-parseline-tweaks.patch" + "${DISTDIR}/qbe-dbgfile.patch" +) + +src_compile() { + tc-export CC + + emake CFLAGS="-std=c99 ${CPPFLAGS} ${CFLAGS}" +} + +src_install() { + einstalldocs + emake install DESTDIR="${ED}" PREFIX=/usr +} |