summaryrefslogtreecommitdiff
path: root/japanese/nhocr/files
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/nhocr/files')
-rw-r--r--japanese/nhocr/files/patch-gramdc_gramdclient.cpp10
-rw-r--r--japanese/nhocr/files/patch-makechar__Makefile.in13
-rw-r--r--japanese/nhocr/files/patch-ocropus__rec-nhocr-0.3.lua10
3 files changed, 0 insertions, 33 deletions
diff --git a/japanese/nhocr/files/patch-gramdc_gramdclient.cpp b/japanese/nhocr/files/patch-gramdc_gramdclient.cpp
deleted file mode 100644
index da7967bfd42a..000000000000
--- a/japanese/nhocr/files/patch-gramdc_gramdclient.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- gramdc/gramdclient.cpp.orig 2012-03-21 00:49:18.000000000 +0000
-+++ gramdc/gramdclient.cpp
-@@ -7,6 +7,7 @@
-
- #include "gramdclient.h"
-
-+#include <sys/select.h>
- #include <sys/socket.h>
- #include <sys/types.h>
- #include <netinet/in.h>
diff --git a/japanese/nhocr/files/patch-makechar__Makefile.in b/japanese/nhocr/files/patch-makechar__Makefile.in
deleted file mode 100644
index 8fcb4621f6ec..000000000000
--- a/japanese/nhocr/files/patch-makechar__Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- ./makechar/Makefile.in.orig 2013-05-04 00:52:33.306113000 +0900
-+++ ./makechar/Makefile.in 2014-05-07 20:53:43.000000000 +0900
-@@ -178,8 +178,8 @@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- makechar_SOURCES = makechar.cpp
--AM_CXXFLAGS = -I/usr/include/freetype2 -I/usr/sfw/include/freetype2 -I../libnhocr
--makechar_LDADD = -L/usr/sfw/lib -L../libnhocr -lm -lfreetype -lnhocr -lufp -lsip
-+AM_CXXFLAGS = -I$(LOCALBASE)/include/freetype2 -I../libnhocr
-+makechar_LDADD = -L$(LOCALBASE)/lib -L../libnhocr -lm -lfreetype -lnhocr -lufp -lsip
- all: all-am
-
- .SUFFIXES:
diff --git a/japanese/nhocr/files/patch-ocropus__rec-nhocr-0.3.lua b/japanese/nhocr/files/patch-ocropus__rec-nhocr-0.3.lua
deleted file mode 100644
index 4fabadb8d5d4..000000000000
--- a/japanese/nhocr/files/patch-ocropus__rec-nhocr-0.3.lua
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./ocropus/rec-nhocr-0.3.lua.orig 2009-05-15 17:17:07.000000000 +0900
-+++ ./ocropus/rec-nhocr-0.3.lua 2014-05-07 20:53:43.000000000 +0900
-@@ -41,6 +41,6 @@
- for i = 1,regions:length()-1 do
- regions:extract(line_image,page_image,i,1)
- write_image_gray("line.pgm", line_image)
-- os.execute("/opt/nhocr/bin/nhocr -line -o - line.pgm ; rm line.pgm")
-+ os.execute("nhocr -line -o - line.pgm ; rm line.pgm")
- end
- end