summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2021-08-05 03:56:24 +0100
committerSam James <sam@gentoo.org>2021-08-05 03:56:54 +0100
commit6d9dc5f421ef28ce50750fb8ac4336750702bb8b (patch)
tree119d6bdddce5cdf391341f4da0aa28debdc824b6 /dev-util/fuzz
parentsys-cluster/keepalived: add github upstream metadata (diff)
downloadgentoo-6d9dc5f421ef28ce50750fb8ac4336750702bb8b.tar.gz
gentoo-6d9dc5f421ef28ce50750fb8ac4336750702bb8b.tar.bz2
gentoo-6d9dc5f421ef28ce50750fb8ac4336750702bb8b.zip
dev-util/fuzz: fix build with glibc-2.32, fix applying patchset
Closes: https://bugs.gentoo.org/738942 Acked-by: Robin Johnson <robbat2@gentoo.org> Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/fuzz')
-rw-r--r--dev-util/fuzz/fuzz-0.6-r2.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-util/fuzz/fuzz-0.6-r2.ebuild b/dev-util/fuzz/fuzz-0.6-r2.ebuild
new file mode 100644
index 000000000000..92ef90211b32
--- /dev/null
+++ b/dev-util/fuzz/fuzz-0.6-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Stress-tests programs by giving them random input"
+HOMEPAGE="http://fuzz.sourceforge.net/"
+DEB_P="${PN}_${PV}"
+DEB_PR="7.3"
+SRC_URI="
+ mirror://sourceforge/${PN}/${P}.tar.gz
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}-${DEB_PR}.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="sys-libs/readline:0="
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${WORKDIR}"/${DEB_P}-${DEB_PR}.diff )
+
+src_prepare() {
+ default
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc NEWS README ChangeLog AUTHORS
+}