aboutsummaryrefslogtreecommitdiff
path: root/graphics/ocropus/usr-local.diff
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ocropus/usr-local.diff')
-rw-r--r--graphics/ocropus/usr-local.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/ocropus/usr-local.diff b/graphics/ocropus/usr-local.diff
new file mode 100644
index 000000000000..0a17478e45e4
--- /dev/null
+++ b/graphics/ocropus/usr-local.diff
@@ -0,0 +1,22 @@
+Description:
+ Use /usr/share/ocropus/scripts/ and /usr/share/ocropus/ as defaults for
+ OCROSCRIPTS and OCRODATA.
+Author: Jakub Wilk <jwilk@debian.org>
+
+Index: ocropus-0.3.1/ocroscript/ocrotoplevel.cc
+===================================================================
+--- ocropus-0.3.1.orig/ocroscript/ocrotoplevel.cc 2009-11-26 16:56:18.000000000 +0100
++++ ocropus-0.3.1/ocroscript/ocrotoplevel.cc 2009-11-26 17:16:32.000000000 +0100
+@@ -68,10 +68,10 @@
+
+ // FIXME the Jamfile isn't passing this flag, so for now, this is a workaround
+ #ifndef OCROSCRIPTS
+-#define OCROSCRIPTS "/usr/local/share/ocropus/scripts/"
++#define OCROSCRIPTS "/usr/share/ocropus/scripts/"
+ #endif
+ #ifndef OCRODATA
+-#define OCRODATA "/usr/local/share/ocropus/"
++#define OCRODATA "/usr/share/ocropus/"
+ #endif
+
+ const char *ocroscripts = OCROSCRIPTS;