diff options
author | Michael Weber <xmw@gentoo.org> | 2017-12-18 10:19:28 +0100 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2017-12-18 10:19:28 +0100 |
commit | 1c15f97c3cfb23fccd1f63ddd8016ae95d9f4193 (patch) | |
tree | 307e486abb76778495a77080e5be1b24d53e2d99 /media-gfx/zbar | |
parent | net-dns/dnssec-validator: USE=ecdsa-check to work with openssl[bindist], than... (diff) | |
download | gentoo-1c15f97c3cfb23fccd1f63ddd8016ae95d9f4193.tar.gz gentoo-1c15f97c3cfb23fccd1f63ddd8016ae95d9f4193.tar.bz2 gentoo-1c15f97c3cfb23fccd1f63ddd8016ae95d9f4193.zip |
media-gfx/zbar: Switch deprecated qt4 function (thanks Sam Jorna).
Closes: https://bugs.gentoo.org/572488
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-gfx/zbar')
-rw-r--r-- | media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild b/media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild index 3a552305df63..6aa664bfb14a 100644 --- 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 |