projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5bd2b6
)
media-gfx/zbar: Switch deprecated qt4 function (thanks Sam Jorna).
author
Michael Weber
<xmw@gentoo.org>
Mon, 18 Dec 2017 09:19:28 +0000
(10:19 +0100)
committer
Michael Weber
<xmw@gentoo.org>
Mon, 18 Dec 2017 09:19:28 +0000
(10:19 +0100)
Closes: https://bugs.gentoo.org/572488
Package-Manager: Portage-2.3.19, Repoman-2.3.6
media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild
patch
|
blob
|
history
diff --git
a/media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild
b/media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild
index 3a552305df637009112edb4432221a2d1a371d3f..6aa664bfb14a687752b74a9bd097e82c7a0eac44 100644
(file)
--- a/
media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild
+++ b/
media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild
@@
-60,6
+60,10
@@
src_prepare() {
"${FILESDIR}"/${PN}-0.10-python-crash.patch \
"${FILESDIR}"/${PN}-0.10-v4l2-uvcvideo.patch
+ # fix use of deprecated qt4 function, bug 572488
+ sed -e 's:numBytes:byteCount:g' \
+ -i "${S}"/include/zbar/QZBarImage.h || die
+
if has_version '>=media-gfx/imagemagick-7.0.1.0' ; then
eapply "${FILESDIR}/${P}-ImageMagick-7.diff"
fi