diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-lang/zig-bin | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-lang/zig-bin')
| -rw-r--r-- | dev-lang/zig-bin/Manifest | 86 | ||||
| -rw-r--r-- | dev-lang/zig-bin/files/zig-0.10.1-musl-1.2.4-lfs64.patch | 220 | ||||
| -rw-r--r-- | dev-lang/zig-bin/files/zig-0.15.1-reduce-command-new-writer.patch | 175 | ||||
| -rw-r--r-- | dev-lang/zig-bin/metadata.xml | 16 | ||||
| -rw-r--r-- | dev-lang/zig-bin/zig-bin-0.10.1-r3.ebuild | 88 | ||||
| -rw-r--r-- | dev-lang/zig-bin/zig-bin-0.13.0.ebuild | 89 | ||||
| -rw-r--r-- | dev-lang/zig-bin/zig-bin-0.14.1.ebuild | 86 | ||||
| -rw-r--r-- | dev-lang/zig-bin/zig-bin-0.15.1.ebuild | 88 | ||||
| -rw-r--r-- | dev-lang/zig-bin/zig-bin-0.15.2.ebuild | 86 | ||||
| -rw-r--r-- | dev-lang/zig-bin/zig-bin-0.16.0.ebuild | 86 |
10 files changed, 1020 insertions, 0 deletions
diff --git a/dev-lang/zig-bin/Manifest b/dev-lang/zig-bin/Manifest new file mode 100644 index 000000000000..97b15a4c6682 --- /dev/null +++ b/dev-lang/zig-bin/Manifest @@ -0,0 +1,86 @@ +DIST zig-aarch64-linux-0.14.1.tar.xz 44954692 BLAKE2B 4d79559595517c39718d88ad7fc2a3584454f5a239c7e0e444e3137e0041b8e247bf21357f9acc6e075a128dd126832f4ff4a699f64a3dc98f6734feff6311dc SHA512 0019698d9a234dcce32bf84fcc09b582d55a2149e0d6a3d7e38a0a7c22b74d501f4c6c074b3f87dc5fe8b623996059168427eef4a60dea95099e0d5e2123cfe0 +DIST zig-aarch64-linux-0.14.1.tar.xz.minisig 326 BLAKE2B 5a9b834101c483a7879bc01c6929bf4fd7de38215fc3aa8a19629c30078f81bedeafa37781e4d2d56fe6558a149b2be93e4325698ae6d60e22a238a03d70d198 SHA512 81782c22658f8697b6bf7c1a762da1d05541d8e26c23d224b39d464d07ec054d9f58ca2e5526c5e0f08e52ecc7a46a518be36555c76d06eb70411984bb3d2204 +DIST zig-aarch64-linux-0.15.1.tar.xz 49493872 BLAKE2B b01d77024afcc00228decf1ea2af7e1a999e7d519319c8bb86ec5757ab4d7a88e4f77f86ca7bc451e76bd5167505472286ed697ad2a23d7d4a078b6ac14d4308 SHA512 744f1bbfd13ea003ca79f6925e5030eead9836979b930d4cc1505e1500aa318bbc29d5dcb74f0680ed0ddf04d129478b76c51d48dfb572af6b7d2015786a4013 +DIST zig-aarch64-linux-0.15.1.tar.xz.minisig 326 BLAKE2B b21eb25d68f70bb9a63326d5c855417877cbe168409d974d62f4de5217b941cf595414f376b3c64f1b1530e9a6bb1b35b7c5354b98aad402da184e35b7d38557 SHA512 81f684e947376c9838d09cb3f16405c108c23ea96bca8d622ea758f716c6e23e9ad7cfbe4c50c182e050609469cc88e8a0f2a236d8d368b3e3b60cf30baf73fa +DIST zig-aarch64-linux-0.15.2.tar.xz 49471996 BLAKE2B 4ca475ab87c9e3a2904ff7f0d086c12042db462f46fff778f8aef65ea2c7c3a736fb548761b47838374d95e9af57f374d9251cbafb158c5d47438d6f0d3d01c2 SHA512 32e406bc5eebd2f41fb4fa8a04e76a4bdc5fcf44dcfbdc7242e063796ba5fccab6734653ca4108576b4557d85c8e984d40431dc707c5699a464dd19ac04aaf1d +DIST zig-aarch64-linux-0.15.2.tar.xz.minisig 326 BLAKE2B 438e0c01f6dee68622f54b13a4aeb97637c5cd9767160aaed7806091fdea2c429f1297a55bc7dceee62cd4acddebf9ae536a376381357af02a5fcf9b4470b2d7 SHA512 79425c6663d5b7e0ad28cb0e0977a63b7547f03277cdfe5110a2476b39b43dba639e18aa1cfe1d0ecab2451a4a901e7f1d792c8c49da8a151a775815e170d256 +DIST zig-aarch64-linux-0.16.0.tar.xz 51211944 BLAKE2B ec6c37574452c5f9870da3983ef98d5ac447145ee7cc15236807e16e63d6acbfdcf6b69ec02930e29add7f72ccd5fe75100f933622a01b65cb3cd1b6bd41f93e SHA512 031285b96682ddd3321fd7ad95f7832570dc079ce6f048179fca2f85c9aa116976e2d2b37f6eca4bd1922d020bbaf9f2d80b90e16f28488bbcac641110891a70 +DIST zig-aarch64-linux-0.16.0.tar.xz.minisig 326 BLAKE2B 6bde091552a3b9a46aa0338d2b52e616e4df0ec797c1c5f2c7ade1a5089a35241c44e77fa7ca2cb61b1c20ee246a70ab9d34536a6484092a02f8a92293c21d4b SHA512 a6183ff9c7f10ce1afae2940030e6ce603209aeb919861ae0bf9963488e236fb02b8cb5b9d65d54f2d3b10b0ed31f17bd517e8167cc415ee3f5d177d6a363cb5 +DIST zig-arm-linux-0.15.1.tar.xz 50477464 BLAKE2B 264e612869d8d0d7aa420eb364b632513c127d52712f7057b838584045c98c26528417d1ed419bbb4b61c8110d3839de4ab6651afe45aa85653d2ae099b0133d SHA512 cacc2ebab72663fcd4d0c5c61f8e6e894bcfaedbe86ee729aa714d0344df6462b767e89f6cdf6326954c653b18d12e3b41c387ba337cc8e8495d92d947c11d8a +DIST zig-arm-linux-0.15.1.tar.xz.minisig 322 BLAKE2B 354c87e81bc6bf72390e4e8c2f6397da37ed4ba47c67c39aa03140791157193a8380c5da5915fc72c3c080567dc95a6d1fc5a9c8c606b1c1c326c1b3ebeff6a8 SHA512 eca65431b89e3890f7e8d81294ef8dbf2a95c54dbef620028382a0885179c408fef6a421d443817be5d9283fa6b441f2e012a74944e8eec51f9ea8514ba5deef +DIST zig-arm-linux-0.15.2.tar.xz 50454216 BLAKE2B b7c8ed413c9e740ac43249a896bfd635bfa036ab0eb43dbf14857d7ac543239505d09ed3135a6da8a6530d0a634c7bab164eedc7afc30feb591a44b895caf239 SHA512 03456c940adebf23b050b66fec3e7d7c9bf70b956fa425992ce155e713b1ea1ac6b616f22b0334ca3d62655209c639b020ea29dda1a75aa5fd200e93e1775c18 +DIST zig-arm-linux-0.15.2.tar.xz.minisig 322 BLAKE2B cb9a5640b3d76c5ee26b1fb2815f2fb1a8093797eaff91ac181dc84561e1b4c4e88a80d1e6c9ce3498101b1f81acabff0a8109ac7b98335c6f3dfd4c7f200eea SHA512 dc210f9f3e79e5bb260198fd59ec89848db0ff465ffc0551d79f6914fabf5a1ccb1ce675949f0d52517f1e4df28ca635630a208d73d680f4d322aa8e19f50073 +DIST zig-arm-linux-0.16.0.tar.xz 52122000 BLAKE2B 3b6c1756719d6b5296b12ddc5d048322714c24ae948ce2796dd4ff4af33362e4377e9ac93d116b1a9142a15e258640691e02eb8dac6736132cd5b3219ff9c1a0 SHA512 5dd36f21e76cfe7af45cd6a6d1b4e161aaa3ea6f6366ec01f7abc3dadc4384f2646a279d1d51782ae3a53fed69cdbb0795d19b13145fb1ea7c0ef87ae5f6dcd0 +DIST zig-arm-linux-0.16.0.tar.xz.minisig 322 BLAKE2B 3c2e87171ecefcb415ba3faa570670f806508978f8be9105a60622335e10d93c65a225e67848dd7deecaf4b021c0c2a612d7e9f750f8518ea36e0a740c0b452d SHA512 04a97836530e8c1152baa45985e3075a9eebc1e7e2c58c49b0ce94b8a27eb4261e7b8cc8b46162859b07f3cecb9eb69f8b73983cf747b7695c10e85c9951b176 +DIST zig-armv7a-linux-0.14.1.tar.xz 46137456 BLAKE2B 295f3f4e029504aa7ea983ae24146a0e4a613a9822237c5a246c569e1409f138bfc5350f70426536502ef88fbad85fbcf2185822823559e18d07fd85eff7c5a2 SHA512 786a33ee9a2472cb35f338e84a120d122a2206b43b64877cf74dbf22eb7afd8b23ab77e04cd225e6731fda26c9acc513204d4cf562d3672d6efdee85f6221976 +DIST zig-armv7a-linux-0.14.1.tar.xz.minisig 325 BLAKE2B 0dc940ddd44fe1a155e5aa92df8d9722a4cd20e189b0c3d136a6f95cdf79eab34810451e181c595782efe53066641c97eb0a85996cd860eafbbfaa10e0ad2d06 SHA512 328b265f9539eaed2fff5e29d16120c5b9f32c1658565e9c9b8f82cb19ce0bec3b8b30beb6b5339c12ad082bbf1440e03a828aa1444c168e561006a0c8e6ad82 +DIST zig-linux-aarch64-0.10.1.tar.xz 40321280 BLAKE2B 39abefb80d540d52333ec76203893630ac5df2a784684397033e9ac766f67c4512be71513ebb80faac6c5ebaa2a737859b7bc27b82797232cf97d87d91e8492e SHA512 44dd15b1b2d7bc85a4f8e8171ae5c51122be352249273091b499de5a392c72e262585f981908afd1718a41fa7e67b36f1b65c6cacbf8e9f226a687bd85b7edc6 +DIST zig-linux-aarch64-0.10.1.tar.xz.minisig 326 BLAKE2B f20178d19a0a3415af5557787ba5380b6502771b1df858a03812d47f5602c6cf4bb9c1d7f854ea086a45a7c05a4fb0d6df42e05e3c9e383918195bc3843a88a6 SHA512 ffff297e3946b0bc5c8da6377360764f37ad9a088672c0ba32327cac60379bc5dcba37265e3e9c92ae17073bb8f26f67466c9ac9fd6151c72e62b76214432d0f +DIST zig-linux-aarch64-0.13.0.tar.xz 43090688 BLAKE2B 658376ddd6f74ced4e8d875573e53e236ce65d11bf098db7fc1c6a119b88dc97c45212101e0b3a4cfb7d0f4481d696fbb65b765344f44451d20c5bfb36cfbc14 SHA512 0e36c26da0088aec54939af0cbe5219132d56cb8bb1f298ca50e1a628d3fbdfd401441695013b6d3fd282905bb273ccc160b4f0dbced236aa1408278f532d99a +DIST zig-linux-aarch64-0.13.0.tar.xz.minisig 326 BLAKE2B 2f4008c036a309bf3efdfa719a7e4cca0c13c0c5a93e6a8c2e9c75cff7ea9a000cc52f695487c1b1199eebece4853b11ca4d3a22935f12b6d07b9f465da01c2e SHA512 a5635610a17f61e8608379bee0e10c8a43a565ddf22394da214e28b6a84fadd6809bdcdb7996ebc2bc2bfa6d1fa4a5e47191f6aa8536450b01cae03871145679 +DIST zig-linux-armv7a-0.10.1.tar.xz 50718132 BLAKE2B 76ef431ef8957272b992f6b861913a961d348120106a7f4b77d1f6b2a042dd8904a1ac744ab6b02b78681eef68af4143372e5315cd113d40711bd26fc78e6632 SHA512 4ec3ccd7ac980bfd9fc7a2f6b2301051d3df43b00143914d869389fc44b48916820d996e27cb922dac152228c4b04a0cce51f7b125317de85440a5479fe8ff7d +DIST zig-linux-armv7a-0.10.1.tar.xz.minisig 325 BLAKE2B 675416641adfa9a1cdc6797dd310a7cdd83dda20cf73b5d3dafd616d3686ab72f00d735576c3d6839c9b7a92869ce058dd532beec27e5ec0a7b7d4f94008d592 SHA512 7f7be843ce7718294816f5c8dc349386cd76d9e7ad0a96d74bfe09d7361e864f275593fbd92b44091c5cdd5fcb0d9e8e07683c96585ac932b5f80e7c7356e6cc +DIST zig-linux-armv7a-0.13.0.tar.xz 43998916 BLAKE2B 5ab0f39209d900690f28a73bade854aecbd77d6d7bccfdca97d49e5fc40d198023f2f9b1e96eaa9afa6a368c6f35575aeac52422d486a691dd4779ca118836ca SHA512 d93005a14dae40e6de66ad0e3150ac15284c01839ae0a19531a4e2f54a628b9fe3bcb08b6d526b96ba9d79d232c5c0c2b813877359c76b927435085671c57ab6 +DIST zig-linux-armv7a-0.13.0.tar.xz.minisig 325 BLAKE2B 3b1fa76b70cf364f218af9299812ec175d03d0b4bf3d6748737d26fc9ef55b97f24b1ce34c62e16fb44e72b16659d2f41069d59e662ae4a95d461fe1f25132fc SHA512 68c822bf8718cf547d20ef0cff16343ac9a99b27738ac81bd660b8d55f69c4ac5666b0a4766b18acbc391923784a0bddf67c504ffae13b8f6219e59244aa665b +DIST zig-linux-i386-0.10.1.tar.xz 48367388 BLAKE2B 482ec9e42d9036177f41c459faf82c79ba525f35ed14150d97af9110efab3e9894b8c64f92f9257b224893179134e43306c985ad6a04ae6a7d427d14ef4e7a3f SHA512 97345a8f7f15a83e51635ec667e869833a597511a1b004fa4ab19d78ad234e05e8344823e0c623510c7c5dbeef447d13636223e8d339f6d53f2eca053852a8d3 +DIST zig-linux-i386-0.10.1.tar.xz.minisig 323 BLAKE2B e25778cf26696ae0450186b6173dc69cfc9eb165903d5c4b1bcb9d01b55646f1af5047e129a1241200b7d7bd041bc9aa85841eee3a9366b7e88a2eccce3dae88 SHA512 52e66eb9a486e853330f125bad2baf63b87e3544ef1cc12cd59889f3c3a8a7ada5363307eb29d797c54202ebc5a3edb87452d6b09f53f099f51f79c053cf8b7d +DIST zig-linux-powerpc64le-0.13.0.tar.xz 46574596 BLAKE2B ac21b1d8317177682e7aab53b3b8f4884ae1c6e52b25d30a8acd9c345c97c49d55a9652eec205fc5c2a510c840c947eb1967fdaa36b3a29fc712ca11702c0b77 SHA512 ef9fce45ffaaef9902ee35010dd7ef372b14d5cc82b6ff653e9b5f91a9da15542f5f2410620c239415d051876091d17be4a4d610ab59a89e02e7609b9ef304b2 +DIST zig-linux-powerpc64le-0.13.0.tar.xz.minisig 330 BLAKE2B 164a5857ad9ffa323fcd27fd2d9cd0c4202d8e1fc1bc968341eadb14157271e10f8f4bc544dcbe738720a99767291d9882b956478bee3b08b1fb28ea57c4d529 SHA512 04f480145c676dc8a4ba369594af41a84f3fa2686e194df88d546fe9f989b03f3f1aee291bcad07a0e7e81495b69a5cf182a1454ab21fd043faa1bb2a68edb68 +DIST zig-linux-riscv64-0.10.1.tar.xz 42196008 BLAKE2B a7ae37b1d1db1281b09bbd7e35ecaf390bbe28774bd1a4fa76b4468255be19b07fb514326d48576946f3c4eb04dcef34d6ab14f550407aa33803754fabbd848c SHA512 1a1da96924fa4a16a53721017eadc3363859a4f53671e27b11588200d0302d9065de9ba517ad40940aad98725e617cf853f2e83f732a4e23c33deacb99487ad0 +DIST zig-linux-riscv64-0.10.1.tar.xz.minisig 326 BLAKE2B ebe0b448aa59fb1f63ad8a5320207bfb139f7b55af8b4d1d3347580093f0adad31957647b40b296414876c2cc013d6c701ebfe3d95c91240322602bef693ebf8 SHA512 7cb59ebbaeb33be1c743509564478b9d2f513e6142c0b80380be4c70f1b203818330fd3a9322f0dc93cb21121dd4e1bd153225804e467cd13f28f4ff73a4bd2f +DIST zig-linux-riscv64-0.13.0.tar.xz 45540956 BLAKE2B 879d9cb16a2912fa770f65b82b898ac8705f8de461745bc92adb43a201dcd86f3697d5464742b4cd1ab252ccab14f619fccf87a197b8ec6f209870ffdf560fad SHA512 7c7867aab96c862b0b1faa8db872e45503a36eed2a234e2e52b86bd0d334a232c1bb966e23079d30a57fde2f4b5d5c8fe215181a380b4e277242f4ec5261a5e9 +DIST zig-linux-riscv64-0.13.0.tar.xz.minisig 326 BLAKE2B c93a653ba1634a445b365d6690f0f54e15fac964b85e24a6f3a2e89750adfd389630aea0483cb8e77254d02fad5137ae428110b384ad8120c01cb9dbea87efe2 SHA512 5687e6d398d0115658c00eee47e0047a0da0f4e8002c96cab9844032b5925f46a139239cac8b5e1464a2ff3460219602cec79aebd5e5599972c7dbda0112c044 +DIST zig-linux-x86-0.13.0.tar.xz 52062336 BLAKE2B 5f05db0719affaf17e3b6a7c5f87304f884736fbfa006ff1020254f8381d9f268b406d7f8d33e8a94a0533d40202a26b3fbfc6ae11bbe1b71319ba5d9d4d2a89 SHA512 f3db718d2a499a88ab9e497fb3995f3fdb0711842513697c609e3b8f2e835676854964dcfb77bc253158f278a9d21d158e2957e3dbaedce8dd0f948f09eaacdf +DIST zig-linux-x86-0.13.0.tar.xz.minisig 322 BLAKE2B b95347c6899e064c77d1cbdafb18c705c6eb2c642d46965eb3953ae7f4515eee7d0b058fbbc24ce2f63d8e2ab124196170c850103f73cba2e54da03b24d0fe54 SHA512 e10f1598a68064137c669c7622ac06772b33a5fd17ea4fa65bb4ecd8b8c4f34a2a46ee397215bf82a3202cfffced91cd01fa3a52e0bba84829ff94aac3de1947 +DIST zig-linux-x86_64-0.10.1.tar.xz 44085596 BLAKE2B d689a469dbbe790593a561dd4df01c506212754c48be7de03773c7e690cbab197af10d639e80148f3343204ddf9ecfe09a88a62fb6ef63a262bcc2dd79fecd34 SHA512 1cf88a492b1a47800e213b8801477f4ffabf269f960d27d1849c5aec805b5db3768c83d4daa4a738532b1b7367e8c6812e3eea47c205ea732d7a6269a47e16dc +DIST zig-linux-x86_64-0.10.1.tar.xz.minisig 325 BLAKE2B 41cf60ae99405ed55449c35e76a3de761e5de75bf07d8500fe64bf2e45b0dc5f63a929ff6bf47233ea0472f167d9e2305d66c48fbe3da66b6f1223d83ed6fa2b SHA512 309fe97b56673e4f111e2408aa1162194d77cd6976cf7ae491d3a035ef0319b8b634c59977dbc18466182b37d4a12f294d8c258d2d793a3aa3eced448f06e30e +DIST zig-linux-x86_64-0.13.0.tar.xz 47082308 BLAKE2B 587565eaac53f0137bdfb4c58e51ee290a9f582c103957bc1d6183e7f53f6ce459c204fd0197c0e36d3de08a48fc68412a7fc84cf9cd77c8be918a9390d492b9 SHA512 97ca9b91c6c025cc1746036239063df45bab6aafbe72a861acd266019a11d154b4710b310224c860c6515f09436ca0ff796546aa45cba5d1dc7b3b669dfcdf36 +DIST zig-linux-x86_64-0.13.0.tar.xz.minisig 325 BLAKE2B 9161b9b36c38c2b388a0850011bcc22119bb7b0333615914780fe63fb741298524be196db07277771b6f3f053079c7f95b5786dbb9059c4a627a9786752ebe4e SHA512 279cf9abb3b86893a3fd4ac124e954d8f01d6823831591cf2c869538bce4b2cbfcdb67279b9875bfe3a865841ca976b9fb7b4c4c63fe2b56937d3023664e81c6 +DIST zig-loongarch64-linux-0.14.1.tar.xz 45825404 BLAKE2B 297087d8cab208d556ab42f078af10e64347bf3be80a8a249b31d5435c8848f6549f92d14365be6dfddeb2a2f05c61da94fa6d35212cc4743ad455c7ae7fe068 SHA512 c8c29bbacd7a17eedd1103dc6dac15c43838df2e244f321407a540e5ec74bd06d65a02433f2a49b16033b39876398f4864f78d17069e6d41850bc4ff358e679e +DIST zig-loongarch64-linux-0.14.1.tar.xz.minisig 330 BLAKE2B 78d7acc98e6dbaf1f78e5068aa2780b546b737f1e852f4f670f15c3fc99a6cd99cbcabe24ede963f11c3b76d0a8c9ec326519e5964105b1a7eddce1d7ba6e25b SHA512 f0f7e03d292b46d8ed3e69d7630eb659de4d9ee249d80e921d38ed7cd84f3a4dbc58ed2cdb01c554c6ae0a9cd4409b420794e3e9b90fd5b63e0ed54066888b3f +DIST zig-loongarch64-linux-0.15.1.tar.xz 50794376 BLAKE2B 877948595173bc07a3fb9ac1e85b557f1ea4d57183d19e0ac917764c170015509d799e79ca81fd7a1723328d3ea931642a51b4b2cc957f717aff3334748fc12e SHA512 8a7ad0ee82fbb54db8cea6725af39ea0ae912dbc8d77faa6e582de8691490c923db41b09b168b3c46e8198b4cbdebba79a2176424f6dcfc142c3e1c372021d97 +DIST zig-loongarch64-linux-0.15.1.tar.xz.minisig 330 BLAKE2B 528bf6f6d605ee12e6d07d1225280171c1fdbbfe878b25747e12e6ff9e0a9cb3b138e2b61cd6becd20addaafa5001e06afc4c67d54caf6061c54c4695e669587 SHA512 5f50f45b88564cd8c6616a4f9f1d68e9c1dde6ae529925098cc243e7d8361c0ee667cc5f5bf67965881d957791afc82049b2a91b568b5158f6b77c7d43dc4672 +DIST zig-loongarch64-linux-0.15.2.tar.xz 50800332 BLAKE2B 1c37b3334982d1ead728fe83fe7f0660eac43a8448af6b9b713c183a31a5fb211a484decacfd9adff078bfc62f59cefff4c86e8e1507221f4d63e0e2d015ac9b SHA512 cc7d720cabb896454a0d5706596bcf84c0a73c86d8fc4ea705553f261244601894d18824446f72f1d94c469b275532db7574baf91eb0f952555802c28970e3b6 +DIST zig-loongarch64-linux-0.15.2.tar.xz.minisig 330 BLAKE2B cba3c909c627b63f80e5ad44f1a633f692ec4c6509fc8b3053c1062ea8b9b2287e0fb5251efb2870fd9634d48dcef7831bde65a360e75df6fbb5c9fec193aadb SHA512 91e471504b76717ca33c567be9c58b7b1690561cc1ac8cdb8c4c112cfa28188ab9adae7867d843f18d869ec0a274d55e1f75399b51aa1c645fb4663c6f578061 +DIST zig-loongarch64-linux-0.16.0.tar.xz 52515080 BLAKE2B b3335c5907dbb3528fb35b16117c47e3e77f898c752fe1cd69805b8d6e5bd14cbe3ac1a05bac0ec7090561e90686f496a3e39652c82238c1cd26bee53d4c4cfd SHA512 a92cd381932e43a4f1caa20cf990d2424be289ab16bad0555d3fb90050e64b35ebd3237516ec5fd235613066c16cb667cd8ab8eff76eaf3337961517e02d17ca +DIST zig-loongarch64-linux-0.16.0.tar.xz.minisig 330 BLAKE2B 2843a47a4c1a0e203014fb72c13b150e00818a2ac8457c451719c64b82996cc625d818899743c8f47f3067b5f581f8ce0e806305184914aa68ee3a64e3997272 SHA512 e10fc2e8f2757df5ea31d0394ada09cc739251f56942b343fa57c1a66041331c1e6fcd54eb5f597766373724f22138d5f899cfcfb62c4baa6016867acf777294 +DIST zig-powerpc64le-linux-0.14.1.tar.xz 48720956 BLAKE2B b70a031670af1100a282df79edebfb0c6244dee5b36f49c9d902a6c09dd4b77d38f7e69578ae51ecc913fe7e22a5339b4fe5ec33ae4c0f7011aa1d317699cfa7 SHA512 5497837188fe04a9617288f059c2eb2c275b647307b21ac6c4ec6ac305ce88849c7a463e4c1f56acd63e41059fa8bfaf43da4a6f5d3e2b3fe66fe6a7259dd749 +DIST zig-powerpc64le-linux-0.14.1.tar.xz.minisig 330 BLAKE2B 3f58fcab727f953ccd29221e88ec07838a3b4afe2084cb7cbfd5140f747b3034b799c00c8b855c1ccdf831f2bcfa86cc9081531e884033602d552900d14d9dfa SHA512 8433a2c06a4489e6776d0af81d7b52ba2311d3d1c94c96e331be8d155f84ce4b4967640709a741b5fd0e436e760d54ccaf9f460a223823caab413a69672402c4 +DIST zig-powerpc64le-linux-0.15.1.tar.xz 53566944 BLAKE2B e22bffa70b7034462386db804e11a91332251b14c45e5e6f875503af6719791ea0af939822c0547b1fb724ce85194db12830b0890d8c8932c4f2d24909bff80d SHA512 67204f857f633a9740b7f4433a2eafd297ebb982905cf244c3045219e7f4cd6ecee6523f2562748bed2e7c2b8787630edf1032d61cece28203fa0f93eb2b5025 +DIST zig-powerpc64le-linux-0.15.1.tar.xz.minisig 330 BLAKE2B 420ca48b76efdf74b338235d019994cd905f4fdbaa1e933a8465743466b771a24c6e5d6f0b86173e25bdd5ba5da0527986ae0756989b61e907acafc45ad4577e SHA512 33c9f0e68a533f98175947044429202de2503cc2e1cf74f4941bfa4a92df05557c36c47b93d4dc8fbc6c845493e02e23ced1a3b08a41bb059012b1c0abbee959 +DIST zig-powerpc64le-linux-0.15.2.tar.xz 53570632 BLAKE2B cdde19d03201b3f9990e6476c0ff446b02ffd3983abf822d7cf96e00c22318d46ff3835510091ea01ee375d0f662abadbabe1ada17f930e5f833bee09a572295 SHA512 c1ab505c60cd7c69e6873dd3938faa2f24ad13f1194f6ad5c85248f450e034be8bf2abf611d84e8657425691c0bd9c9df469649deb1b8392ba29ae4dfcdb8a88 +DIST zig-powerpc64le-linux-0.15.2.tar.xz.minisig 330 BLAKE2B e0bb8c6598ad4c69d8ad8291b1d158584bef21256b4222324921ad04f454fd7ebb833146e4197b054909c47e86f0425b09750b61be8efaf03c2d581dd2a00121 SHA512 919e6e0f55b01c66631501b552d5fdaa649314bda9601cbaad10189a0b80e821932daac332d0bb5b9ea0712fe7ce90e3b010bb13329b8ace64adf3a70a6dcabd +DIST zig-powerpc64le-linux-0.16.0.tar.xz 55242728 BLAKE2B cea020878fe084646f4aa4d370433f9f08246d2e2ded43fcdec211c6f966f55074a2ca283afc846920c50ae1d0847eb0c09fe31d290df5c5e5175c9ccf238c04 SHA512 f42c8873a68c51214c397253fff49f10fe778224dc3b33f5e3710a6c07ec5cabf1e9a68771147e832ff9104bac6897d29e5d84761a8e9d57fc6b09b3c5386efd +DIST zig-powerpc64le-linux-0.16.0.tar.xz.minisig 330 BLAKE2B 16b319fe4cc6e23f6d175c319ff84a20350085009d1fb6c90b34fb54ccb197385cde6ffec11b8ecfbf22f7a5769acbd13dde4062997748ee8211cc49efccdf12 SHA512 c897c8f7ac7498492d2a9ad0fe1cc2ebc1a01bb1ebc581a866512338fe63465797737b9442a00ac2b066f2ff6167ce1921ce9423cad0a4abe86914dd0df8bc3c +DIST zig-riscv64-linux-0.14.1.tar.xz 48094380 BLAKE2B 927f8e4d73a0f5cfcdf8b44eb9d13711376b9c6ee2c62629867447bb64e2435f5176685ca204e875bba6d391321eadaa32e7a6095517bd1eca48e49120c9914e SHA512 bd641426d3bcbc2e090ee9300dc2203a669412ed8971e127a17186d404f87130782166ca5733e01fa9918574c82c7862ec31ff7eb542bceea611c74621f80686 +DIST zig-riscv64-linux-0.14.1.tar.xz.minisig 326 BLAKE2B 4cc71606ea310277f674051a03c524012049d5a276459bb1eb7bca05a6139bf1cc2320c7cbd33c367461dede6d21a251ba543a0bec3ad1b1468c31bc63cef23f SHA512 46c9a598043863f6aa8439444453d252c5ab3e88c7ebea04ee2e2c1a12dd68a4669fde4082de6c5cb8976925330c4d1e8296240b3c033f5075f7422548d3d04a +DIST zig-riscv64-linux-0.15.1.tar.xz 53597792 BLAKE2B 159ee35c603523d54655c84df3d9c775552308fe73e45035095ff20077ab0ef05f64412609239c8c2f120432316fb8276f2e51e8f50cc76a9af9e9d075098e5c SHA512 e95d5ee02263f9a3ffc962b871c2a4237290d608a32c654c340ebbfe473310f2acdd670e121e2aeaf256adc2f6df63eb2ae98e8975a4d7b6c094d206b3941766 +DIST zig-riscv64-linux-0.15.1.tar.xz.minisig 326 BLAKE2B 4ccd409422ce624785f0bf4b588b4b4d58a72b864b4a7d8f93912d2f5ccc0905cd62797a55580e155877f6bade7ecb1f0c25b1def05ff9c2c74c8d44f1974ae2 SHA512 6e1600a8bee53f248203f05fc4b56dea7052f0ff9529dd8adecb11ba929484b8295ed948e197486385b29ea527b1f9cac599417972c0a2ea0a66527da20ca7a1 +DIST zig-riscv64-linux-0.15.2.tar.xz 53613656 BLAKE2B e5f6ef23373ed163d5064f78e0973dda93b5848b98ecda41bb4bc706804ab18fab9938192d7299bb0449bf9c44e8902270a4efbe3577f23e54f00b718d195b50 SHA512 50d8630e3660c6066364f275bf59d90faac73659ed2972a403248dc4d6b319c442bdf76cae906b767850c1725f9e6a0ab74620fbfd980f6aa8309dc45e9caaf0 +DIST zig-riscv64-linux-0.15.2.tar.xz.minisig 326 BLAKE2B e4761e049b2047ec4c05a9ec4ffe5a2512e94220bc0d7e7520efd5d3bed2b65618b7e226f65c0de271ce18d21b45a7a58edfcf2e7d9fd11b403d11500f2d9caf SHA512 8c381f952af941920667bb4a3b719f57ceb5f14234288840019d582a86de755a3fc2f2747c1058336b2a980525e708fbb312dcf07196be88f225b58483d36b92 +DIST zig-riscv64-linux-0.16.0.tar.xz 55313616 BLAKE2B 09d68e6b192cc95f129f071e9083d91c921752b8f3abfc52335e5515ec628b29110433059e535abd5ab027b2f50564af15d2b002c5f2151b6d956f3f3a2df2d3 SHA512 e2fab8379421d97fcd535f733ab602579764ba83d24a312d84c257e05a0b7219e240c4245624bde71575ff742510a8cffc2fe59a059bf0839d1e105f436e8a8c +DIST zig-riscv64-linux-0.16.0.tar.xz.minisig 326 BLAKE2B a9e5ce3d3fd2e17321262c196ed06909de12bc532d2d0409bc2957bb4792a50e000c84644b08cfe1217dfdd79b1f5015c658014e8974375b4076986270f49e97 SHA512 846e5545969a2e75d64e6cc3ac1c17635015dcd175e9f3d1a434cfedbb9aab9dc99e1280ab723f5e2d344e4557c752af7bde748837ba9266bcbb94d3e5da6b12 +DIST zig-s390x-linux-0.14.1.tar.xz 55602032 BLAKE2B 6a9ec84ca4990738f999c2b751e53666f56668a648aac2762fc00fca13bb0063904eb2c28878bade58f4cafb79163f44a0e729718ed850361876d094ad41a903 SHA512 edf79bf57304495f952639954e5add91db54213887b75707686548b121d9e1605af1d1d8010ad3f5b54e05b74c122f16edd7708cae8611247716c0a5b37cf82d +DIST zig-s390x-linux-0.14.1.tar.xz.minisig 324 BLAKE2B 29175fc5a41849911bca20f2079c7cf3bf74a6954fbf0b6555503a70d9da56f9089540bfc0d1391831147019cb108b467033262174fba6818f1cc0a83472c4d0 SHA512 153734c9b11e56f5009b0875621e6f2444e2f68c25c9be297091483f016a597e0d226a167fff66c64ec5c8b291a026a64f53df10330c08cbc95e1f2fa263b3a2 +DIST zig-s390x-linux-0.15.1.tar.xz 53508068 BLAKE2B f51f32c8b716dbab830d996982d8e1f587bedf91d5fc377866bd57a5c5569a7e993cb9383209c228440b23ef5fc4f2ec0e04072c3f80fe3de89849a132d81dae SHA512 d0bd692bb57c32d2e56ddaa01e33b73d48fda8b5a546c4f7148249c81395181686dbf8ddbd5154df9a8d929c902c075308978cd2df147aebe118c87811cbaab9 +DIST zig-s390x-linux-0.15.1.tar.xz.minisig 324 BLAKE2B a0d3b9913898c99a0199cf0a5e0bb84484e4da55da8cb3f5ac4a7cc26584342df7ea6df7d5fcc59f3b943d2a382b6664c64dde7de5bda7908cad01751373d5cb SHA512 bffad324f68a5e58ff94bd182fd168e7cf5c35b7db670105a677e1152f4046d74b4a1bb4ee776b7146469a4d72d5c2187621b8c6c7e2f1079cbadccc63f98c5f +DIST zig-s390x-linux-0.15.2.tar.xz 53486436 BLAKE2B 3a26f0dfcab4ec13704e03148ad052433c5bf99ce0f05b36138f5da3da2c9d1e87804809378ef43573980cea76170765419a778e085e66be42613f473c2745db SHA512 e449525eb938617f27582905fa1de3765f45bcc9c0097b8d05bf9373c5c3c4bf2f795f7ac8378c96ecbae946d6a43972f801da95fdae5c643e586c876beb3ef4 +DIST zig-s390x-linux-0.15.2.tar.xz.minisig 324 BLAKE2B 91ceb333785ff1eba9bf453c808af19c4fdc99a8a542db303f09ff684209d9cd63d5a15e01926a654353891ee933d5e5c0e876d8b47a0e7d704f18a21864b849 SHA512 15b92e4fc42400a13022c5b24aa768f28b737901b62936571855eb70e962b69aaaea9ae206f5c809155323676b014fb4df62af8fe1b6410c20abc2ac469e5e01 +DIST zig-s390x-linux-0.16.0.tar.xz 54995144 BLAKE2B 54255a58b0a44e5600118843862d38dc59e0a3a594771c39aa1fe4ef609fa83327192e9a528aee96afec8a408afeb57df99b19ea559c78d584ffe3f838313409 SHA512 ff87eee41908a844567db7341780be761e4e3ea2787bb9b9cd99d55b4c0118fb244d5deb3c5db8e91c23b674cabee6da08f4efee151db4dcb15288d23a1b72b3 +DIST zig-s390x-linux-0.16.0.tar.xz.minisig 324 BLAKE2B 85d1e7cfb6361238e56ca0d64aaf51c8c9f23b95b93476c36a53a5c23965f019dbdf11ea9a1053c0208ac4cfc3768081fd16265ba659960b98a6b11bb815c99b SHA512 e7c8d4ce7e0ba34de0acb9491c3ea39ea9770743acea76a3e7a683e1f62c791c6d41d70547efa469dd43e6cbb5287e72d9235368490c1e774356733be4ff7cc5 +DIST zig-x86-linux-0.14.1.tar.xz 51643520 BLAKE2B cd8c17720a1a0d0b7f37c54b4e2e13c10d32875783682ebdf28801801204f6cb156fdf5912379b868dbb7f44752b7b56b1e43ffd9d23dfc39e46e395ac4b5f3b SHA512 a1cfed87bbcce9bfd11dceaa59c44682e6d5eee2defdbc14a9120cb282c01fa9a9a640f5c195d8d8858a9ab612d642bbc19342fcf298c02fc25696e797284bbe +DIST zig-x86-linux-0.14.1.tar.xz.minisig 322 BLAKE2B cbfd887890ffe25dcd527bc04554eb7ee5dfca63d06828a93897fffc0a617cc03107bd6806b92e7f2492f2b62a9dbca2be5d81ca8f90a3f361f051b4edf61402 SHA512 21723b8d429b7cd79e8b76b8e69ea12eab54a6d6d636d5c8e85e4fd180080a2fe377eebd1dd626551f6af470a71943ced0bfa09ab13dfdf983d4c4bcf74d99e6 +DIST zig-x86-linux-0.15.1.tar.xz 56311228 BLAKE2B 2f19b3b46be4eedc05a93731ffc3ac3a67cbc8f8336930a652122d5b90135896217ad37472c6b9fdda6c54408a17ce351a15cbbb78559f7a1480918a4c2e5d42 SHA512 67c2493420b01d41218f992ee4fa801ca6a4f1ced7a09d927a750187bff5f5af9b49ee02b0516b6e76692ae0cb518d73adc1964345c2ca80d658914af3bb5947 +DIST zig-x86-linux-0.15.1.tar.xz.minisig 322 BLAKE2B 22337b1a7678365f3c36744b3f5e11400c34fe793dd2b9595ffa49ee78ea1eaf755ab7f342a679b18acc2b2f02db9703f18f9b6675346cbeb58deb15630f4702 SHA512 3d0a355d642fcc69a77e51e660f1c2d8e973555e31853b263a7f03adbb38277897f17be036f205dc835ecafc90ae0c69a95d2f66a802bb17e3cc6bc6c4f084d0 +DIST zig-x86-linux-0.15.2.tar.xz 56334032 BLAKE2B 8913186e6b0e41d6b37dbfcfac61d5af7a07d399bac8c1595fa8253c01dce33c5c6ca20069923fee03f8ecf8bd8a478cb9a58a2cf80687ca181e93692cc2a47e SHA512 a990ebdedd40abaeecdf51a045517c791dc96a3d703e5685d9d46941d004988887637f89114a1c5537aedc94a7db06d3497f9f9305468a738fa092aa937ce18e +DIST zig-x86-linux-0.15.2.tar.xz.minisig 322 BLAKE2B 1dfba00bb647d9e0ff28390af0bf1f841337e3c772096627e6f793c5242a3a0af6af1e48c300c7857b2c5e50f098eff94aae2492ef885f8a9349a4fcd258dab3 SHA512 588d47f5149e79c53e7408b6f46ac7071157da9fcf56d799aead7c37c4a78e3ca3597d501b8d3612c22c800f37fa0b720a7537278f8a371c1290e3f02905dabe +DIST zig-x86-linux-0.16.0.tar.xz 58196012 BLAKE2B 41077eaceb8c95f04677c7908d601075d2d00b4f80205ab5b6eb8f6ea08e2c74f450ae9dcbb88fb7f4609f468bdb6e233207bcaaf2ae3cadc28aeaa66cf910ca SHA512 b62f51788048ffa31622c2cf0af9106bfef3b15c64bb12d536e1c4dfc95cd6c54bfdca8090649272daab4ed0fe3999adc6927dc589a967c0b2812cd7b5025b93 +DIST zig-x86-linux-0.16.0.tar.xz.minisig 322 BLAKE2B 6713bc80f3c48d8ce4132507ad4f3d643ad78dacb9d3c4e93874e6a2441c6fa2c46304a8186cfbc835eb941956e4b722fb48f891a874467886bce4d63d17cfbe SHA512 691e5c1e7839c538e0f0f2f900b3de516582065abca3e8cad3219b3d56770eeaf14a54aa1ca663349c3d8168a668f23694b1b07f66415ac5f2962eb926771870 +DIST zig-x86_64-linux-0.14.1.tar.xz 49086504 BLAKE2B c9e50c7f6d1df3de4579671069e0d6609f81767e7a47d5c5a60e5f07b0583da1e5531c0ba7a7cc331efe87df123f2ec6bca68b34ef20f94352317810957000cd SHA512 7434388df6569e8319daf974ddb564013ffa6441ddef9517d648512e3f260c7ab52ee70ab80d5d56e5b9ee15df203c8834db181752576e130c875a7414677f34 +DIST zig-x86_64-linux-0.14.1.tar.xz.minisig 325 BLAKE2B 61820da772bbdb4f6a15908f2b39938a25595f6e247d7bd1e33f05d0b02b2fa0e865ec834eb0fa760dc25e97aa4c5f88182fcf0055c8ed0edf498300685c69ea SHA512 897d40004f434dfc88223bf2d074c317ebe65289e55eb77570a0ae253dcc807f9bf5b77e3ff7e4152fb3d0179a98851c1210ff3e81410bbf24ce645d85a597e3 +DIST zig-x86_64-linux-0.15.1.tar.xz 53734456 BLAKE2B 4e14bfe9fce7416ac398bd361c45194beae60d0e258bc01600e7c6df21a71b3b43198c9de9a26f807b4cda404541d44b1fc2d5f3b66ea78ac3a66780b4f3ee16 SHA512 b48538e3196638faee0756f03db195d5460ff2ea2c05c42c9cf836a90907e324083d3e4d1d4c25197c8f4fed11ebca10a7c56f19f2e108abfb411c7a0b5582ea +DIST zig-x86_64-linux-0.15.1.tar.xz.minisig 325 BLAKE2B 6b431b122e3b2d16f7469113a603a2fc637ddaccf4e50c0ced57ce6e4b9e6c3bd8b5e133f92c58514b4d08cddc319a6e2d4f87e4625e05392aa0bcd5def006fd SHA512 e8f4dbfad9ac25df088d3030de4890d17b30e8430c1e1738c0d77e8c00d4da4801e1d2567d982fd0559a485f3d55f9eb8abebae076500d8a2092e32ccf630c9f +DIST zig-x86_64-linux-0.15.2.tar.xz 53733924 BLAKE2B 6d7c35abab92211242834c0e992a3e7407c6b38fc17cc842e0cfdb23ff9b9751378ee44e60aa0c2ad0f6f1790d20a5bd70c4fd37d01c0287aab2dd3795ac7971 SHA512 bd2c53cd7ad1ce9e3cfc020072db42b5dd260028c156bb03dee1bc50c3485c2f50f9f4abb9c22c60faff6b5ddda83e0a5385300590d126121b3d8b989533d199 +DIST zig-x86_64-linux-0.15.2.tar.xz.minisig 325 BLAKE2B 4a0df1704b7e005e0bca0c078b4d85ddb95c05544829b2ccaab8d408f9d89754c04cee923a8722aa27ef031b25d0aaacd923bc1694f76a1ee638387ad205629c SHA512 29a1ac011e2c490a8d61ed80b5bae9f8dc2de5b707f04e93e157a66ca75a585e05f73dec02bb7c9d982c37ec780e381725edc1a127b4c9379f1b62fc5363e7d2 +DIST zig-x86_64-linux-0.16.0.tar.xz 55478392 BLAKE2B 77f476c241e6be49e8e71a98276261bdc8cc0bb90aca277f2d81413fe373d94c442df5277cf4cd0893b986b4c6c2a6f8b2061c9305fe8445883316899ff67958 SHA512 7883953b20974c487318a134d826bf87e76e9c80f9be1aebf63a0cf362c7e03291842ed3acff61b1892efa85dc72ef37bd60da301f266675c47623e4808a4895 +DIST zig-x86_64-linux-0.16.0.tar.xz.minisig 325 BLAKE2B 2f501df69e85c15809740d308db4da8011a165cb8f5e27eeb9ec5d51c01067ac062830b25726c3f5c662a012dc9592fd731ba86251c20903b0e8084f3c7e315f SHA512 0bd3de9dbe86800ae5be60a5a943b4c9b565206ac4355f8a226c47cb1ab9d54d62c172872feff858bd903d5212d14b79608f7f5347620061592c99a82dfd5641 diff --git a/dev-lang/zig-bin/files/zig-0.10.1-musl-1.2.4-lfs64.patch b/dev-lang/zig-bin/files/zig-0.10.1-musl-1.2.4-lfs64.patch new file mode 100644 index 000000000000..05a550a7920e --- /dev/null +++ b/dev-lang/zig-bin/files/zig-0.10.1-musl-1.2.4-lfs64.patch @@ -0,0 +1,220 @@ +From https://github.com/ziglang/zig/commit/b20ccff515364cdb8f3e733cc950e53ab77656db Mon Sep 17 00:00:00 2001 +From: Andrew Kelley <andrew@ziglang.org> +Date: Mon, 19 Jun 2023 15:17:01 -0700 +Subject: [PATCH] std.os: update logic for 64-bit symbol choice + +musl v1.2.4 dropped the "64"-suffixed aliases for legacy "LFS64" ("large +file support") interfaces, so this commit changes the corresponding Zig +logic to call the correct names. +--- a/lib/std/os.zig ++++ b/lib/std/os.zig +@@ -890,10 +890,7 @@ pub fn pread(fd: fd_t, buf: []u8, offset: u64) PReadError!usize { + }; + const adjusted_len = @min(max_count, buf.len); + +- const pread_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.pread64 +- else +- system.pread; ++ const pread_sym = if (lfs64_abi) system.pread64 else system.pread; + + const ioffset = @bitCast(i64, offset); // the OS treats this as unsigned + while (true) { +@@ -966,10 +963,7 @@ pub fn ftruncate(fd: fd_t, length: u64) TruncateError!void { + } + + while (true) { +- const ftruncate_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.ftruncate64 +- else +- system.ftruncate; ++ const ftruncate_sym = if (lfs64_abi) system.ftruncate64 else system.ftruncate; + + const ilen = @bitCast(i64, length); // the OS treats this as unsigned + switch (errno(ftruncate_sym(fd, ilen))) { +@@ -1034,10 +1028,7 @@ pub fn preadv(fd: fd_t, iov: []const iovec, offset: u64) PReadError!usize { + + const iov_count = math.cast(u31, iov.len) orelse math.maxInt(u31); + +- const preadv_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.preadv64 +- else +- system.preadv; ++ const preadv_sym = if (lfs64_abi) system.preadv64 else system.preadv; + + const ioffset = @bitCast(i64, offset); // the OS treats this as unsigned + while (true) { +@@ -1311,10 +1302,7 @@ pub fn pwrite(fd: fd_t, bytes: []const u8, offset: u64) PWriteError!usize { + }; + const adjusted_len = @min(max_count, bytes.len); + +- const pwrite_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.pwrite64 +- else +- system.pwrite; ++ const pwrite_sym = if (lfs64_abi) system.pwrite64 else system.pwrite; + + const ioffset = @bitCast(i64, offset); // the OS treats this as unsigned + while (true) { +@@ -1400,10 +1388,7 @@ pub fn pwritev(fd: fd_t, iov: []const iovec_const, offset: u64) PWriteError!usiz + } + } + +- const pwritev_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.pwritev64 +- else +- system.pwritev; ++ const pwritev_sym = if (lfs64_abi) system.pwritev64 else system.pwritev; + + const iov_count = if (iov.len > IOV_MAX) IOV_MAX else @intCast(u31, iov.len); + const ioffset = @bitCast(i64, offset); // the OS treats this as unsigned +@@ -1514,10 +1499,7 @@ pub fn openZ(file_path: [*:0]const u8, flags: u32, perm: mode_t) OpenError!fd_t + return open(mem.sliceTo(file_path, 0), flags, perm); + } + +- const open_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.open64 +- else +- system.open; ++ const open_sym = if (lfs64_abi) system.open64 else system.open; + + while (true) { + const rc = open_sym(file_path, flags, perm); +@@ -1730,10 +1712,7 @@ pub fn openatZ(dir_fd: fd_t, file_path: [*:0]const u8, flags: u32, mode: mode_t) + return openat(dir_fd, mem.sliceTo(file_path, 0), flags, mode); + } + +- const openat_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.openat64 +- else +- system.openat; ++ const openat_sym = if (lfs64_abi) system.openat64 else system.openat; + + while (true) { + const rc = openat_sym(dir_fd, file_path, flags, mode); +@@ -4117,10 +4096,7 @@ pub fn fstat(fd: fd_t) FStatError!Stat { + @compileError("fstat is not yet implemented on Windows"); + } + +- const fstat_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.fstat64 +- else +- system.fstat; ++ const fstat_sym = if (lfs64_abi) system.fstat64 else system.fstat; + + var stat = mem.zeroes(Stat); + switch (errno(fstat_sym(fd, &stat))) { +@@ -4176,10 +4152,7 @@ pub fn fstatatZ(dirfd: fd_t, pathname: [*:0]const u8, flags: u32) FStatAtError!S + return fstatatWasi(dirfd, mem.sliceTo(pathname), flags); + } + +- const fstatat_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.fstatat64 +- else +- system.fstatat; ++ const fstatat_sym = if (lfs64_abi) system.fstatat64 else system.fstatat; + + var stat = mem.zeroes(Stat); + switch (errno(fstatat_sym(dirfd, pathname, &stat, flags))) { +@@ -4416,10 +4389,7 @@ pub fn mmap( + fd: fd_t, + offset: u64, + ) MMapError![]align(mem.page_size) u8 { +- const mmap_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.mmap64 +- else +- system.mmap; ++ const mmap_sym = if (lfs64_abi) system.mmap64 else system.mmap; + + const ioffset = @bitCast(i64, offset); // the OS treats this as unsigned + const rc = mmap_sym(ptr, length, prot, flags, fd, ioffset); +@@ -4823,10 +4793,7 @@ pub fn lseek_SET(fd: fd_t, offset: u64) SeekError!void { + } + } + +- const lseek_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.lseek64 +- else +- system.lseek; ++ const lseek_sym = if (lfs64_abi) system.lseek64 else system.lseek; + + const ioffset = @bitCast(i64, offset); // the OS treats this as unsigned + switch (errno(lseek_sym(fd, ioffset, SEEK.SET))) { +@@ -4870,10 +4837,7 @@ pub fn lseek_CUR(fd: fd_t, offset: i64) SeekError!void { + else => |err| return unexpectedErrno(err), + } + } +- const lseek_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.lseek64 +- else +- system.lseek; ++ const lseek_sym = if (lfs64_abi) system.lseek64 else system.lseek; + + const ioffset = @bitCast(i64, offset); // the OS treats this as unsigned + switch (errno(lseek_sym(fd, ioffset, SEEK.CUR))) { +@@ -4917,10 +4881,7 @@ pub fn lseek_END(fd: fd_t, offset: i64) SeekError!void { + else => |err| return unexpectedErrno(err), + } + } +- const lseek_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.lseek64 +- else +- system.lseek; ++ const lseek_sym = if (lfs64_abi) system.lseek64 else system.lseek; + + const ioffset = @bitCast(i64, offset); // the OS treats this as unsigned + switch (errno(lseek_sym(fd, ioffset, SEEK.END))) { +@@ -4964,10 +4925,7 @@ pub fn lseek_CUR_get(fd: fd_t) SeekError!u64 { + else => |err| return unexpectedErrno(err), + } + } +- const lseek_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.lseek64 +- else +- system.lseek; ++ const lseek_sym = if (lfs64_abi) system.lseek64 else system.lseek; + + const rc = lseek_sym(fd, 0, SEEK.CUR); + switch (errno(rc)) { +@@ -6169,10 +6127,7 @@ pub fn sendfile( + // TODO we should not need this cast; improve return type of @min + const adjusted_count = @intCast(usize, adjusted_count_tmp); + +- const sendfile_sym = if (builtin.link_libc) +- system.sendfile64 +- else +- system.sendfile; ++ const sendfile_sym = if (lfs64_abi) system.sendfile64 else system.sendfile; + + while (true) { + var offset: off_t = @bitCast(off_t, in_offset); +@@ -7050,10 +7005,7 @@ pub fn prctl(option: PR, args: anytype) PrctlError!u31 { + pub const GetrlimitError = UnexpectedError; + + pub fn getrlimit(resource: rlimit_resource) GetrlimitError!rlimit { +- const getrlimit_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.getrlimit64 +- else +- system.getrlimit; ++ const getrlimit_sym = if (lfs64_abi) system.getrlimit64 else system.getrlimit; + + var limits: rlimit = undefined; + switch (errno(getrlimit_sym(resource, &limits))) { +@@ -7067,10 +7019,7 @@ pub fn getrlimit(resource: rlimit_resource) GetrlimitError!rlimit { + pub const SetrlimitError = error{ PermissionDenied, LimitTooBig } || UnexpectedError; + + pub fn setrlimit(resource: rlimit_resource, limits: rlimit) SetrlimitError!void { +- const setrlimit_sym = if (builtin.os.tag == .linux and builtin.link_libc) +- system.setrlimit64 +- else +- system.setrlimit; ++ const setrlimit_sym = if (lfs64_abi) system.setrlimit64 else system.setrlimit; + + switch (errno(setrlimit_sym(resource, &limits))) { + .SUCCESS => return, +@@ -7339,3 +7288,5 @@ pub fn ptrace(request: u32, pid: pid_t, addr: usize, signal: usize) PtraceError! + }, + }; + } ++ ++const lfs64_abi = builtin.os.tag == .linux and builtin.link_libc and builtin.abi.isGnu(); diff --git a/dev-lang/zig-bin/files/zig-0.15.1-reduce-command-new-writer.patch b/dev-lang/zig-bin/files/zig-0.15.1-reduce-command-new-writer.patch new file mode 100644 index 000000000000..07bb44b3cfa7 --- /dev/null +++ b/dev-lang/zig-bin/files/zig-0.15.1-reduce-command-new-writer.patch @@ -0,0 +1,175 @@ +# https://github.com/ziglang/zig/pull/24928 + +From: Justus Klausecker <justus@klausecker.de> + +zig reduce: adapt to new Writer API + +diff --git a/lib/compiler/reduce.zig b/lib/compiler/reduce.zig +index d9955b9e3383..b20a2fcba318 100644 +--- a/lib/compiler/reduce.zig ++++ b/lib/compiler/reduce.zig +@@ -114,10 +114,10 @@ pub fn main() !void { + interestingness_argv.appendAssumeCapacity(checker_path); + interestingness_argv.appendSliceAssumeCapacity(argv); + +- var rendered = std.array_list.Managed(u8).init(gpa); ++ var rendered: std.Io.Writer.Allocating = .init(gpa); + defer rendered.deinit(); + +- var astgen_input = std.array_list.Managed(u8).init(gpa); ++ var astgen_input: std.Io.Writer.Allocating = .init(gpa); + defer astgen_input.deinit(); + + var tree = try parse(gpa, root_source_file_path); +@@ -138,10 +138,10 @@ pub fn main() !void { + } + } + +- var fixups: Ast.Fixups = .{}; ++ var fixups: Ast.Render.Fixups = .{}; + defer fixups.deinit(gpa); + +- var more_fixups: Ast.Fixups = .{}; ++ var more_fixups: Ast.Render.Fixups = .{}; + defer more_fixups.deinit(gpa); + + var rng = std.Random.DefaultPrng.init(seed); +@@ -188,15 +188,14 @@ pub fn main() !void { + try transformationsToFixups(gpa, arena, root_source_file_path, this_set, &fixups); + + rendered.clearRetainingCapacity(); +- try tree.renderToArrayList(&rendered, fixups); ++ try tree.render(gpa, &rendered.writer, fixups); + + // The transformations we applied may have resulted in unused locals, + // in which case we would like to add the respective discards. + { +- try astgen_input.resize(rendered.items.len); +- @memcpy(astgen_input.items, rendered.items); +- try astgen_input.append(0); +- const source_with_null = astgen_input.items[0 .. astgen_input.items.len - 1 :0]; ++ try astgen_input.writer.writeAll(rendered.written()); ++ try astgen_input.writer.writeByte(0); ++ const source_with_null = astgen_input.written()[0..(astgen_input.written().len - 1) :0]; + var astgen_tree = try Ast.parse(gpa, source_with_null, .zig); + defer astgen_tree.deinit(gpa); + if (astgen_tree.errors.len != 0) { +@@ -228,12 +227,12 @@ pub fn main() !void { + } + if (more_fixups.count() != 0) { + rendered.clearRetainingCapacity(); +- try astgen_tree.renderToArrayList(&rendered, more_fixups); ++ try astgen_tree.render(gpa, &rendered.writer, more_fixups); + } + } + } + +- try std.fs.cwd().writeFile(.{ .sub_path = root_source_file_path, .data = rendered.items }); ++ try std.fs.cwd().writeFile(.{ .sub_path = root_source_file_path, .data = rendered.written() }); + // std.debug.print("trying this code:\n{s}\n", .{rendered.items}); + + const interestingness = try runCheck(arena, interestingness_argv.items); +@@ -273,8 +272,8 @@ pub fn main() !void { + // Revert the source back to not be transformed. + fixups.clearRetainingCapacity(); + rendered.clearRetainingCapacity(); +- try tree.renderToArrayList(&rendered, fixups); +- try std.fs.cwd().writeFile(.{ .sub_path = root_source_file_path, .data = rendered.items }); ++ try tree.render(gpa, &rendered.writer, fixups); ++ try std.fs.cwd().writeFile(.{ .sub_path = root_source_file_path, .data = rendered.written() }); + + return std.process.cleanExit(); + } +@@ -318,7 +317,7 @@ fn transformationsToFixups( + arena: Allocator, + root_source_file_path: []const u8, + transforms: []const Walk.Transformation, +- fixups: *Ast.Fixups, ++ fixups: *Ast.Render.Fixups, + ) !void { + fixups.clearRetainingCapacity(); + +@@ -359,7 +358,7 @@ fn transformationsToFixups( + other_file_ast.deinit(gpa); + } + +- var inlined_fixups: Ast.Fixups = .{}; ++ var inlined_fixups: Ast.Render.Fixups = .{}; + defer inlined_fixups.deinit(gpa); + if (std.fs.path.dirname(inline_imported_file.imported_string)) |dirname| { + inlined_fixups.rebase_imported_paths = dirname; +@@ -382,16 +381,16 @@ fn transformationsToFixups( + } + } + +- var other_source = std.array_list.Managed(u8).init(gpa); ++ var other_source: std.io.Writer.Allocating = .init(gpa); + defer other_source.deinit(); +- try other_source.appendSlice("struct {\n"); +- try other_file_ast.renderToArrayList(&other_source, inlined_fixups); +- try other_source.appendSlice("}"); ++ try other_source.writer.writeAll("struct {\n"); ++ try other_file_ast.render(gpa, &other_source.writer, inlined_fixups); ++ try other_source.writer.writeAll("}"); + + try fixups.replace_nodes_with_string.put( + gpa, + inline_imported_file.builtin_call_node, +- try arena.dupe(u8, other_source.items), ++ try arena.dupe(u8, other_source.written()), + ); + }, + }; +diff --git a/lib/compiler/reduce/Walk.zig b/lib/compiler/reduce/Walk.zig +index 4e41fdf1a2a9..7a448fad2172 100644 +--- a/lib/compiler/reduce/Walk.zig ++++ b/lib/compiler/reduce/Walk.zig +@@ -501,6 +501,10 @@ fn walkExpression(w: *Walk, node: Ast.Node.Index) Error!void { + .@"asm", + => return walkAsm(w, ast.fullAsm(node).?), + ++ .asm_legacy => { ++ return walkAsmLegacy(w, ast.legacyAsm(node).?); ++ }, ++ + .enum_literal => { + return walkIdentifier(w, ast.nodeMainToken(node)); // name + }, +@@ -665,7 +669,7 @@ fn walkStructInit( + + fn walkCall(w: *Walk, call: Ast.full.Call) Error!void { + try walkExpression(w, call.ast.fn_expr); +- try walkParamList(w, call.ast.params); ++ try walkExpressions(w, call.ast.params); + } + + fn walkSlice( +@@ -830,7 +834,7 @@ fn walkWhile(w: *Walk, node_index: Ast.Node.Index, while_node: Ast.full.While) E + } + + fn walkFor(w: *Walk, for_node: Ast.full.For) Error!void { +- try walkParamList(w, for_node.ast.inputs); ++ try walkExpressions(w, for_node.ast.inputs); + try walkExpression(w, for_node.ast.then_expr); + if (for_node.ast.else_expr.unwrap()) |else_expr| { + try walkExpression(w, else_expr); +@@ -874,15 +878,12 @@ fn walkIf(w: *Walk, node_index: Ast.Node.Index, if_node: Ast.full.If) Error!void + + fn walkAsm(w: *Walk, asm_node: Ast.full.Asm) Error!void { + try walkExpression(w, asm_node.ast.template); +- for (asm_node.ast.items) |item| { +- try walkExpression(w, item); +- } ++ try walkExpressions(w, asm_node.ast.items); + } + +-fn walkParamList(w: *Walk, params: []const Ast.Node.Index) Error!void { +- for (params) |param_node| { +- try walkExpression(w, param_node); +- } ++fn walkAsmLegacy(w: *Walk, asm_node: Ast.full.AsmLegacy) Error!void { ++ try walkExpression(w, asm_node.ast.template); ++ try walkExpressions(w, asm_node.ast.items); + } + + /// Check if it is already gutted (i.e. its body replaced with `@trap()`). diff --git a/dev-lang/zig-bin/metadata.xml b/dev-lang/zig-bin/metadata.xml new file mode 100644 index 000000000000..7fdb518e0bfb --- /dev/null +++ b/dev-lang/zig-bin/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>bratishkaerik@landless-city.net</email> + <name>Eric Joldasov</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <bugs-to>https://codeberg.org/ziglang/zig/issues</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-lang/zig-bin/zig-bin-0.10.1-r3.ebuild b/dev-lang/zig-bin/zig-bin-0.10.1-r3.ebuild new file mode 100644 index 000000000000..4304777fdd8d --- /dev/null +++ b/dev-lang/zig-bin/zig-bin-0.10.1-r3.ebuild @@ -0,0 +1,88 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_METHOD=minisig +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/minisig-keys/zig-software-foundation.pub +inherit verify-sig + +DESCRIPTION="A robust, optimal, and maintainable programming language" +HOMEPAGE="https://ziglang.org/ https://codeberg.org/ziglang/zig/" +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 ) + riscv? ( https://ziglang.org/download/${PV}/zig-linux-riscv64-${PV}.tar.xz ) + x86? ( https://ziglang.org/download/${PV}/zig-linux-i386-${PV}.tar.xz ) + verify-sig? ( + amd64? ( https://ziglang.org/download/${PV}/zig-linux-x86_64-${PV}.tar.xz.minisig ) + arm? ( https://ziglang.org/download/${PV}/zig-linux-armv7a-${PV}.tar.xz.minisig ) + arm64? ( https://ziglang.org/download/${PV}/zig-linux-aarch64-${PV}.tar.xz.minisig ) + riscv? ( https://ziglang.org/download/${PV}/zig-linux-riscv64-${PV}.tar.xz.minisig ) + x86? ( https://ziglang.org/download/${PV}/zig-linux-i386-${PV}.tar.xz.minisig ) + ) +" + +# project itself: MIT +# There are bunch of projects under "lib/" folder that are needed for cross-compilation. +# Files that are unnecessary for cross-compilation are removed by upstream +# and therefore their licenses (if any special) are not included. +# lib/libunwind: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxxabi: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxx: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libc/wasi: || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain +# lib/libc/musl: MIT BSD-2 +# lib/libc/mingw: ZPL public-domain BSD-2 ISC HPND +# lib/libc/glibc: BSD HPND ISC inner-net LGPL-2.1+ +LICENSE="MIT Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain BSD-2 ZPL ISC HPND BSD inner-net LGPL-2.1+" +SLOT="$(ver_cut 1-2)" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="doc" + +BDEPEND="verify-sig? ( sec-keys/minisig-keys-zig-software-foundation )" +IDEPEND="app-eselect/eselect-zig" + +# Zig provides its standard library and some compiler code in source form "/opt/zig-bin-{PV}/lib/". +# Here we use this feature to fix programs that use standard library. +# Note: Zig build system is also part of standard library, so we can fix it too. +# Don't remove this comment so that other contributors won't be misleaded by "-bin" suffix. +PATCHES=( + "${FILESDIR}/zig-0.10.1-musl-1.2.4-lfs64.patch" +) + +QA_PREBUILT="opt/zig-bin-${PV}/zig" + +src_unpack() { + verify-sig_src_unpack + + mv "${WORKDIR}/"* "${S}" || die +} + +src_install() { + insinto /opt/ + + use doc && local HTML_DOCS=( "doc/langref.html" "doc/std/" ) + einstalldocs + rm -r ./doc/ || die + + doins -r "${S}" + fperms 0755 /opt/zig-bin-${PV}/zig + dosym -r /opt/zig-bin-${PV}/zig /usr/bin/zig-bin-${PV} +} + +pkg_postinst() { + eselect zig update ifunset || die + + elog "0.10.1 release uses self-hosted compiler by default and fixes some bugs from 0.10.0." + elog "If you wanted to try async/await syntax (which is still absent in newer versions)," + elog "use '-fstage1' flag to enable old C++-based compiler, since only stage1 supports this syntax." + elog "" + elog "See also: https://ziglang.org/download/0.10.0/release-notes.html#Falling-short-of-stage1 ," + elog "https://github.com/ziglang/zig/wiki/FAQ#what-is-the-status-of-async-in-zig" + elog "and https://github.com/ziglang/zig/issues/6025" +} + +pkg_postrm() { + eselect zig update ifunset +} diff --git a/dev-lang/zig-bin/zig-bin-0.13.0.ebuild b/dev-lang/zig-bin/zig-bin-0.13.0.ebuild new file mode 100644 index 000000000000..082bd16bff2c --- /dev/null +++ b/dev-lang/zig-bin/zig-bin-0.13.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_METHOD=minisig +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/minisig-keys/zig-software-foundation.pub +inherit verify-sig + +DESCRIPTION="A robust, optimal, and maintainable programming language" +HOMEPAGE="https://ziglang.org/ https://codeberg.org/ziglang/zig/" +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 ) + ppc64? ( https://ziglang.org/download/${PV}/zig-linux-powerpc64le-${PV}.tar.xz ) + riscv? ( https://ziglang.org/download/${PV}/zig-linux-riscv64-${PV}.tar.xz ) + x86? ( https://ziglang.org/download/${PV}/zig-linux-x86-${PV}.tar.xz ) + verify-sig? ( + amd64? ( https://ziglang.org/download/${PV}/zig-linux-x86_64-${PV}.tar.xz.minisig ) + arm? ( https://ziglang.org/download/${PV}/zig-linux-armv7a-${PV}.tar.xz.minisig ) + arm64? ( https://ziglang.org/download/${PV}/zig-linux-aarch64-${PV}.tar.xz.minisig ) + ppc64? ( https://ziglang.org/download/${PV}/zig-linux-powerpc64le-${PV}.tar.xz.minisig ) + riscv? ( https://ziglang.org/download/${PV}/zig-linux-riscv64-${PV}.tar.xz.minisig ) + x86? ( https://ziglang.org/download/${PV}/zig-linux-x86-${PV}.tar.xz.minisig ) + ) +" + +# project itself: MIT +# There are bunch of projects under "lib/" folder that are needed for cross-compilation. +# Files that are unnecessary for cross-compilation are removed by upstream +# and therefore their licenses (if any special) are not included. +# lib/libunwind: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxxabi: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxx: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libc/wasi: || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain +# lib/libc/musl: MIT BSD-2 +# lib/libc/mingw: ZPL public-domain BSD-2 ISC HPND +# lib/libc/glibc: BSD HPND ISC inner-net LGPL-2.1+ +LICENSE="MIT Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain BSD-2 ZPL ISC HPND BSD inner-net LGPL-2.1+" +SLOT="$(ver_cut 1-2)" +KEYWORDS="-* amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND="verify-sig? ( sec-keys/minisig-keys-zig-software-foundation )" +IDEPEND="app-eselect/eselect-zig" + +DOCS=( "README.md" ) +HTML_DOCS=( "doc/langref.html" ) + +# Zig provides its standard library and some compiler code in source form "/opt/zig-bin-{PV}/lib/". +# Here we use this feature to fix programs that use standard library. +# Note: Zig build system is also part of standard library, so we can fix it too. +# Don't remove this comment so that other contributors won't be misleaded by "-bin" suffix. +#PATCHES=() + +QA_PREBUILT="opt/zig-bin-${PV}/zig" + +src_unpack() { + verify-sig_src_unpack + + mv "${WORKDIR}/"* "${S}" || die +} + +src_install() { + insinto /opt/ + + einstalldocs + rm README.md || die + rm -r ./doc/ || die + + doins -r "${S}" + fperms 0755 /opt/zig-bin-${PV}/zig + dosym -r /opt/zig-bin-${PV}/zig /usr/bin/zig-bin-${PV} +} + +pkg_postinst() { + eselect zig update ifunset || die + + elog "Starting from 0.12.0, Zig no longer installs" + elog "precompiled standard library documentation." + elog "Instead, you can call \`zig std\` to compile it on-the-fly." + elog "It reflects all edits in standard library automatically." + elog "See \`zig std --help\` for more information." + elog "More details here: https://ziglang.org/download/0.12.0/release-notes.html#Redesign-How-Autodoc-Works" +} + +pkg_postrm() { + eselect zig update ifunset +} diff --git a/dev-lang/zig-bin/zig-bin-0.14.1.ebuild b/dev-lang/zig-bin/zig-bin-0.14.1.ebuild new file mode 100644 index 000000000000..cd97f08cf50b --- /dev/null +++ b/dev-lang/zig-bin/zig-bin-0.14.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_METHOD=minisig +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/minisig-keys/zig-software-foundation.pub +inherit verify-sig + +DESCRIPTION="A robust, optimal, and maintainable programming language" +HOMEPAGE="https://ziglang.org/ https://codeberg.org/ziglang/zig/" +SRC_URI=" + amd64? ( https://ziglang.org/download/${PV}/zig-x86_64-linux-${PV}.tar.xz ) + arm? ( https://ziglang.org/download/${PV}/zig-armv7a-linux-${PV}.tar.xz ) + arm64? ( https://ziglang.org/download/${PV}/zig-aarch64-linux-${PV}.tar.xz ) + loong? ( https://ziglang.org/download/${PV}/zig-loongarch64-linux-${PV}.tar.xz ) + ppc64? ( https://ziglang.org/download/${PV}/zig-powerpc64le-linux-${PV}.tar.xz ) + riscv? ( https://ziglang.org/download/${PV}/zig-riscv64-linux-${PV}.tar.xz ) + s390? ( https://ziglang.org/download/${PV}/zig-s390x-linux-${PV}.tar.xz ) + x86? ( https://ziglang.org/download/${PV}/zig-x86-linux-${PV}.tar.xz ) + verify-sig? ( + amd64? ( https://ziglang.org/download/${PV}/zig-x86_64-linux-${PV}.tar.xz.minisig ) + arm? ( https://ziglang.org/download/${PV}/zig-armv7a-linux-${PV}.tar.xz.minisig ) + arm64? ( https://ziglang.org/download/${PV}/zig-aarch64-linux-${PV}.tar.xz.minisig ) + loong? ( https://ziglang.org/download/${PV}/zig-loongarch64-linux-${PV}.tar.xz.minisig ) + ppc64? ( https://ziglang.org/download/${PV}/zig-powerpc64le-linux-${PV}.tar.xz.minisig ) + riscv? ( https://ziglang.org/download/${PV}/zig-riscv64-linux-${PV}.tar.xz.minisig ) + s390? ( https://ziglang.org/download/${PV}/zig-s390x-linux-${PV}.tar.xz.minisig ) + x86? ( https://ziglang.org/download/${PV}/zig-x86-linux-${PV}.tar.xz.minisig ) + ) +" + +# project itself: MIT +# There are bunch of projects under "lib/" folder that are needed for cross-compilation. +# Files that are unnecessary for cross-compilation are removed by upstream +# and therefore their licenses (if any special) are not included. +# lib/libunwind: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxxabi: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxx: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libc/wasi: || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain +# lib/libc/musl: MIT BSD-2 +# lib/libc/mingw: ZPL public-domain BSD-2 ISC HPND +# lib/libc/glibc: BSD HPND ISC inner-net LGPL-2.1+ +LICENSE="MIT Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain BSD-2 ZPL ISC HPND BSD inner-net LGPL-2.1+" +SLOT="$(ver_cut 1-2)" +KEYWORDS="-* amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~s390 ~x86" + +BDEPEND="verify-sig? ( sec-keys/minisig-keys-zig-software-foundation )" +IDEPEND="app-eselect/eselect-zig" + +DOCS=( "README.md" ) +HTML_DOCS=( "doc/langref.html" ) + +# Zig provides its standard library and some compiler code in source form "/opt/zig-bin-{PV}/lib/". +# Here we use this feature to fix programs that use standard library. +# Note: Zig build system is also part of standard library, so we can fix it too. +# Don't remove this comment so that other contributors won't be misleaded by "-bin" suffix. +#PATCHES=() + +QA_PREBUILT="opt/zig-bin-${PV}/zig" + +src_unpack() { + verify-sig_src_unpack + + mv "${WORKDIR}/"* "${S}" || die +} + +src_install() { + insinto /opt/ + + einstalldocs + rm README.md || die + rm -r ./doc/ || die + + doins -r "${S}" + fperms 0755 /opt/zig-bin-${PV}/zig + dosym -r /opt/zig-bin-${PV}/zig /usr/bin/zig-bin-${PV} +} + +pkg_postinst() { + eselect zig update ifunset || die +} + +pkg_postrm() { + eselect zig update ifunset +} diff --git a/dev-lang/zig-bin/zig-bin-0.15.1.ebuild b/dev-lang/zig-bin/zig-bin-0.15.1.ebuild new file mode 100644 index 000000000000..21edc73a5362 --- /dev/null +++ b/dev-lang/zig-bin/zig-bin-0.15.1.ebuild @@ -0,0 +1,88 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_METHOD=minisig +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/minisig-keys/zig-software-foundation.pub +inherit verify-sig + +DESCRIPTION="A robust, optimal, and maintainable programming language" +HOMEPAGE="https://ziglang.org/ https://codeberg.org/ziglang/zig/" +SRC_URI=" + amd64? ( https://ziglang.org/download/${PV}/zig-x86_64-linux-${PV}.tar.xz ) + arm? ( https://ziglang.org/download/${PV}/zig-arm-linux-${PV}.tar.xz ) + arm64? ( https://ziglang.org/download/${PV}/zig-aarch64-linux-${PV}.tar.xz ) + loong? ( https://ziglang.org/download/${PV}/zig-loongarch64-linux-${PV}.tar.xz ) + ppc64? ( https://ziglang.org/download/${PV}/zig-powerpc64le-linux-${PV}.tar.xz ) + riscv? ( https://ziglang.org/download/${PV}/zig-riscv64-linux-${PV}.tar.xz ) + s390? ( https://ziglang.org/download/${PV}/zig-s390x-linux-${PV}.tar.xz ) + x86? ( https://ziglang.org/download/${PV}/zig-x86-linux-${PV}.tar.xz ) + verify-sig? ( + amd64? ( https://ziglang.org/download/${PV}/zig-x86_64-linux-${PV}.tar.xz.minisig ) + arm? ( https://ziglang.org/download/${PV}/zig-arm-linux-${PV}.tar.xz.minisig ) + arm64? ( https://ziglang.org/download/${PV}/zig-aarch64-linux-${PV}.tar.xz.minisig ) + loong? ( https://ziglang.org/download/${PV}/zig-loongarch64-linux-${PV}.tar.xz.minisig ) + ppc64? ( https://ziglang.org/download/${PV}/zig-powerpc64le-linux-${PV}.tar.xz.minisig ) + riscv? ( https://ziglang.org/download/${PV}/zig-riscv64-linux-${PV}.tar.xz.minisig ) + s390? ( https://ziglang.org/download/${PV}/zig-s390x-linux-${PV}.tar.xz.minisig ) + x86? ( https://ziglang.org/download/${PV}/zig-x86-linux-${PV}.tar.xz.minisig ) + ) +" + +# project itself: MIT +# There are bunch of projects under "lib/" folder that are needed for cross-compilation. +# Files that are unnecessary for cross-compilation are removed by upstream +# and therefore their licenses (if any special) are not included. +# lib/libunwind: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxxabi: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxx: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libc/wasi: || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain +# lib/libc/musl: MIT BSD-2 +# lib/libc/mingw: ZPL public-domain BSD-2 ISC HPND +# lib/libc/glibc: BSD HPND ISC inner-net LGPL-2.1+ +LICENSE="MIT Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain BSD-2 ZPL ISC HPND BSD inner-net LGPL-2.1+" +SLOT="$(ver_cut 1-2)" +KEYWORDS="-* amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~s390 ~x86" + +BDEPEND="verify-sig? ( sec-keys/minisig-keys-zig-software-foundation )" +IDEPEND="app-eselect/eselect-zig" + +DOCS=( "README.md" ) +HTML_DOCS=( "doc/langref.html" ) + +# Zig provides its standard library and some compiler code in source form "/opt/zig-bin-{PV}/lib/". +# Here we use this feature to fix programs that use standard library. +# Note: Zig build system is also part of standard library, so we can fix it too. +# Don't remove this comment so that other contributors won't be misleaded by "-bin" suffix. +PATCHES=( + "${FILESDIR}/zig-${PV}-reduce-command-new-writer.patch" +) + +QA_PREBUILT="opt/zig-bin-${PV}/zig" + +src_unpack() { + verify-sig_src_unpack + + mv "${WORKDIR}/"* "${S}" || die +} + +src_install() { + insinto /opt/ + + einstalldocs + rm README.md || die + rm -r ./doc/ || die + + doins -r "${S}" + fperms 0755 /opt/zig-bin-${PV}/zig + dosym -r /opt/zig-bin-${PV}/zig /usr/bin/zig-bin-${PV} +} + +pkg_postinst() { + eselect zig update ifunset || die +} + +pkg_postrm() { + eselect zig update ifunset +} diff --git a/dev-lang/zig-bin/zig-bin-0.15.2.ebuild b/dev-lang/zig-bin/zig-bin-0.15.2.ebuild new file mode 100644 index 000000000000..0fd1ce541f20 --- /dev/null +++ b/dev-lang/zig-bin/zig-bin-0.15.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_METHOD=minisig +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/minisig-keys/zig-software-foundation.pub +inherit verify-sig + +DESCRIPTION="A robust, optimal, and maintainable programming language" +HOMEPAGE="https://ziglang.org/ https://codeberg.org/ziglang/zig/" +SRC_URI=" + amd64? ( https://ziglang.org/download/${PV}/zig-x86_64-linux-${PV}.tar.xz ) + arm? ( https://ziglang.org/download/${PV}/zig-arm-linux-${PV}.tar.xz ) + arm64? ( https://ziglang.org/download/${PV}/zig-aarch64-linux-${PV}.tar.xz ) + loong? ( https://ziglang.org/download/${PV}/zig-loongarch64-linux-${PV}.tar.xz ) + ppc64? ( https://ziglang.org/download/${PV}/zig-powerpc64le-linux-${PV}.tar.xz ) + riscv? ( https://ziglang.org/download/${PV}/zig-riscv64-linux-${PV}.tar.xz ) + s390? ( https://ziglang.org/download/${PV}/zig-s390x-linux-${PV}.tar.xz ) + x86? ( https://ziglang.org/download/${PV}/zig-x86-linux-${PV}.tar.xz ) + verify-sig? ( + amd64? ( https://ziglang.org/download/${PV}/zig-x86_64-linux-${PV}.tar.xz.minisig ) + arm? ( https://ziglang.org/download/${PV}/zig-arm-linux-${PV}.tar.xz.minisig ) + arm64? ( https://ziglang.org/download/${PV}/zig-aarch64-linux-${PV}.tar.xz.minisig ) + loong? ( https://ziglang.org/download/${PV}/zig-loongarch64-linux-${PV}.tar.xz.minisig ) + ppc64? ( https://ziglang.org/download/${PV}/zig-powerpc64le-linux-${PV}.tar.xz.minisig ) + riscv? ( https://ziglang.org/download/${PV}/zig-riscv64-linux-${PV}.tar.xz.minisig ) + s390? ( https://ziglang.org/download/${PV}/zig-s390x-linux-${PV}.tar.xz.minisig ) + x86? ( https://ziglang.org/download/${PV}/zig-x86-linux-${PV}.tar.xz.minisig ) + ) +" + +# project itself: MIT +# There are bunch of projects under "lib/" folder that are needed for cross-compilation. +# Files that are unnecessary for cross-compilation are removed by upstream +# and therefore their licenses (if any special) are not included. +# lib/libunwind: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxxabi: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxx: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libc/wasi: || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain +# lib/libc/musl: MIT BSD-2 +# lib/libc/mingw: ZPL public-domain BSD-2 ISC HPND +# lib/libc/glibc: BSD HPND ISC inner-net LGPL-2.1+ +LICENSE="MIT Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain BSD-2 ZPL ISC HPND BSD inner-net LGPL-2.1+" +SLOT="$(ver_cut 1-2)" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~s390 ~x86" + +BDEPEND="verify-sig? ( sec-keys/minisig-keys-zig-software-foundation )" +IDEPEND="app-eselect/eselect-zig" + +DOCS=( "README.md" ) +HTML_DOCS=( "doc/langref.html" ) + +# Zig provides its standard library and some compiler code in source form "/opt/zig-bin-{PV}/lib/". +# Here we use this feature to fix programs that use standard library. +# Note: Zig build system is also part of standard library, so we can fix it too. +# Don't remove this comment so that other contributors won't be misleaded by "-bin" suffix. +# PATCHES=() + +QA_PREBUILT="opt/zig-bin-${PV}/zig" + +src_unpack() { + verify-sig_src_unpack + + mv "${WORKDIR}/"* "${S}" || die +} + +src_install() { + insinto /opt/ + + einstalldocs + rm README.md || die + rm -r ./doc/ || die + + doins -r "${S}" + fperms 0755 /opt/zig-bin-${PV}/zig + dosym -r /opt/zig-bin-${PV}/zig /usr/bin/zig-bin-${PV} +} + +pkg_postinst() { + eselect zig update ifunset || die +} + +pkg_postrm() { + eselect zig update ifunset +} diff --git a/dev-lang/zig-bin/zig-bin-0.16.0.ebuild b/dev-lang/zig-bin/zig-bin-0.16.0.ebuild new file mode 100644 index 000000000000..e08ff484580d --- /dev/null +++ b/dev-lang/zig-bin/zig-bin-0.16.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +VERIFY_SIG_METHOD=minisig +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/minisig-keys/zig-software-foundation.pub +inherit verify-sig + +DESCRIPTION="A robust, optimal, and maintainable programming language" +HOMEPAGE="https://ziglang.org/ https://codeberg.org/ziglang/zig/" +SRC_URI=" + amd64? ( https://ziglang.org/download/${PV}/zig-x86_64-linux-${PV}.tar.xz ) + arm? ( https://ziglang.org/download/${PV}/zig-arm-linux-${PV}.tar.xz ) + arm64? ( https://ziglang.org/download/${PV}/zig-aarch64-linux-${PV}.tar.xz ) + loong? ( https://ziglang.org/download/${PV}/zig-loongarch64-linux-${PV}.tar.xz ) + ppc64? ( https://ziglang.org/download/${PV}/zig-powerpc64le-linux-${PV}.tar.xz ) + riscv? ( https://ziglang.org/download/${PV}/zig-riscv64-linux-${PV}.tar.xz ) + s390? ( https://ziglang.org/download/${PV}/zig-s390x-linux-${PV}.tar.xz ) + x86? ( https://ziglang.org/download/${PV}/zig-x86-linux-${PV}.tar.xz ) + verify-sig? ( + amd64? ( https://ziglang.org/download/${PV}/zig-x86_64-linux-${PV}.tar.xz.minisig ) + arm? ( https://ziglang.org/download/${PV}/zig-arm-linux-${PV}.tar.xz.minisig ) + arm64? ( https://ziglang.org/download/${PV}/zig-aarch64-linux-${PV}.tar.xz.minisig ) + loong? ( https://ziglang.org/download/${PV}/zig-loongarch64-linux-${PV}.tar.xz.minisig ) + ppc64? ( https://ziglang.org/download/${PV}/zig-powerpc64le-linux-${PV}.tar.xz.minisig ) + riscv? ( https://ziglang.org/download/${PV}/zig-riscv64-linux-${PV}.tar.xz.minisig ) + s390? ( https://ziglang.org/download/${PV}/zig-s390x-linux-${PV}.tar.xz.minisig ) + x86? ( https://ziglang.org/download/${PV}/zig-x86-linux-${PV}.tar.xz.minisig ) + ) +" + +# project itself: MIT +# There are bunch of projects under "lib/" folder that are needed for cross-compilation. +# Files that are unnecessary for cross-compilation are removed by upstream +# and therefore their licenses (if any special) are not included. +# lib/libunwind: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxxabi: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxx: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libc/wasi: || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain +# lib/libc/musl: MIT BSD-2 +# lib/libc/mingw: ZPL public-domain BSD-2 ISC HPND +# lib/libc/glibc: BSD HPND ISC inner-net LGPL-2.1+ +LICENSE="MIT Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain BSD-2 ZPL ISC HPND BSD inner-net LGPL-2.1+" +SLOT="$(ver_cut 1-2)" +KEYWORDS="-* amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~s390 ~x86" + +BDEPEND="verify-sig? ( sec-keys/minisig-keys-zig-software-foundation )" +IDEPEND="app-eselect/eselect-zig" + +DOCS=( "README.md" ) +HTML_DOCS=( "doc/langref.html" ) + +# Zig provides its standard library and some compiler code in source form "/opt/zig-bin-{PV}/lib/". +# Here we use this feature to fix programs that use standard library. +# Note: Zig build system is also part of standard library, so we can fix it too. +# Don't remove this comment so that other contributors won't be misleaded by "-bin" suffix. +# PATCHES=() + +QA_PREBUILT="opt/zig-bin-${PV}/zig" + +src_unpack() { + verify-sig_src_unpack + + mv "${WORKDIR}/"* "${S}" || die +} + +src_install() { + insinto /opt/ + + einstalldocs + rm README.md || die + rm -r ./doc/ || die + + doins -r "${S}" + fperms 0755 /opt/zig-bin-${PV}/zig + dosym -r /opt/zig-bin-${PV}/zig /usr/bin/zig-bin-${PV} +} + +pkg_postinst() { + eselect zig update ifunset || die +} + +pkg_postrm() { + eselect zig update ifunset +} |
