summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2016-08-14 23:19:04 +0200
committerThomas Kahle <tomka@gentoo.org>2016-08-14 23:19:04 +0200
commit209745ded1e1572a32e1ab160fffac92eb268da8 (patch)
tree417f8d6170ab204213035d6488e025f4bee72b6b /app-text
parentsys-apps/openrc: stable 0.21.3 on amd64 for #588786 (diff)
downloadgentoo-209745ded1e1572a32e1ab160fffac92eb268da8.tar.gz
gentoo-209745ded1e1572a32e1ab160fffac92eb268da8.tar.bz2
gentoo-209745ded1e1572a32e1ab160fffac92eb268da8.zip
app-text/tesseract: Fix opencl ldflags
Bug: 591070 Thanks Dennis Schridde Package-Manager: portage-2.3.0
Diffstat (limited to 'app-text')
-rw-r--r--app-text/tesseract/files/tesseract-3.04.01-fix-opencl-ldflags.patch11
-rw-r--r--app-text/tesseract/tesseract-3.04.01.ebuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/app-text/tesseract/files/tesseract-3.04.01-fix-opencl-ldflags.patch b/app-text/tesseract/files/tesseract-3.04.01-fix-opencl-ldflags.patch
new file mode 100644
index 000000000000..b1b2b63fb539
--- /dev/null
+++ b/app-text/tesseract/files/tesseract-3.04.01-fix-opencl-ldflags.patch
@@ -0,0 +1,11 @@
+--- tesseract-3.04.01/configure.ac.orig 2016-08-11 10:50:28.853292674 +0200
++++ tesseract-3.04.01/configure.ac 2016-08-11 11:06:32.919076995 +0200
+@@ -248,7 +248,7 @@
+ fi
+ AC_SUBST([AM_CPPFLAGS], [-DUSE_OPENCL])
+ OPENCL_CPPFLAGS="-I${OPENCL_INC}"
+- OPENCL_LDFLAGS="-l${OPENCL_LIBS}"
++ OPENCL_LDFLAGS="${OPENCL_LIBS}"
+ fi
+ ;;
+ esac
diff --git a/app-text/tesseract/tesseract-3.04.01.ebuild b/app-text/tesseract/tesseract-3.04.01.ebuild
index 9acfdc10234e..fe782e86b668 100644
--- a/app-text/tesseract/tesseract-3.04.01.ebuild
+++ b/app-text/tesseract/tesseract-3.04.01.ebuild
@@ -94,6 +94,7 @@ DOCS=(AUTHORS ChangeLog NEWS README.md ReleaseNotes )
PATCHES=(
"${FILESDIR}/tesseract-2.04-gcc47.patch"
"${FILESDIR}/${P}-use-system-piccolo2d.patch"
+ "${FILESDIR}/${P}-fix-opencl-ldflags.patch"
)
src_unpack() {