From: | Mike Frysinger <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: app-arch/pbzip2/ |
Date: | Wed, 31 Jan 2018 15:49:55 |
Message-Id: | 1517413785.5d73a5b4db1ef7c34466b82807be8e28af0a44de.vapier@gentoo |
1 | commit: 5d73a5b4db1ef7c34466b82807be8e28af0a44de |
2 | Author: Mike Frysinger <vapier <AT> chromium <DOT> org> |
3 | AuthorDate: Wed Jan 31 15:47:18 2018 +0000 |
4 | Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 | CommitDate: Wed Jan 31 15:49:45 2018 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d73a5b4 |
7 | |
8 | app-arch/pbzip2: fix builds w/newer clang |
9 | |
10 | Bug: https://crbug.com/806102 |
11 | Bug: https://bugs.launchpad.net/pbzip2/+bug/1746369 |
12 | |
13 | app-arch/pbzip2/pbzip2-1.1.13.ebuild | 2 ++ |
14 | 1 file changed, 2 insertions(+) |
15 | |
16 | diff --git a/app-arch/pbzip2/pbzip2-1.1.13.ebuild b/app-arch/pbzip2/pbzip2-1.1.13.ebuild |
17 | index ff11b13040b..8f83901fc49 100644 |
18 | --- a/app-arch/pbzip2/pbzip2-1.1.13.ebuild |
19 | +++ b/app-arch/pbzip2/pbzip2-1.1.13.ebuild |
20 | @@ -22,6 +22,8 @@ DEPEND="${RDEPEND} |
21 | static? ( ${LIB_DEPEND} )" |
22 | |
23 | src_prepare() { |
24 | + # https://bugs.launchpad.net/pbzip2/+bug/1746369 |
25 | + sed -i 's:"PRIuMAX":" PRIuMAX ":g' *.cpp || die |
26 | epatch "${FILESDIR}"/${PN}-1.1.10-makefile.patch |
27 | tc-export CXX |
28 | use static && append-ldflags -static |