dev-python/pyopengl_accelerate: Followup 3411b900b6f4f515462d65bf8bda4f6f3202d156
authorAlexey Shvetsov <alexxy@gentoo.org>
Sat, 10 Aug 2019 23:31:01 +0000 (02:31 +0300)
committerAlexey Shvetsov <alexxy@gentoo.org>
Sat, 10 Aug 2019 23:31:25 +0000 (02:31 +0300)
Fix api calls to exc_ -> curexc_

Closes: https://bugs.gentoo.org/691520
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.0-r1.ebuild

index fbb61206b29a1bd80085b998a4f73890e4cba52f..e78f3288a426325a0a04d676086f44fa1e9374ce 100644 (file)
@@ -21,4 +21,9 @@ RDEPEND="dev-python/pyopengl[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]"
 
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+       sed -e 's:>exc_:>curexc_:g' -i src/*.c || die "sed failed" # bug 691520
+       default
+}