summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/tesseract/files/tesseract-3.04.01-fix-opencl-ldflags.patch')
-rw-r--r--app-text/tesseract/files/tesseract-3.04.01-fix-opencl-ldflags.patch11
1 files changed, 11 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 00000000000..b1b2b63fb53
--- /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