diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2017-01-25 15:04:07 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2017-01-25 15:04:15 +0100 |
commit | 810251ddf91b1496b2413ca7fdcb2c8155465357 (patch) | |
tree | acb519dc44867c1f12af8f465fca5b40c202c6e7 /app-text/tesseract/files | |
parent | sci-mathematics/yacas: dependencies corrected (diff) | |
download | gentoo-810251ddf91b1496b2413ca7fdcb2c8155465357.tar.gz gentoo-810251ddf91b1496b2413ca7fdcb2c8155465357.tar.bz2 gentoo-810251ddf91b1496b2413ca7fdcb2c8155465357.zip |
app-text/tesseract: drop old, remove unused patches
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-text/tesseract/files')
-rw-r--r-- | app-text/tesseract/files/tesseract-3.04.00-leptonica-1.73-compat.patch | 24 | ||||
-rw-r--r-- | app-text/tesseract/files/tesseract-3.04.00-use-system-piccolo2d.patch | 39 |
2 files changed, 0 insertions, 63 deletions
diff --git a/app-text/tesseract/files/tesseract-3.04.00-leptonica-1.73-compat.patch b/app-text/tesseract/files/tesseract-3.04.00-leptonica-1.73-compat.patch deleted file mode 100644 index 50d342c25c1e..000000000000 --- a/app-text/tesseract/files/tesseract-3.04.00-leptonica-1.73-compat.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- tesseract-3.04.00/opencl/openclwrapper.cpp.orig 2016-01-31 11:55:02.535154846 +0100 -+++ tesseract-3.04.00/opencl/openclwrapper.cpp 2016-01-31 12:04:23.727809089 +0100 -@@ -14,6 +14,21 @@ - #include "otsuthr.h" - #include "thresholder.h" - -+/* -+ Convenience macro to test the version of Leptonica. -+*/ -+#if defined(LIBLEPT_MAJOR_VERSION) && defined(LIBLEPT_MINOR_VERSION) -+# define TESSERACT_LIBLEPT_PREREQ(maj, min) \ -+ ((LIBLEPT_MAJOR_VERSION) > (maj) || ((LIBLEPT_MAJOR_VERSION) == (maj) && (LIBLEPT_MINOR_VERSION) >= (min))) -+#else -+# define TESSERACT_LIBLEPT_PREREQ(maj, min) 0 -+#endif -+ -+#if TESSERACT_LIBLEPT_PREREQ(1,73) -+# define CALLOC LEPT_CALLOC -+# define FREE LEPT_FREE -+#endif -+ - #ifdef USE_OPENCL - - #if ON_APPLE diff --git a/app-text/tesseract/files/tesseract-3.04.00-use-system-piccolo2d.patch b/app-text/tesseract/files/tesseract-3.04.00-use-system-piccolo2d.patch deleted file mode 100644 index decee3a52f40..000000000000 --- a/app-text/tesseract/files/tesseract-3.04.00-use-system-piccolo2d.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- a/java/Makefile.am 2015-07-11 03:53:12.000000000 -0400 -+++ b/java/Makefile.am 2016-01-20 22:20:37.505713349 -0500 -@@ -36,10 +36,9 @@ - com/google/scrollview/ScrollView.class - - SCROLLVIEW_LIBS = \ -- $(srcdir)/piccolo2d-core-3.0.jar \ -- $(srcdir)/piccolo2d-extras-3.0.jar -+ /usr/share/piccolo2d/lib/piccolo2d.jar - --CLASSPATH = $(srcdir)/piccolo2d-core-3.0.jar:$(srcdir)/piccolo2d-extras-3.0.jar -+CLASSPATH = /usr/share/piccolo2d/lib/piccolo2d.jar - - ScrollView.jar : $(SCROLLVIEW_CLASSES) - $(JAR) cf $@ com/google/scrollview/*.class \ ---- a/viewer/svutil.cpp 2015-07-11 03:53:12.000000000 -0400 -+++ b/viewer/svutil.cpp 2016-01-21 01:46:30.203461826 -0500 -@@ -302,7 +302,7 @@ - #else - const char* cmd_template = "-c \"trap 'kill %%1' 0 1 2 ; java " - "-Xms1024m -Xmx2048m -Djava.library.path=%s -cp %s/ScrollView.jar:" -- "%s/piccolo2d-core-3.0.jar:%s/piccolo2d-extras-3.0.jar" -+ "/usr/share/piccolo2d/lib/piccolo2d.jar" - " com.google.scrollview.ScrollView" - " & wait\""; - #endif ---- a/viewer/Makefile.am 2015-07-11 03:53:12.000000000 -0400 -+++ b/viewer/Makefile.am 2016-01-21 03:37:04.355789682 -0500 -@@ -5,6 +5,10 @@ - -fvisibility=hidden -fvisibility-inlines-hidden - endif - -+if !GRAPHICS_DISABLED -+AM_CPPFLAGS += -DSCROLLVIEW_PATH=/usr/share/tessdata/ -+endif -+ - noinst_HEADERS = \ - scrollview.h svmnode.h svutil.h - |