summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2018-01-31 10:47:18 -0500
committerMike Frysinger <vapier@gentoo.org>2018-01-31 10:49:45 -0500
commit5d73a5b4db1ef7c34466b82807be8e28af0a44de (patch)
tree1aa21dc12e92e9b64bc0a81c30e0de9b122e4c85 /app-arch
parentdev-python/sip: version bump (diff)
downloadgentoo-5d73a5b4db1ef7c34466b82807be8e28af0a44de.tar.gz
gentoo-5d73a5b4db1ef7c34466b82807be8e28af0a44de.tar.bz2
gentoo-5d73a5b4db1ef7c34466b82807be8e28af0a44de.zip
app-arch/pbzip2: fix builds w/newer clang
Bug: https://crbug.com/806102 Bug: https://bugs.launchpad.net/pbzip2/+bug/1746369
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/pbzip2/pbzip2-1.1.13.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-arch/pbzip2/pbzip2-1.1.13.ebuild b/app-arch/pbzip2/pbzip2-1.1.13.ebuild
index ff11b13040bb..8f83901fc495 100644
--- a/app-arch/pbzip2/pbzip2-1.1.13.ebuild
+++ b/app-arch/pbzip2/pbzip2-1.1.13.ebuild
@@ -22,6 +22,8 @@ DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )"
src_prepare() {
+ # https://bugs.launchpad.net/pbzip2/+bug/1746369
+ sed -i 's:"PRIuMAX":" PRIuMAX ":g' *.cpp || die
epatch "${FILESDIR}"/${PN}-1.1.10-makefile.patch
tc-export CXX
use static && append-ldflags -static