Install this version:
emerge -a =dev-util/diffball-1.0.1
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools flag-o-matic
DESCRIPTION="Delta compression suite for using/generating binary patches"
HOMEPAGE="https://github.com/zmedico/diffball"
SRC_URI="https://github.com/zmedico/diffball/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/zmedico/diffball/pull/1.patch -> ${P}-bug_543310_stack_buffer_overflows.patch
https://github.com/zmedico/diffball/pull/2.patch -> ${P}-bug_708736_cseek_xz_reset_avail_in_out.patch"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ~mips ppc ~sparc x86"
IUSE="debug"
RDEPEND="
>=virtual/zlib-1.1.4:=
>=app-arch/bzip2-1.0.2
app-arch/xz-utils"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
# Invalid RESTRICT for source package. Investigate.
RESTRICT="strip"
PATCHES=(
"${DISTDIR}"/${P}-bug_543310_stack_buffer_overflows.patch
"${DISTDIR}"/${P}-bug_708736_cseek_xz_reset_avail_in_out.patch
)
src_prepare() {
# fix bug 548316 by restoring pre-GCC5 inline semantics
append-cflags -std=gnu89
default
eautoreconf
}
src_configure() {
econf \
--disable-static \
$(use_enable debug asserts)
}
src_install() {
default
# no static archives
find "${ED}" -name '*.la' -delete || die
}
Manage flags for this package:
euse -i <flag> -p dev-util/diffball |
euse -E <flag> -p dev-util/diffball |
euse -D <flag> -p dev-util/diffball
>=virtual/zlib-1.1.4:= >=app-arch/bzip2-1.0.2 app-arch/xz-utils
>=virtual/zlib-1.1.4:= >=app-arch/bzip2-1.0.2 app-arch/xz-utils
virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | diffball-1.0.1-bug_543310_stack_buffer_overflows.patch | 2945 bytes | https://github.com/zmedico/diffball/pull/1.patch |
| DIST | diffball-1.0.1-bug_708736_cseek_xz_reset_avail_in_out.patch | 1041 bytes | https://github.com/zmedico/diffball/pull/2.patch |
| DIST | diffball-1.0.1.tar.gz | 86387 bytes | https://github.com/zmedico/diffball/archive/v1.0.1.tar.gz |