diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-23 22:46:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-23 22:46:03 +0000 |
commit | 87340091ed79698e591084bd7d9d76c58c94820b (patch) | |
tree | 2feae8a3b95f1f30e68589e06e632a6abd7772cf /dev-libs/dynolog | |
parent | 1f1ada4b2afd8dd8de6ac1e0f94702abf05654bc (diff) |
gentoo auto-resync : 23:01:2024 - 22:46:03
Diffstat (limited to 'dev-libs/dynolog')
-rw-r--r-- | dev-libs/dynolog/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/dynolog/dynolog-0.3.1_p20230126-r1.ebuild | 1 | ||||
-rw-r--r-- | dev-libs/dynolog/files/dynolog-0.3.1_p20230126-riscv.patch | 18 |
3 files changed, 21 insertions, 1 deletions
diff --git a/dev-libs/dynolog/Manifest b/dev-libs/dynolog/Manifest index fe45fb181f0f..e810a1286a64 100644 --- a/dev-libs/dynolog/Manifest +++ b/dev-libs/dynolog/Manifest @@ -1,5 +1,6 @@ AUX dynolog-0.3.1_p20230126-gcc13.patch 549 BLAKE2B ba45c5f8314cff93011b21209ab8f7ed6ad50cce254f27ca69a640db21a982e59ca580c3dd7e957a0231e7356a554de28f1a7ba9bd6e73bb216810e281a3422b SHA512 637d972a84c05fec703333b5d339050d0171e811673b1d8ffd6609e1b54b1baeca61cb4a6a0d3a1423c99ac6d211425c8e684712bc0847788138a83f7721ed80 AUX dynolog-0.3.1_p20230126-noWerror.patch 779 BLAKE2B 0fe81d2e75f6c891a4f3f2e6fe137a82e7fd92f64d563b4078383e225b98dcacc1ae94b3f213c485c6cc7925d8b1bb8dec810633f37972c3fe40c1de34af9e7d SHA512 7f4a35d57c4f4576ce3268437c9a9bd1d64ff16e31e71167e70f40c9de764f3270c621c40e195369c7236d4e269095333bf4f3492277f44ddc54b2d146f0aff1 +AUX dynolog-0.3.1_p20230126-riscv.patch 535 BLAKE2B 5adf2d567972e89be58485faf3c3c9604885e2819fe180ba713a532156bd7b917c394f96a0e705356d3c19e1720c878d49d8a8f5ce26718b85ddb38b355ff2a5 SHA512 7c9b695e9e065f61167a538ef478d01ff76d328461e9490e75944050116ca0c2c1d3ac2f6fbf2a728318ed13d82c83ae1886d7a22b080eb63d24dfb105ee3974 AUX dynolog-0.3.1_p20230126-unbundling.patch 3342 BLAKE2B 849a32d54ec86ab6ab1ca38d7c477fb1bbfd6123a1ff8d35181ba71348f692f77df6b65ff91ec2af56c54036064e267e7bf8c48cd4ec9e48ce3095cc31b40bb9 SHA512 045b95bdfb10555467524b180365159c20ae067630741caae3641ee49b31646425871a4ff84863b2057ba99bf5a06cf32853d3eed97df7e42621b6db5521520e DIST anyhow-1.0.75.crate 43901 BLAKE2B 6353557d7ec2cbfdd001c039fad62c95fea9e02b113149f726fd14bb36b31e637e8609dd5ee20a900e9c11bb783d9958d664b31ba7c467382fa7f51d477ad3aa SHA512 190d6be8ede0af9808210db53e4dc31ce69b126a26b0357220c4705a11e83cab2c2c09c59964a35794f3c434f717eaa6bb669e9e8f16012535c14246b17e8d40 DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9 @@ -36,5 +37,5 @@ DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9d DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 DIST winapi-util-0.1.6.crate 12234 BLAKE2B b8db8ec9d7ada5532a22a2d070320174c32ece1f48890e9b028708e194fe72a04287b11910dc2ddc7f9c9674a9d8d39449b3e100725e1f59e59e3047a7e3650b SHA512 b1c949f9bcd34c1949a9d3a7bde6ce62fcf3d2cb66df60af41fe67a9d1acb24e571cdd5ac721be9f1ee4b3af5ef5149b5724ad6e02b558e124ef2a4412d12db9 DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513 -EBUILD dynolog-0.3.1_p20230126-r1.ebuild 2142 BLAKE2B 50fa3940ad8f4a3ced590fe1f98c7e76fabde36a3294971ffcfa1cf45238550ccfb4f91a0295015cea65a2424e102cb269a7f1f638620f893a12b6068561dd60 SHA512 f4f47786e831214d795fa7bf573f1806e42814ac722d814b77ffeac4479c6566d854a9a8623394fab2390249c33b32e816e432bd2a04b846b03748b107ba2220 +EBUILD dynolog-0.3.1_p20230126-r1.ebuild 2174 BLAKE2B 08048e274d549802e5527820575cbfb833f3555747999d6c93efb200646efff2760fee2b5445a9fa62e790df9b89008629e0373a4d7d301a0e7e9fa8011b6ade SHA512 39c47a107a89855b0794df70e37b87125b8c0c24219ff4d4f28703a3969467331a269d8ccdaf511215041b951d41fa536fe81f5a7e472a119883f741d1752cf5 MISC metadata.xml 338 BLAKE2B 0822b3b3d714781580cb971977d83cbfecc581ff88b42dd1cb964d7365b2f738c9a41c1f4cc3f3dd8240baa23c7d339dcd6b1a9169a97bd79aa92e5e838f892d SHA512 5895f072dc775f8d871f19d987869c015b5a2412af0636a7d9caf1c10817a67c9126eb9f56d86e22be1c75fc165ac6c348010e32cfdbaec32eec73f827af7be2 diff --git a/dev-libs/dynolog/dynolog-0.3.1_p20230126-r1.ebuild b/dev-libs/dynolog/dynolog-0.3.1_p20230126-r1.ebuild index 501e5dee74d8..b1c6480f24db 100644 --- a/dev-libs/dynolog/dynolog-0.3.1_p20230126-r1.ebuild +++ b/dev-libs/dynolog/dynolog-0.3.1_p20230126-r1.ebuild @@ -68,6 +68,7 @@ PATCHES=( "${FILESDIR}"/${P}-gcc13.patch "${FILESDIR}"/${P}-unbundling.patch "${FILESDIR}"/${P}-noWerror.patch + "${FILESDIR}"/${P}-riscv.patch ) CMAKE_SKIP_TESTS=( "Defs.CpuSet" ) diff --git a/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-riscv.patch b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-riscv.patch new file mode 100644 index 000000000000..7038dbfe7b12 --- /dev/null +++ b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-riscv.patch @@ -0,0 +1,18 @@ +diff -Naur a/hbt/src/common/System.h b/hbt/src/common/System.h +--- a/hbt/src/common/System.h 2024-01-21 15:26:26.940486370 +0000 ++++ b/hbt/src/common/System.h 2024-01-21 22:22:36.713134358 +0000 +@@ -445,6 +445,14 @@ + asm volatile("mrs %0, cntvct_el0" : "=r"(tstamp)); + cpu = getCpu(); + return tstamp; ++#elif defined(__riscv) ++inline TimeStamp rdtscp(CpuId& cpu) { ++ TimeStamp tstamp; ++ // Use the RDCYCLE instruction for RISC-V. ++ asm volatile("rdcycle %0" : "=r"(tstamp)); ++ cpu = getCpu(); ++ return tstamp; ++ + } + #endif + |