summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-dicts/makedict/files/makedict-0.3-codecs.patch')
-rw-r--r--app-dicts/makedict/files/makedict-0.3-codecs.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-dicts/makedict/files/makedict-0.3-codecs.patch b/app-dicts/makedict/files/makedict-0.3-codecs.patch
new file mode 100644
index 0000000..d8a72f8
--- /dev/null
+++ b/app-dicts/makedict/files/makedict-0.3-codecs.patch
@@ -0,0 +1,29 @@
+--- ./src/mdparser.py.orig 2007-10-01 14:43:29.000000000 +0400
++++ ./src/mdparser.py 2007-10-01 14:43:43.000000000 +0400
+@@ -1,3 +1,6 @@
++#!/usr/bin/env python
++# -*- coding: utf-8 -*-
++
+ import sys, os
+ from optparse import OptionParser
+
+--- ./src/Makefile.am.orig 2007-10-01 14:41:58.000000000 +0400
++++ ./src/Makefile.am 2007-10-01 14:43:15.000000000 +0400
+@@ -44,13 +44,13 @@
+
+ INCLUDES = @MAKEDICT_CFLAGS@ -I$(top_builddir)
+ #DEFS=-DLOCALEDIR=\"$(localedir)\" @DEFS@
+-DEFS = -DDUMMY_FORMAT_NAME=\"dummy\" -DCODECSDIR=\""$(bindir)/makedict-codecs"\" @DEFS@
++DEFS = -DDUMMY_FORMAT_NAME=\"dummy\" -DCODECSDIR=\""$(libdir)/makedict-codecs"\" @DEFS@
+
+ install-plugins:
+- $(INSTALL_PROGRAM) -d $(bindir)/makedict-codecs/
++ $(INSTALL_PROGRAM) -d $(DESTDIR)$(libdir)/makedict-codecs/
+ for util in $(CODECS); do \
+- $(INSTALL_PROGRAM) $$util $(bindir)/makedict-codecs/ ; \
++ $(INSTALL_PROGRAM) $$util $(DESTDIR)$(libdir)/makedict-codecs/ ; \
+ done
+ for util in $(SCRIPT_CODECS); do \
+- $(INSTALL_PROGRAM) $$util $(bindir)/makedict-codecs/ ; \
++ $(INSTALL_PROGRAM) $$util $(DESTDIR)$(libdir)/makedict-codecs/ ; \
+ done