Skip to content

Commit

Permalink
media-gfx/zbar: Switch deprecated qt4 function (thanks Sam Jorna).
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/572488
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
xmw committed Dec 18, 2017
1 parent a5bd2b6 commit 1c15f97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c15f97

Please sign in to comment.