Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Side by Side Diff: dev-util/bsdiff/bsdiff-4.3-r1.ebuild

Issue 3007030: bsdiff: force off_t to be 64 bits, honor size_t length (Closed) Base URL: ssh://git@chromiumos-git/chromiumos-overlay.git
Patch Set: fix size_t max handling Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | dev-util/bsdiff/files/4.3_bspatch-support-input-output-positioning.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 1999-2010 Gentoo Foundation 1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2 2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/bsdiff/bsdiff-4.3-r1.ebuild,v 1.12 2 010/01/15 21:21:10 fauli Exp $ 3 # $Header: /var/cvsroot/gentoo-x86/dev-util/bsdiff/bsdiff-4.3-r1.ebuild,v 1.12 2 010/01/15 21:21:10 fauli Exp $
4 4
5 inherit eutils toolchain-funcs flag-o-matic 5 inherit eutils toolchain-funcs flag-o-matic
6 6
7 EAPI=2 7 EAPI=2
8 IUSE="" 8 IUSE=""
9 9
10 DESCRIPTION="bsdiff: Binary Differencer using a suffix alg" 10 DESCRIPTION="bsdiff: Binary Differencer using a suffix alg"
11 HOMEPAGE="http://www.daemonology.net/bsdiff/" 11 HOMEPAGE="http://www.daemonology.net/bsdiff/"
12 SRC_URI="http://www.daemonology.net/bsdiff/${P}.tar.gz" 12 SRC_URI="http://www.daemonology.net/bsdiff/${P}.tar.gz"
13 13
14 SLOT="0" 14 SLOT="0"
15 LICENSE="BSD-2" 15 LICENSE="BSD-2"
16 KEYWORDS="alpha amd64 arm hppa ia64 mips ppc sparc x86 ~x86-fbsd ~x86-freebsd ~a md64-linux ~x86-linux ~ppc-macos" 16 KEYWORDS="alpha amd64 arm hppa ia64 mips ppc sparc x86 ~x86-fbsd ~x86-freebsd ~a md64-linux ~x86-linux ~ppc-macos"
17 17
18 DEPEND="app-arch/bzip2" 18 DEPEND="app-arch/bzip2"
19 RDEPEND="${DEPEND}" 19 RDEPEND="${DEPEND}"
20 20
21 src_prepare() { 21 src_prepare() {
22 epatch ${FILESDIR}/4.3_bspatch-support-input-output-positioning.patch 22 epatch ${FILESDIR}/4.3_bspatch-support-input-output-positioning.patch
23 } 23 }
24 24
25 src_compile() { 25 src_compile() {
26 append-lfs-flags 26 append-lfs-flags
27 » $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o bsdiff bsdiff.c -lbz2 || die "failed compiling bsdiff" 27 » $(tc-getCC) ${CFLAGS} -D_FILE_OFFSET_BITS=64 ${LDFLAGS} -o bsdiff bsdiff .c -lbz2 || die "failed compiling bsdiff"
28 » $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o bspatch bspatch.c -lbz2 || die "fail ed compiling bspatch" 28 » $(tc-getCC) ${CFLAGS} -D_FILE_OFFSET_BITS=64 ${LDFLAGS} -o bspatch bspat ch.c -lbz2 || die "failed compiling bspatch"
29 } 29 }
30 30
31 src_install() { 31 src_install() {
32 dobin bs{diff,patch} 32 dobin bs{diff,patch}
33 doman bs{diff,patch}.1 33 doman bs{diff,patch}.1
34 } 34 }
OLDNEW
« no previous file with comments | « no previous file | dev-util/bsdiff/files/4.3_bspatch-support-input-output-positioning.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698