From 896d6a8a88861c42b5d531a2f147c8a29a149bd8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 1 Dec 2022 20:53:45 +0000 Subject: gentoo auto-resync : 01:12:2022 - 20:53:45 --- dev-lang/Manifest.gz | Bin 19341 -> 19336 bytes dev-lang/ammonite-repl-bin/Manifest | 2 +- .../ammonite-repl-bin-2.5.5.ebuild | 2 +- dev-lang/ocaml/Manifest | 2 +- dev-lang/ocaml/ocaml-4.14.0-r1.ebuild | 2 +- dev-lang/ruby/Manifest | 2 +- dev-lang/ruby/ruby-2.7.7.ebuild | 2 +- dev-lang/swig/Manifest | 4 +- dev-lang/swig/swig-4.1.0.ebuild | 49 -------------- dev-lang/swig/swig-4.1.1.ebuild | 49 ++++++++++++++ dev-lang/zig-bin/Manifest | 7 -- .../zig-bin-0.9.1-fix-bad-hostname-segfault.patch | 26 -------- dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild | 47 -------------- dev-lang/zig/Manifest | 7 -- .../zig-0.9.1-fix-bad-hostname-segfault.patch | 26 -------- dev-lang/zig/files/zig-0.9.1-fix-clang16.patch | 23 ------- dev-lang/zig/files/zig-0.9.1-fix-riscv.patch | 47 -------------- .../zig/files/zig-0.9.1-fix-single-threaded.patch | 13 ---- dev-lang/zig/zig-0.9.1-r3.ebuild | 72 --------------------- 19 files changed, 57 insertions(+), 325 deletions(-) delete mode 100644 dev-lang/swig/swig-4.1.0.ebuild create mode 100644 dev-lang/swig/swig-4.1.1.ebuild delete mode 100644 dev-lang/zig-bin/files/zig-bin-0.9.1-fix-bad-hostname-segfault.patch delete mode 100644 dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild delete mode 100644 dev-lang/zig/files/zig-0.9.1-fix-bad-hostname-segfault.patch delete mode 100644 dev-lang/zig/files/zig-0.9.1-fix-clang16.patch delete mode 100644 dev-lang/zig/files/zig-0.9.1-fix-riscv.patch delete mode 100644 dev-lang/zig/files/zig-0.9.1-fix-single-threaded.patch delete mode 100644 dev-lang/zig/zig-0.9.1-r3.ebuild (limited to 'dev-lang') diff --git a/dev-lang/Manifest.gz b/dev-lang/Manifest.gz index fa74b4af17c4..87fec6751dd4 100644 Binary files a/dev-lang/Manifest.gz and b/dev-lang/Manifest.gz differ diff --git a/dev-lang/ammonite-repl-bin/Manifest b/dev-lang/ammonite-repl-bin/Manifest index 738418cc9253..3ad3e831384c 100644 --- a/dev-lang/ammonite-repl-bin/Manifest +++ b/dev-lang/ammonite-repl-bin/Manifest @@ -5,5 +5,5 @@ DIST ammonite-repl-bin-2.5.5-2.13 48455620 BLAKE2B 7cd2701a5bc26f49dac4ac9ff924d DIST ammonite-repl-bin-2.5.5-3.0 53685162 BLAKE2B 7ab579bb3738a938e5ad4da105794add287704dae151c77092469864b124aad8c214ae94e42efd43b069bf4c849864e04fe9e826d8cb553f778a318ccc835697 SHA512 8f6230341ca2288218166a9ebb8a74b8abede0b0a37e89e7ced6b17cc034458cf03109af6676bb3a34df969e86c8550270e7a446d4aa7e3684d89a288df2436c DIST ammonite-repl-bin-2.5.5-3.1 54766874 BLAKE2B 5bcf183eedad202b34c971253f73cf480baca35c122dfde5ed1fe2617332241d30b31912263d619155cbbc9d7126802d40fc4f0fba73cd1d59cc52c4cf670293 SHA512 02b7c84e91c67f1e9d0ff82fbef6dc7dcc2ff2fe3ab36db5fc4181a5f7529a4997501d7420d5ddb2404e00965f1f12a17128c1ba3f990ff92d9ff18620a3cb02 EBUILD ammonite-repl-bin-2.5.4-r1.ebuild 1043 BLAKE2B 3bc2e83255b51d5c3ea1d14f33dfced7a2f60cc9b19350ca03c1595c5b272f38880b2cce7c7a931f3de8eff946c0beb2db2fac5f3bba2e3d5637bcbc0b72d084 SHA512 d458554eee968cecadc2b6e75052939ba90a53cf5160f97fabdf6913a330c404f2a85ccb9f2e40badbd93784f79d3434704e2337708284fa4b8afedf401ce087 -EBUILD ammonite-repl-bin-2.5.5.ebuild 1045 BLAKE2B 95f17e78259ec32664c2cca0a04036dc9df85662ff79c84ecf554b1b24ec37e4d22839f27f094648bd03d8998266ba436c19f0e2239facded4be9cb398a9313b SHA512 65deac59fcc4d9073ac844399dafb343e35c5831b8d4551993b76dfc3394f41598511f6c70472cc18d8e2a17c7e209a3226428093b7a9aec287d566b53c50846 +EBUILD ammonite-repl-bin-2.5.5.ebuild 1043 BLAKE2B 3bc2e83255b51d5c3ea1d14f33dfced7a2f60cc9b19350ca03c1595c5b272f38880b2cce7c7a931f3de8eff946c0beb2db2fac5f3bba2e3d5637bcbc0b72d084 SHA512 d458554eee968cecadc2b6e75052939ba90a53cf5160f97fabdf6913a330c404f2a85ccb9f2e40badbd93784f79d3434704e2337708284fa4b8afedf401ce087 MISC metadata.xml 736 BLAKE2B 72e4d24ad974a4459e4717d25dbb50b601609400cff9c8f0386e7470a21ddf72e811b015d8d019147cd2c81e5aa24de96ef2aeeb0c98d5cda6001cc010519d6d SHA512 3445736cf37693d907c929f519a3f8ca1fd450cbeb5eda48438e8af3399c13542979fb75bf11a2e50025c5785ed4cd176b7e22012cea0565bece209411aa15ca diff --git a/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.5.ebuild b/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.5.ebuild index 4e946c7bdb4c..7bda042dadbb 100644 --- a/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.5.ebuild +++ b/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.5.ebuild @@ -12,7 +12,7 @@ SRC_URI=" scala3-1? ( https://github.com/com-lihaoyi/Ammonite/releases/download/${PV}/3.1-${PV} -> ${P}-3.1 ) " -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" LICENSE="MIT" SLOT="0" diff --git a/dev-lang/ocaml/Manifest b/dev-lang/ocaml/Manifest index b04d5d5d6da4..8328fba50989 100644 --- a/dev-lang/ocaml/Manifest +++ b/dev-lang/ocaml/Manifest @@ -23,5 +23,5 @@ EBUILD ocaml-4.10.2-r3.ebuild 2801 BLAKE2B 089f0d19153db72faa63db09fc7ef60b69ea0 EBUILD ocaml-4.11.2-r2.ebuild 2642 BLAKE2B 3639ba3300e16337b2b0d31b4bca1accad472b734003207a7a863de24b7391686a9e18fd6c12ee7775efe40f0c21ae89d652b7c7c40e5e757ea360333d5055df SHA512 5ef88e24a64f6627b599f05fd6e6f9fd4e476f4c7547b00385d3594ceb24a7c15c4b32f055adc8d1ebc101ec0f948b339d4368a573b0b49c931ad061dba0834a EBUILD ocaml-4.12.1.ebuild 2559 BLAKE2B 50f373f16833ba2783fa3f1758ce0678934b3be58d662b595440f8abf0f0179ea78781835303dadd583cedf412c08cb1799e54276237fae491cdd944615d9f98 SHA512 9f3ce96e0f69f6a11d431255709f0ea11f46bb80f43597d3b026a916191bc6e71671621720184e4d2ddb962dc45360a6d0541c68525720ea89e63b009acf57f8 EBUILD ocaml-4.13.1.ebuild 2522 BLAKE2B 8960f3e3ec99267b9a5673c7ab3765970ecbf1d1cd35500be26b7d0ec5d4e35c2c700b39179c2178f86b9f89fe9772d47f01ea70f925b6bfce048f7a799cbfba SHA512 390b1b201c9a3b9cebf6a17e4820224e7b321390801134a496ba45fe607a9af8b1417eb3d17cf52f41c5a70eef9d463182df392cb264e1243efbce90f7f5a8e7 -EBUILD ocaml-4.14.0-r1.ebuild 2541 BLAKE2B 5615b18e98cef068ae8c9302e9b3ef4a4c35dd23fbf36ca0584d3cdb4729063c364e7fab9c7973d69af6d1c4a95620a151c44419d4a544e9e09a6b615f81f1c6 SHA512 62d83fb58544e25ce601c90a604a5ff057addc752dfd8fbc9233617079ec07c82f419b115458a077638f7bc6452fa40e73e4c9555e320c6c58454a7ec154ce03 +EBUILD ocaml-4.14.0-r1.ebuild 2548 BLAKE2B 65ce4b1a463df7ba0d42fabc25fa57e72dece6b8624a94c8eadc7fbb3c800ad2363e87613c5e5b1fefb06cba55189f83d8cf6aebb6a140876b360a2ccd8e90e0 SHA512 d24f07e097874566badcbc8eaebb8eb62bbe292242a5c94893c77f509c5b2313a15427e1503dbbcde2ecfc1d14bcbec5acd8b487d110ad0aa65d73c56a001cc7 MISC metadata.xml 776 BLAKE2B e7b13b4bb764cec6df76ede0eb2d492cc705ce51b18a445fa3f9ebaab119fab8cae45a2a9d02c70f38e19f2e2d2c06de648a3a0843a603dd7b68942c7cd00bdb SHA512 92e3afe1c40991d37dc460d6091ff2b15c83740343e5d8dd69344eb61d873fbd66af1b96e70904f7757c06f2b104d1450883cc79877709c779467af64e2ea96e diff --git a/dev-lang/ocaml/ocaml-4.14.0-r1.ebuild b/dev-lang/ocaml/ocaml-4.14.0-r1.ebuild index 6c564eb4fcae..17cc002d399d 100644 --- a/dev-lang/ocaml/ocaml-4.14.0-r1.ebuild +++ b/dev-lang/ocaml/ocaml-4.14.0-r1.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Programming language supporting functional, imperative & object-ori LICENSE="QPL-1.0 LGPL-2" SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" IUSE="emacs flambda latex +ocamlopt xemacs" RDEPEND="sys-libs/binutils-libs:=" diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest index 210894cd3ba5..1a777b3375bf 100644 --- a/dev-lang/ruby/Manifest +++ b/dev-lang/ruby/Manifest @@ -22,7 +22,7 @@ DIST ruby-3.0.5.tar.xz 15880196 BLAKE2B 581aa202f6b1b5c72bb18d486c4f74ec87a6c2dd DIST ruby-3.1.2.tar.xz 15101588 BLAKE2B 3f06d432f023d65c4808379140c18a922ad6c6443cf7f4b5ed3d44d2e0b7e19cbf0064b5214b46f3c5335f4e61ff473943fd565082ef0b645558b83e89dd0533 SHA512 4a74e9efc6ea4b3eff4fec7534eb1fff4794d021531defc2e9937e53c6668db8ecdc0fff2bc23d5e6602d0df344a2caa85b31c5414309541e3d5313ec82b6e21 DIST ruby-3.1.3.tar.xz 15300224 BLAKE2B f3ef9031c2902bf5d624dce0a4584724e7a9099fb8b33b86a99026c37f4b91f23ff35c23a3cd7715bf739e6c539cc3612b5a750d00cbacf8e4ebcc70bbc85f41 SHA512 4b0fd334ae56132ba98b8a69adad54bdcf7f7aeabd5eba5b0f0399a3868e2054f9026ca1b1cb2dbb197a9e9b0610b263481949c0623a62071546bc5adff8ca69 EBUILD ruby-2.7.6.ebuild 7913 BLAKE2B 8330eaa1563f2880730eee59532de22372aad9bc8c7ea94ee489869100875890316306ee5edc268acc105be2a54b2fdb0a456364290e69bd5b046acfbb189012 SHA512 224412dcc37ec8368907190e14ac3dfe16f5636b442d92f029b55a1cfdffa036828c279e8da9af61ccbd3c218e138068e35e3cc2d2614424c15395281a2cad9a -EBUILD ruby-2.7.7.ebuild 7921 BLAKE2B 165eb81e6c360c478d364566e2a2c95b162aae7181fc1a34f73bfbb139609003c5af6465bb6b9ebd2d3ab91cfb9c3c47aee8088167500e1be6891c45eacee573 SHA512 ea5d07e0e6243ac6e5daba45f4f00106a2dbefdb79c2b1231e60a63a542172d016ee717052bd16cac11f023539686143e7dc3fb62cb53d2eb3664e4ba97005de +EBUILD ruby-2.7.7.ebuild 7920 BLAKE2B d1248cc992216ffa9e4820eb01d2e2764584b63b927ae3221eeec3bf0e4c11d60308c3f91bcd6a24a04e51324cc3f55c17ecb68c1fe268c6c82773558e39e38c SHA512 a424972da0aba0a473645ccd60674cebdef97e5e92e8fdbb7402499e052df87cd6c4d187e83d9ea6ea8eb36aa0326a4803db1c35d1a2bc6a70e6ee77ae42dd39 EBUILD ruby-3.0.4.ebuild 7768 BLAKE2B b20ea1f1c0cbc583a41587f7c32e83def9a50045cc6bf6607a0ef6f90b6712d0bc242abb5ad15a152b3b6b037d3038c38006e34b4b6d777959ec84250ccae6fa SHA512 9ae32072ad97f3fe39a98bcd6ec249a6d1be97e8104b8482dd3d56c53b945c154cac4b67012938fb9b87352e984c510cd48c9e0ed602577c90881b3fb845ec2f EBUILD ruby-3.0.5.ebuild 7774 BLAKE2B 7ccf3d999e50ee855c60969763c057dbe9354b090fe9928dddd322b6189f526b2e94504f9fd6b0f352f3dca039fd74fec3770f1777ce7f7ae9ec0e41e798907d SHA512 b10709b08711b5f3292813f60d0fca56fbf1d66e1893312e77812759ee056ec8fe5883d94d57b103947d518e0ec392e02bddb8370cf6508366f8293715a2ef62 EBUILD ruby-3.1.2-r1.ebuild 7386 BLAKE2B a9d1ddefbfb87658518a66a49cbd69b3f17907c65997468489356510733f51a8e02b560303e0581dcfdecd6ccf0c2b4ac57c21b4b69505d151bc15c9f1d508ee SHA512 ada276970c6f78ccb8085f8c2b898bc38170b62efb32f3fa024b8852f60bd3f723c4d3c9c0b6cd1b6877486f91372a6880c38ee01aea2cf3bafdc0abe85d6553 diff --git a/dev-lang/ruby/ruby-2.7.7.ebuild b/dev-lang/ruby/ruby-2.7.7.ebuild index d3f3a3c6699d..c7fc8aaab139 100644 --- a/dev-lang/ruby/ruby-2.7.7.ebuild +++ b/dev-lang/ruby/ruby-2.7.7.ebuild @@ -17,7 +17,7 @@ HOMEPAGE="https://www.ruby-lang.org/" SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz" LICENSE="|| ( Ruby-BSD BSD-2 )" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="berkdb debug doc examples gdbm ipv6 jemalloc jit +rdoc rubytests socks5 +ssl static-libs systemtap tk xemacs" RDEPEND=" diff --git a/dev-lang/swig/Manifest b/dev-lang/swig/Manifest index 3baf4c992dd4..c31bcd08014b 100644 --- a/dev-lang/swig/Manifest +++ b/dev-lang/swig/Manifest @@ -1,5 +1,5 @@ DIST swig-4.0.2.tar.gz 8097014 BLAKE2B 4c36b7e9b9bf1663779aa31b0eda8a1fe443695d945bcc1642c3404b22e45440def85e58dd65dc18a2ca8c00ffdcfe0f1d75373b7becc0b0e5402fda90b8c29a SHA512 05e7da70ce6d9a733b96c0bcfa3c1b82765bd859f48c74759bbf4bb1467acb1809caa310cba5e2b3280cd704fca249eaa0624821dffae1d2a75097c7f55d14ed -DIST swig-4.1.0.tar.gz 8600226 BLAKE2B 6e10c04251153bd7300145877e6f078f7cb30d0cd18642f9094574da5f0e9cc59e40b4c8a1bf17523dc5acfd112e45297c7ada00b445d2e7696a137f48664bc3 SHA512 a7d43d6aa764923826786081a3f2e25aa0f8345e1169c1e57bf02d01f6f41c92d8db0f360ec86e0e428ef5a21d1b5cd3edb7e4b71d0beff3e6611e344b5c22b1 +DIST swig-4.1.1.tar.gz 8600805 BLAKE2B 898d3405f20c3e49626fb808b568e77c69b81ec2401c0a0c406f9e7a3d7d218353dc8b8ae88a3d485ddfc3be659971b961ee2c89d5b0c75aed0688e0952fd208 SHA512 1cea1918455a75ebc9b2653dd1715bd5dcd974554955f324295c6a6f14c0a715651b221b85fad4a8af5197e0c75bfe7b590bc6ba7178c26245fbbd9a7e110100 EBUILD swig-4.0.2.ebuild 954 BLAKE2B dfdf0c2db27888d3d4cfe83522e58bd9eeafce29ed01e2834f8e9b74ec1a699b55286f5945b020915c34e6d4aac3d4627eafd7e1be0e8e2effa1476065b768dc SHA512 1e04c8f7c2d2edb34cc082d21dfee6e24324392c598fcf6e91c8cae52b4df0ee18ea4e95611e19c1ba84b589949aee9f2f6e7a517dec5a9d025854be9eb7801a -EBUILD swig-4.1.0.ebuild 1104 BLAKE2B efe936de27c88400855af964a9f3e347977342547cb61fbecc337abb8d6b5e05ba9ae85c0c00044fb64afff627f61f42c2fcfb59174d1995ff9eb9af1b9b69fc SHA512 0b0315d1313ae9605ed5e996f192aa321e7182fb2909f84335595233354fa4715f71b7ff2b8da298e9e1e58a2a770f8516424f1cfa0f0226d56cd21a0ff7908e +EBUILD swig-4.1.1.ebuild 1104 BLAKE2B efe936de27c88400855af964a9f3e347977342547cb61fbecc337abb8d6b5e05ba9ae85c0c00044fb64afff627f61f42c2fcfb59174d1995ff9eb9af1b9b69fc SHA512 0b0315d1313ae9605ed5e996f192aa321e7182fb2909f84335595233354fa4715f71b7ff2b8da298e9e1e58a2a770f8516424f1cfa0f0226d56cd21a0ff7908e MISC metadata.xml 1019 BLAKE2B 1f6a79945d3bb92bd9b5c06f7b4e96c8c9f8f6e68d5c13890247d2c08adf46409a194e3198fb3df19f699a176fe92bebc1e7ba6eb0944a0db12c5e3271043552 SHA512 5ba26e3670ba852648a243f14efe096e52781418eb4d07cabc1bcf46efcd098d099ecbb3d504862540db796279fd855a581d60dd3b1de2f60e9d542e3ccb9b00 diff --git a/dev-lang/swig/swig-4.1.0.ebuild b/dev-lang/swig/swig-4.1.0.ebuild deleted file mode 100644 index 76be84b0a4f5..000000000000 --- a/dev-lang/swig/swig-4.1.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Simplified Wrapper and Interface Generator" -HOMEPAGE="http://www.swig.org/ https://github.com/swig/swig" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-3+ BSD BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="ccache doc pcre test" -RESTRICT="!test? ( test )" - -RDEPEND=" - pcre? ( dev-libs/libpcre2 ) - ccache? ( sys-libs/zlib ) -" -DEPEND=" - ${RDEPEND} - test? ( dev-libs/boost ) -" -BDEPEND="virtual/pkgconfig" - -DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO ) - -src_configure() { - econf \ - PKGCONFIG="$(tc-getPKG_CONFIG)" \ - $(use_enable ccache) \ - $(use_with pcre) -} - -src_test() { - # The tests won't get run w/o an explicit call, broken Makefiles? - emake check -} - -src_install() { - default - - if use doc; then - docinto html - dodoc -r Doc/{Devel,Manual} - fi -} diff --git a/dev-lang/swig/swig-4.1.1.ebuild b/dev-lang/swig/swig-4.1.1.ebuild new file mode 100644 index 000000000000..76be84b0a4f5 --- /dev/null +++ b/dev-lang/swig/swig-4.1.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Simplified Wrapper and Interface Generator" +HOMEPAGE="http://www.swig.org/ https://github.com/swig/swig" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+ BSD BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="ccache doc pcre test" +RESTRICT="!test? ( test )" + +RDEPEND=" + pcre? ( dev-libs/libpcre2 ) + ccache? ( sys-libs/zlib ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-libs/boost ) +" +BDEPEND="virtual/pkgconfig" + +DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO ) + +src_configure() { + econf \ + PKGCONFIG="$(tc-getPKG_CONFIG)" \ + $(use_enable ccache) \ + $(use_with pcre) +} + +src_test() { + # The tests won't get run w/o an explicit call, broken Makefiles? + emake check +} + +src_install() { + default + + if use doc; then + docinto html + dodoc -r Doc/{Devel,Manual} + fi +} diff --git a/dev-lang/zig-bin/Manifest b/dev-lang/zig-bin/Manifest index 02e1b57b1016..f500edd7a7a5 100644 --- a/dev-lang/zig-bin/Manifest +++ b/dev-lang/zig-bin/Manifest @@ -1,14 +1,7 @@ -AUX zig-bin-0.9.1-fix-bad-hostname-segfault.patch 935 BLAKE2B c1c54ccf40b4db9a8f9f68991e1ebafd81c2b996b41bd904ef842f5feed2d4ec19d61960ed1bda95873cb04a9fc58df7daa5d311537c9711f5100fb095eeb6db SHA512 c620da70b632e5a85d3136d6d54e42fe905ce8b5d899ca5ca9423ac7e7eaff036eea1f90a925c244794c0505469bf1320f5fd5d19d465c66505154ca78bcf519 -DIST zig-0.9.1-fix-detecting-abi.patch 22233 BLAKE2B fa523c4c4c23a74c0b4f85c6d2d91ef98b31d25694bb9dbc7988b82db972a16ab273aa9f1883cfa8ca79ef7fc56fca67d0a8656ba248b6db47bc902b7ac64a93 SHA512 259967f88f54c20f556bd9d67189ce3a2cfeb0250f0cee4dffb29020d976d61265a5dd9ae9cfcadfb7b1e152b47ee17f4184eafac2b80495f4ee8f98733cd692 DIST zig-linux-aarch64-0.10.0.tar.xz 40387688 BLAKE2B 47d0cb61f054b79dcd9e5f87f3f910c9440079dca7648a3017c871fb20bc76e07de5b76a438a9d8eda147e77061bebf43b1486160899eeca0972b547b269c607 SHA512 5db0df7fce49dd3ca7002c3d9782a8d16c8b92721cf5f8983978dddcfb42dd31c4e3edad5a321bceda627730320c95dc552226b9e5e06ba84315804153991de1 -DIST zig-linux-aarch64-0.9.1.tar.xz 37034860 BLAKE2B 3b984198d74ee01570e4e10175dc4471268970cc5bd66d732042f17f1cf31301cec9237df756b7fa589915ed4c4f29dcd9ba61fb8e65ce7e9b579762773fe26d SHA512 ca647f04a67a45ad9e869e335266fad9a4a0f3f377da31d54a6f022727404db6cf2386d33315df20d5da0b6883f59e27bb0d73e18856e571cf4bc8f890565639 DIST zig-linux-armv7a-0.10.0.tar.xz 50805936 BLAKE2B 57a2c8bf10d80a5b06570ebea786be725e6020a7184835a966ddae32a2126910915e2d2bae0932226edb644692ff39e7ab201a8d040c62106ac40539cd3e8096 SHA512 31d16e477a52e10d6ce4e646c7b97d6162c68d5938890b815fb9d5da527248ab46926649d68d5623953b9fbac707131c89d5c8388e9ae5128cf2182d0ab58278 -DIST zig-linux-armv7a-0.9.1.tar.xz 37974652 BLAKE2B 5d51260d8322d1400719d97c7cac2d12555622272900533128e20d45ea7a1c321b8a3eb9c7c406bbfd459da24d19451c65011bc2cac0b0c29a0372c56ea73a2b SHA512 239c5f02aeb1c85bc2c43374d610e27722c434d23cf3adf43b3923772dfe5800e340d6a6b3672bd307c159c2cccce5137aabb5b6648148c351e29c171de9e333 DIST zig-linux-i386-0.10.0.tar.xz 48451732 BLAKE2B e1ae0d48723e1439b612f56dee05776d83a9cabe4bd4ddc6198d777a51a5b2b8c696cf7ce7817641ab46edb91eff992abc4d12de7620d21b1bb63fc482d610da SHA512 6c4152137047efbf2cf3a65583697325baf29c5847734d38622207d15de04aa5bbcd15e37c3c07c51536a2f34ab16ceaf7776c009b0862cb510ed2a0494bdeef -DIST zig-linux-i386-0.9.1.tar.xz 44969172 BLAKE2B 7051242284f1ceca662a64257adf64b7383b71b475f27abd3377bdaf8335d56d8cbb9a961ebceb6ae26058258216848dcbde2f50f95a74e0b64578a9522f33d5 SHA512 5bdf0ebffe45023b5a28331137458d258048c7974311c8e8090bc610f0ec262dc0004f0a939cff443b1d94a9cca4035de8e6e98dad9d668413888da02b325b6d DIST zig-linux-riscv64-0.10.0.tar.xz 42272968 BLAKE2B 95fe8589b9be99625acb5c9a97fafd3126b838c7e0722529d34cfe87043cb0e8d6957e6f2bb3ac3ae1fc2f51cf6a062b98abe224c221ba659de1e16703b53255 SHA512 ae00cf4eb5e499bd44e94d6cd77464d85878881034ce088ef69aa1f3fdf58420768112b36007829ecaba74e77e96c0706222a2fc1397b773e3bb5f726a710549 DIST zig-linux-x86_64-0.10.0.tar.xz 44142400 BLAKE2B 7ba72ce57e616c5ead2fb84dc7e1b0ff08e8dffab56ca30cd00bff1d9b80fd62034f3d78b903f37f911665239a4717a6e93230faa77b3f387b0dada835672fb7 SHA512 87037766e58a736d7e4f9fca1c21dce070f2de8cd08dae7951e67252327b72dd69f79831f5c8e406be7ecc6522184400eba3bd265d3c7020c8fa4d2efc9f8766 -DIST zig-linux-x86_64-0.9.1.tar.xz 41011464 BLAKE2B 053fc1c3d30e5798b7d30c9a4f9b5609b9b080e9f237dab52ae661b183663fca6582dcc37458e8a51dd7eb4fbd1d3a9946f7c67cb756b69460f0e23b03cc96eb SHA512 0e5f5971dc9e586911f98122a410c98d8aaef2795d2d68488a1e9468ea45135479dac7f92708c973db4f8efce78cb0c6b3759cf239fba6237052434a2120d4d3 EBUILD zig-bin-0.10.0.ebuild 1987 BLAKE2B 37cd05153fe49d90878ce7ea7a93718acf84bcf9e9f99ac162fccc848a71dbb84ea1d23d4290de487e3ef3afb90192b66db5beba6d296859e342fecbcd62917e SHA512 5897db05f2b4ce8c920ed96a542ecd833b3c4f1191c56bd2684cc93186374f397ae96b756dc5fcd6336d2a820d8ed36af2d7855394d04ee261f9459257e8454b -EBUILD zig-bin-0.9.1-r1.ebuild 1482 BLAKE2B 1feaede767f5be72609d75c748d17d0b6df948014937887cb07f96381af9715a3dae9a192c4133501348a264bc19fee032eeaf1b33b657b819fe6bc849749117 SHA512 116e69284f2c65e7e7f75c609a742bbb858cb8e308d14563c159a62cb6e9778cdaba34e5c120bb876d2c693a3739250ff70d6dd0ce1788ec7bf1e07c5a8f4cd1 MISC metadata.xml 541 BLAKE2B 6f5c7fbf759f0430f69073a17a0dae4b8bebf335b54c3b43da6b24104dc3de05a3b686cddbbd31e4dae1fc31695a2f08d000d22437ed6f1847de8fa95e3b1952 SHA512 d49cf0a8ad76ac9a6f6fb091effddbbcd812b56f91df6d3c782e15197cb4ff4423fb1076671a232aabcb9833af19ef8c820ad6df312a1e4d72e665680314c083 diff --git a/dev-lang/zig-bin/files/zig-bin-0.9.1-fix-bad-hostname-segfault.patch b/dev-lang/zig-bin/files/zig-bin-0.9.1-fix-bad-hostname-segfault.patch deleted file mode 100644 index 2e87ecc6d6ee..000000000000 --- a/dev-lang/zig-bin/files/zig-bin-0.9.1-fix-bad-hostname-segfault.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://github.com/ziglang/zig/commit/601d8f721d6dc90ac390bf5ecc7d8bafdd6a30d8 -Bug https://bugs.gentoo.org/829959 - -From 601d8f721d6dc90ac390bf5ecc7d8bafdd6a30d8 Mon Sep 17 00:00:00 2001 -From: Veikka Touminen -Date: Sun, 10 Jul 2022 04:27:23 -0600 -Subject: [PATCH] std.net.getAddressList: fix segfault on bad hostname - -Fixes #12065 ---- - lib/std/net.zig | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/std/net.zig b/lib/std/net.zig -index 235ad8496a1..c381df9bce7 100644 ---- a/lib/std/net.zig -+++ b/lib/std/net.zig -@@ -731,7 +731,7 @@ pub fn getAddressList(allocator: mem.Allocator, name: []const u8, port: u16) !*A - break :blk result; - }; - const arena = result.arena.allocator(); -- errdefer result.arena.deinit(); -+ errdefer result.deinit(); - - if (builtin.target.os.tag == .windows or builtin.link_libc) { - const name_c = try std.cstr.addNullByte(allocator, name); diff --git a/dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild b/dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild deleted file mode 100644 index b731f0d2c5d7..000000000000 --- a/dev-lang/zig-bin/zig-bin-0.9.1-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A robust, optimal, and maintainable programming language" -HOMEPAGE="https://ziglang.org/" -SRC_URI=" - amd64? ( https://ziglang.org/download/${PV}/zig-linux-x86_64-${PV}.tar.xz ) - arm? ( https://ziglang.org/download/${PV}/zig-linux-armv7a-${PV}.tar.xz ) - arm64? ( https://ziglang.org/download/${PV}/zig-linux-aarch64-${PV}.tar.xz ) - x86? ( https://ziglang.org/download/${PV}/zig-linux-i386-${PV}.tar.xz )" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" - -RDEPEND="!dev-lang/zig" - -SRC_URI+=" https://codeberg.org/BratishkaErik/distfiles/media/branch/master/zig-0.9.1-fix-detecting-abi.patch" - -# Zig provides its standard library in source form "/opt/zig-bin-{PV}/lib/", -# and all other Zig libraries are meant to be consumed in source form, -# because they can use compile-time mechanics (and it is easier for distributions to patch them) -# Here we use this feature for fixing programs that use standard library -# Note: Zig build system is also part of standard library, so we can fix it too -PATCHES=( - "${FILESDIR}/${P}-fix-bad-hostname-segfault.patch" - "${DISTDIR}/zig-0.9.1-fix-detecting-abi.patch" -) - -QA_PREBUILT="opt/${P}/zig" - -src_unpack() { - unpack ${A} - - mv "${WORKDIR}/"* "${S}" -} - -src_install() { - insinto /opt/ - doins -r "${S}" - - dosym -r /opt/${P}/doc/ /usr/share/doc/${PF} - dosym -r /opt/${P}/zig /usr/bin/zig - fperms 0755 /usr/bin/zig -} diff --git a/dev-lang/zig/Manifest b/dev-lang/zig/Manifest index 6d1f770a73fd..0791a5d16354 100644 --- a/dev-lang/zig/Manifest +++ b/dev-lang/zig/Manifest @@ -1,11 +1,4 @@ -AUX zig-0.9.1-fix-bad-hostname-segfault.patch 935 BLAKE2B c1c54ccf40b4db9a8f9f68991e1ebafd81c2b996b41bd904ef842f5feed2d4ec19d61960ed1bda95873cb04a9fc58df7daa5d311537c9711f5100fb095eeb6db SHA512 c620da70b632e5a85d3136d6d54e42fe905ce8b5d899ca5ca9423ac7e7eaff036eea1f90a925c244794c0505469bf1320f5fd5d19d465c66505154ca78bcf519 -AUX zig-0.9.1-fix-clang16.patch 687 BLAKE2B db8601a4a889c8e0d740d68ebd825ab0a49afbf64e4fd391a2ea2c8ba0a86fb4b036e8d5ca5a23852e7de5214f804a1288e5dd39f3cc691adb571a3c0feae822 SHA512 00b27a4032ef27b627f2954549998901067a6432074a69013a2b6f6841ccb8595823fbf65e9bd61a63a45efd12dd9017d220521ab036a8b747b96498e4bd8cbd -AUX zig-0.9.1-fix-riscv.patch 1853 BLAKE2B 0d0c9e1d639ed1a5228ad7db3182f848d9f6deba0e8e091d993256b90fdf152def7f80446ba19aeee0bd4c6d6a87dfcba5df311a54ede2b79510b6552cb2da9c SHA512 5c85a7fed80b5d157c99f80cf9971cdd91c93477de49ad01d163956ebc17d267d6a0002212fe16f5ca04b35c96e5f4721d1be44c6f4955429940763d924cc92f -AUX zig-0.9.1-fix-single-threaded.patch 390 BLAKE2B 443a5ab709aa90ed92636310c204a15cbb60a997ff39f7f7102fdd4f21f66e64bd79516653729ecbd719aeb39809457c3db2d1c3c9d0614d1fb637307cc2a892 SHA512 f4e6f87a3aae5380c3f3e1eda85f10914119a378dd08c8375d18dd038dc0b131234a62fd86f46f64cd2038e5abd787e4a7876929fceac85b01bd6e4bce3b3263 DIST zig-0.10.0.tar.xz 14530912 BLAKE2B 5949a44ee039b7d5a163344a0fc26af8dd9cf311ed25c7092a665bb59ec7dec8dc3cd39918d81ef02c707aa8989b038fb21dfba3927fd31153a1404739b4ea3c SHA512 9d83ce51cc0ce404c06da820179c1cc47aa50e573fb1c831a96baa12c6b5226abe85b384110f2ffc4cbdc5f24eaba1f14a4e3249ffeaa248c0d73ba29859e682 -DIST zig-0.9.1-fix-detecting-abi.patch 22233 BLAKE2B fa523c4c4c23a74c0b4f85c6d2d91ef98b31d25694bb9dbc7988b82db972a16ab273aa9f1883cfa8ca79ef7fc56fca67d0a8656ba248b6db47bc902b7ac64a93 SHA512 259967f88f54c20f556bd9d67189ce3a2cfeb0250f0cee4dffb29020d976d61265a5dd9ae9cfcadfb7b1e152b47ee17f4184eafac2b80495f4ee8f98733cd692 -DIST zig-0.9.1.tar.xz 13940828 BLAKE2B 996b0e945f61b01dddbb7c8674a9e2d2d01b93eb48fdfd2c986496330990ffa64cba15f8bd8518b90ef6f514759ba6cc3fd31d6044c5b11b92bf92e3f7f15303 SHA512 0b8a5f9b7e34e4252536f59bc91429f1e76b2bf8e01f024095919f6ecf34db56b5c86c554fbb94bdcb5255394c87f2c87519c8f34c631f53816927ec0882ae2d EBUILD zig-0.10.0.ebuild 2540 BLAKE2B 79d46569b4707027657c25c7dcba54dfdd48fefd2d3ea4b92843888f4a1d7268fde05b55662888fad0deb7ce2ac407fdcf598c1046eb9d841737c65d58fb2f5c SHA512 e89bb8ca55df6bfc1d3d937157fa69422a53038ebdd605bac4dc4d4b927ef79c1e524fa6d298d35e38ce7405be8578441dafcedb6f82bf2f6ee04212053d8c55 -EBUILD zig-0.9.1-r3.ebuild 1611 BLAKE2B 1fb2ad3330aa85dfb54c4a41897fa000bf07712dd6db257598a182d814e996cb74b22b8fa615f2f97a600fb820b16f9158743c974670628f1f4e1091ab02620b SHA512 8469f133c8e32b9796e6076314ffbfb73fc19fd10c23139cc6aa228b08293976321588d96ba698eb8530dce36ce77549c22ffc1fd43256e2cae53b86823c58ac EBUILD zig-9999.ebuild 1856 BLAKE2B 383772a93b4d7c5bf7d84f0627fc05fd9494de1c9bcd54fa0c1fefa409bf177d4d45c2cc1066ef1a08afa069d4fbcd07baa02f28186577f9744da95dfa97fc63 SHA512 4fc3f4a558d9fce7ff16aea5d25bb8757a8781f82270a850ddc7dd5ba4ca04537a6370e25ecabba4e482edc05f162e3a8c43ba715224f2c80032d82fc088699a MISC metadata.xml 541 BLAKE2B 6f5c7fbf759f0430f69073a17a0dae4b8bebf335b54c3b43da6b24104dc3de05a3b686cddbbd31e4dae1fc31695a2f08d000d22437ed6f1847de8fa95e3b1952 SHA512 d49cf0a8ad76ac9a6f6fb091effddbbcd812b56f91df6d3c782e15197cb4ff4423fb1076671a232aabcb9833af19ef8c820ad6df312a1e4d72e665680314c083 diff --git a/dev-lang/zig/files/zig-0.9.1-fix-bad-hostname-segfault.patch b/dev-lang/zig/files/zig-0.9.1-fix-bad-hostname-segfault.patch deleted file mode 100644 index 2e87ecc6d6ee..000000000000 --- a/dev-lang/zig/files/zig-0.9.1-fix-bad-hostname-segfault.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://github.com/ziglang/zig/commit/601d8f721d6dc90ac390bf5ecc7d8bafdd6a30d8 -Bug https://bugs.gentoo.org/829959 - -From 601d8f721d6dc90ac390bf5ecc7d8bafdd6a30d8 Mon Sep 17 00:00:00 2001 -From: Veikka Touminen -Date: Sun, 10 Jul 2022 04:27:23 -0600 -Subject: [PATCH] std.net.getAddressList: fix segfault on bad hostname - -Fixes #12065 ---- - lib/std/net.zig | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/std/net.zig b/lib/std/net.zig -index 235ad8496a1..c381df9bce7 100644 ---- a/lib/std/net.zig -+++ b/lib/std/net.zig -@@ -731,7 +731,7 @@ pub fn getAddressList(allocator: mem.Allocator, name: []const u8, port: u16) !*A - break :blk result; - }; - const arena = result.arena.allocator(); -- errdefer result.arena.deinit(); -+ errdefer result.deinit(); - - if (builtin.target.os.tag == .windows or builtin.link_libc) { - const name_c = try std.cstr.addNullByte(allocator, name); diff --git a/dev-lang/zig/files/zig-0.9.1-fix-clang16.patch b/dev-lang/zig/files/zig-0.9.1-fix-clang16.patch deleted file mode 100644 index deb563378d76..000000000000 --- a/dev-lang/zig/files/zig-0.9.1-fix-clang16.patch +++ /dev/null @@ -1,23 +0,0 @@ -From: Eric Joldasov -Fix building with Clang 16 -Upstream PR https://github.com/ziglang/zig/pull/13121 - ---- a/src/stage1/parse_f128.c -+++ b/src/stage1/parse_f128.c -@@ -983,14 +983,14 @@ static int isspace(int c) - return c == ' ' || (unsigned)c-'\t' < 5; - } - --static inline float128_t makeInf128() { -+static inline float128_t makeInf128(void) { - union ldshape ux; - ux.i2.hi = 0x7fff000000000000UL; - ux.i2.lo = 0x0UL; - return ux.f; - } - --static inline float128_t makeNaN128() { -+static inline float128_t makeNaN128(void) { - uint64_t rand = 0UL; - union ldshape ux; - ux.i2.hi = 0x7fff000000000000UL | (rand & 0xffffffffffffUL); diff --git a/dev-lang/zig/files/zig-0.9.1-fix-riscv.patch b/dev-lang/zig/files/zig-0.9.1-fix-riscv.patch deleted file mode 100644 index 372a68ea02ad..000000000000 --- a/dev-lang/zig/files/zig-0.9.1-fix-riscv.patch +++ /dev/null @@ -1,47 +0,0 @@ -https://github.com/ziglang/zig/commit/ca3c4ff2d0afcdc8fe86e7e7b41a967c88779729 -From: Shupei Fan -zig0: properly set llvm_cpu_names and llvm_cpu_features for riscv - -Bug: https://bugs.gentoo.org/851732 - ---- a/src/stage1/zig0.cpp -+++ b/src/stage1/zig0.cpp -@@ -160,6 +160,17 @@ static void get_native_target(ZigTarget *target) { - } - } - -+static const char* get_baseline_llvm_cpu_name(ZigLLVM_ArchType arch) { -+ return ""; -+} -+ -+static const char* get_baseline_llvm_cpu_features(ZigLLVM_ArchType arch) { -+ switch (arch) { -+ case ZigLLVM_riscv64: return "+a,+c,+d,+m"; -+ default: return ""; -+ } -+} -+ - static Error target_parse_triple(struct ZigTarget *target, const char *zig_triple, const char *mcpu, - const char *dynamic_linker) - { -@@ -178,8 +189,8 @@ static Error target_parse_triple(struct ZigTarget *target, const char *zig_tripl - } else if (strcmp(mcpu, "baseline") == 0) { - target->is_native_os = false; - target->is_native_cpu = false; -- target->llvm_cpu_name = ""; -- target->llvm_cpu_features = ""; -+ target->llvm_cpu_name = get_baseline_llvm_cpu_name(target->arch); -+ target->llvm_cpu_features = get_baseline_llvm_cpu_features(target->arch); - } else { - const char *msg = "stage0 can't handle CPU/features in the target"; - stage2_panic(msg, strlen(msg)); -@@ -220,6 +231,9 @@ static Error target_parse_triple(struct ZigTarget *target, const char *zig_tripl - const char *msg = "stage0 can't handle CPU/features in the target"; - stage2_panic(msg, strlen(msg)); - } -+ -+ target->llvm_cpu_name = get_baseline_llvm_cpu_name(target->arch); -+ target->llvm_cpu_features = get_baseline_llvm_cpu_features(target->arch); - } - - return ErrorNone; diff --git a/dev-lang/zig/files/zig-0.9.1-fix-single-threaded.patch b/dev-lang/zig/files/zig-0.9.1-fix-single-threaded.patch deleted file mode 100644 index 70f807f2d550..000000000000 --- a/dev-lang/zig/files/zig-0.9.1-fix-single-threaded.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 638f39f7e..791477c41 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -787,7 +787,7 @@ else() - set(ZIG1_RELEASE_ARG -OReleaseFast --strip) - endif() - if(ZIG_SINGLE_THREADED) -- set(ZIG1_SINGLE_THREADED_ARG "-fsingle-threaded") -+ set(ZIG1_SINGLE_THREADED_ARG "--single-threaded") - else() - set(ZIG1_SINGLE_THREADED_ARG "") - endif() diff --git a/dev-lang/zig/zig-0.9.1-r3.ebuild b/dev-lang/zig/zig-0.9.1-r3.ebuild deleted file mode 100644 index 463cead06e2d..000000000000 --- a/dev-lang/zig/zig-0.9.1-r3.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 2019-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_MAX_SLOT=13 -inherit cmake llvm check-reqs - -DESCRIPTION="A robust, optimal, and maintainable programming language" -HOMEPAGE="https://ziglang.org/" -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://github.com/ziglang/zig.git" - inherit git-r3 -else - SRC_URI="https://ziglang.org/download/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64" -fi - -SRC_URI+=" https://codeberg.org/BratishkaErik/distfiles/media/branch/master/zig-0.9.1-fix-detecting-abi.patch" -LICENSE="MIT" -SLOT="0" -IUSE="test +threads" -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}/${P}-fix-clang16.patch" - "${FILESDIR}/${P}-fix-single-threaded.patch" - "${FILESDIR}/${P}-fix-riscv.patch" - "${FILESDIR}/${P}-fix-bad-hostname-segfault.patch" - "${DISTDIR}/zig-0.9.1-fix-detecting-abi.patch" -) - -BUILD_DIR="${S}/build" - -DEPEND=" - sys-devel/clang:${LLVM_MAX_SLOT}= - sys-devel/lld:${LLVM_MAX_SLOT}= - sys-devel/llvm:${LLVM_MAX_SLOT}= - >=sys-libs/zlib-1.2.12 -" - -RDEPEND="${DEPEND} - !dev-lang/zig-bin -" - -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} - -# see https://github.com/ziglang/zig/wiki/Troubleshooting-Build-Issues#high-memory-requirements -CHECKREQS_MEMORY="10G" - -pkg_setup() { - llvm_pkg_setup - check-reqs_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DZIG_USE_CCACHE=OFF - -DZIG_PREFER_CLANG_CPP_DYLIB=ON - -DZIG_SINGLE_THREADED="$(usex !threads)" - -DCMAKE_PREFIX_PATH=$(get_llvm_prefix ${LLVM_MAX_SLOT}) - ) - - cmake_src_configure -} - -src_test() { - cd "${BUILD_DIR}" || die - ./zig build test || die -} -- cgit v1.2.3