diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-13 16:55:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-13 16:55:35 +0000 |
commit | 1dde4e5c4b92d849bf1abf0a48135b2a0644f7e1 (patch) | |
tree | c99a472cce74148d499f42ada873454b0e32a42d /dev-libs/libFuzzer | |
parent | da6a52f691ef980bab92d003d5df8f463c623af8 (diff) |
gentoo resync : 13.03.2018
Diffstat (limited to 'dev-libs/libFuzzer')
-rw-r--r-- | dev-libs/libFuzzer/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libFuzzer/files/libFuzzer-3.9.1-32-bit.patch | 16 | ||||
-rw-r--r-- | dev-libs/libFuzzer/libFuzzer-3.9.1.ebuild | 48 | ||||
-rw-r--r-- | dev-libs/libFuzzer/metadata.xml | 7 |
4 files changed, 0 insertions, 75 deletions
diff --git a/dev-libs/libFuzzer/Manifest b/dev-libs/libFuzzer/Manifest deleted file mode 100644 index 877209ae60fb..000000000000 --- a/dev-libs/libFuzzer/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX libFuzzer-3.9.1-32-bit.patch 641 BLAKE2B 3778d8a90b0968a6d2d90185b851db98554227d0e1ea8976686366f5d968364319b4c2199a327653fc1a7e111938c3ce3920c13fc3380982a8e8ef7e85d91458 SHA512 0ef5c142530cdaeb46025c8a2f3bff14f0aac3c9c772008468a86ee3d9ebc54f8dbe133ee6a3b4c7bc29cc5d7363957d6db1b3a6e510460db52669982fd1e170 -DIST llvm-3.9.1.src.tar.xz 18130436 BLAKE2B 90afd2c06e612132bbc84c29fed59abdfdaed41f8a7590e3f60ba5072179317365f15f301f577ba050b78797f682bef8fa85ebad7391fd3e67b46eb02a5df068 SHA512 50cbe8ee911080f586e77861c442348701bd02e2de0c090c54c34f82ac275ecfcd712af0f41e387c33b4a6057778a4258a27554292fe68ab4af3fd9dd6d90683 -EBUILD libFuzzer-3.9.1.ebuild 1000 BLAKE2B c392fd87520c6aaf89ed059dbd0b25fe2d59a953dad8e45328b702c87ce1e01b9f4ad8e692f28af61b810bfcd146ffad5a470b6f899a05eff21d863bcb7bcf16 SHA512 2833285c4d2666dcad3d2ebd74e7d75f6cf8310f7ab728de61328ec524893016609f0a75a9d381bc1c1d71e0931e382c15fcc3e91dd4b053c8a33505326a9bcb -MISC metadata.xml 213 BLAKE2B ca74f2dfd0704d21a9b29edd8022ad19749503bd084d745335192bce85f3410f7faebcf85fea0e4eb5937213f2e8ddc829b3c0f0b82febbe7fa2e2414f3d51fa SHA512 7a20eb459dd71ef8c05d5a6799a1ee40e3d33b61b0350abadcfc21af2906e25c9d5cfd12ac68e4e6376705aae3f384938e77cf52039f8eb42b61e532f65bc774 diff --git a/dev-libs/libFuzzer/files/libFuzzer-3.9.1-32-bit.patch b/dev-libs/libFuzzer/files/libFuzzer-3.9.1-32-bit.patch deleted file mode 100644 index 1257686d1c39..000000000000 --- a/dev-libs/libFuzzer/files/libFuzzer-3.9.1-32-bit.patch +++ /dev/null @@ -1,16 +0,0 @@ -this code has been rewritten in newer versions so this patch can be thrown -away when we upgrade. - -https://bugs.gentoo.org/612656 - ---- a/FuzzerLoop.cpp -+++ b/FuzzerLoop.cpp -@@ -366,7 +366,7 @@ - double Lambda = 2.0 * log(2.0) / static_cast<double>(MaxCorpusLen); - std::exponential_distribution<> Dist(Lambda); - std::vector<double> Sizes; -- size_t TruncatePoints = std::max(1ul, TruncateMaxRuns / Corpus.size()); -+ size_t TruncatePoints = std::max((size_t)1, TruncateMaxRuns / Corpus.size()); - Sizes.reserve(TruncatePoints); - for (size_t I = 0; I < TruncatePoints; ++I) { - Sizes.push_back(Dist(MD.GetRand().Get_mt19937()) + 1); diff --git a/dev-libs/libFuzzer/libFuzzer-3.9.1.ebuild b/dev-libs/libFuzzer/libFuzzer-3.9.1.ebuild deleted file mode 100644 index 43b99e894a91..000000000000 --- a/dev-libs/libFuzzer/libFuzzer-3.9.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit cmake-multilib flag-o-matic - -MY_P="llvm-${PV}" - -DESCRIPTION="A fuzzing library distributed as part of LLVM" -HOMEPAGE="http://llvm.org/docs/LibFuzzer.html" -SRC_URI="http://llvm.org/releases/${PV}/${MY_P}.src.tar.xz" - -LICENSE="UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -S_ROOT="${WORKDIR}/${MY_P}.src" -S="${S_ROOT}/lib/Fuzzer" - -PATCHES=( - "${FILESDIR}"/${P}-32-bit.patch #612656 -) - -src_prepare() { - cmake-utils_src_prepare - sed -i '/CMAKE_CXX_FLAGS/d' CMakeLists.txt || die -} - -multilib_src_configure() { - append-cxxflags -std=c++11 - local mycmakeargs=( - "-DLLVM_USE_SANITIZE_COVERAGE=ON" - "-DLLVM_USE_SANITIZER=Address" - "-DLIB_DIR=$(get_libdir)" - ) - cmake-utils_src_configure -} - -multilib_src_install() { - newlib.a libLLVMFuzzer.a libFuzzer.a - newlib.a libLLVMFuzzerNoMain.a libFuzzerNoMain.a -} - -multilib_src_install_all() { - dodoc "${S_ROOT}/docs/LibFuzzer.rst" -} diff --git a/dev-libs/libFuzzer/metadata.xml b/dev-libs/libFuzzer/metadata.xml deleted file mode 100644 index 348901b85e8c..000000000000 --- a/dev-libs/libFuzzer/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>llvm@gentoo.org</email> -</maintainer> -</pkgmetadata> |