summaryrefslogtreecommitdiff
path: root/dev-util/diffball/diffball-1.0.1-r2.ebuild
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-02-15 17:32:45 -0800
committerZac Medico <zmedico@gentoo.org>2020-02-15 17:50:06 -0800
commitf78d49bc40c58783eaff9ec874c2f733e63bcc5c (patch)
tree98f28671e187bde3b370d6ebfd868973adce5da2 /dev-util/diffball/diffball-1.0.1-r2.ebuild
parent2309cdf3f0197a9073e9b667459d7068f06e8b57 (diff)
downloadgentoo-f78d49bc40c58783eaff9ec874c2f733e63bcc5c.tar.gz
gentoo-f78d49bc40c58783eaff9ec874c2f733e63bcc5c.tar.bz2
gentoo-f78d49bc40c58783eaff9ec874c2f733e63bcc5c.zip
dev-util/diffball: 1.0.1-r2 revbump for bug 708736
Fix tarsync seek failure with xz compressed files. Bug: https://bugs.gentoo.org/708736 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-util/diffball/diffball-1.0.1-r2.ebuild')
-rw-r--r--dev-util/diffball/diffball-1.0.1-r2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/diffball/diffball-1.0.1-r2.ebuild b/dev-util/diffball/diffball-1.0.1-r2.ebuild
new file mode 100644
index 000000000000..ab5bc9dfe7b4
--- /dev/null
+++ b/dev-util/diffball/diffball-1.0.1-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 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 ~ia64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="debug"
+
+RDEPEND=">=sys-libs/zlib-1.1.4
+ >=app-arch/bzip2-1.0.2
+ app-arch/xz-utils"
+DEPEND="${RDEPEND}
+ 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)
+}