aboutsummaryrefslogtreecommitdiff
path: root/hungarian/hunspell/files
diff options
context:
space:
mode:
Diffstat (limited to 'hungarian/hunspell/files')
-rw-r--r--hungarian/hunspell/files/patch-Makefile41
-rw-r--r--hungarian/hunspell/files/patch-csutil.cxx18
-rw-r--r--hungarian/hunspell/files/patch-hunspell.cxx13
3 files changed, 72 insertions, 0 deletions
diff --git a/hungarian/hunspell/files/patch-Makefile b/hungarian/hunspell/files/patch-Makefile
new file mode 100644
index 000000000000..21aa5c7ad884
--- /dev/null
+++ b/hungarian/hunspell/files/patch-Makefile
@@ -0,0 +1,41 @@
+--- Makefile.orig Wed Dec 17 18:50:49 2003
++++ Makefile Thu May 20 15:04:38 2004
+@@ -1,29 +1,29 @@
+ #------ beállítások -- configuration -------------------
+ # szótárak -- dictionaries (hu_HU.aff, hu_HU.dic)
+-MYSPELL_DIR?=/usr/share/myspell
++MYSPELL_DIR?=${PREFIX}/share/myspell
+ # Hunmorph szótárak -- hu_HU.morph, extended hu_HU.aff, hu_HU.dic
+-HUNMORPH_DIR?=/usr/share/hunmorph
++HUNMORPH_DIR?=${PREFIX}/share/hunmorph
+ # Magyar üzenetek -- Hungarian messages
+-LOCALE_DIR?=/usr/share/locale
++LOCALE_DIR?=${PREFIX}/share/locale
+ # Kézikönyvoldalak -- Manual pages
+-MAN_DIR?=/usr/share/man
++MAN_DIR?=${PREFIX}/share/man
+ # Magyar kézikönyvoldalak -- Hungarian manual pages
+-MAN_HU_DIR?=/usr/share/man/hu
++MAN_HU_DIR?=${PREFIX}/share/man/hu
+ # Futtatható program helye -- Directory for executables
+-BIN_DIR?=/usr/bin
++BIN_DIR?=${PREFIX}/bin
+ #--------------------------------------------------------
+
+-CC=g++
++CC=$(CXX)
+ #CC=/opt/SUNWspro/bin/CC
+
+-CXXFLAGS=-O2 -Wall -ansi -pedantic -I.
++CXXFLAGS+= -Wall -ansi -pedantic -I. -I${LOCALBASE}/include
+
+ # for debug only
+ #CXXFLAGS=-g -O0 -Wall -ansi -pedantic -I.
+ #CXXFLAGS=-g -O0 -Wall -ansi -pedantic -I. -g
+ #CXXFLAGS=-O2 +w2 -I.
+
+-LDFLAGS=-L. -lmyspell
++LDFLAGS=-L. -lmyspell -L$(LOCALBASE)/lib -lintl -lstdc++
+
+ LIBS=libmyspell.a
+
diff --git a/hungarian/hunspell/files/patch-csutil.cxx b/hungarian/hunspell/files/patch-csutil.cxx
new file mode 100644
index 000000000000..3197e047ccc5
--- /dev/null
+++ b/hungarian/hunspell/files/patch-csutil.cxx
@@ -0,0 +1,18 @@
+--- csutil.cxx.orig Wed Dec 17 18:50:49 2003
++++ csutil.cxx Thu May 20 15:20:06 2004
+@@ -3315,7 +3315,7 @@
+ }
+ }
+ return ccs;
+-};
++}
+
+
+
+@@ -3348,5 +3348,5 @@
+ }
+ }
+ return NULL;
+-};
++}
+
diff --git a/hungarian/hunspell/files/patch-hunspell.cxx b/hungarian/hunspell/files/patch-hunspell.cxx
new file mode 100644
index 000000000000..5473c35eae82
--- /dev/null
+++ b/hungarian/hunspell/files/patch-hunspell.cxx
@@ -0,0 +1,13 @@
+--- hunspell.cxx.orig Wed Dec 17 18:50:49 2003
++++ hunspell.cxx Thu May 20 15:54:49 2004
+@@ -49,8 +49,8 @@
+ #include "manparser.hxx"
+ #include "firstparser.hxx"
+
+-#define LIBDIR "/usr/share/myspell/"
+-#define LIBDIR2 "/usr/share/hunmorph/"
++#define LIBDIR "%%PREFIX%%/share/myspell/"
++#define LIBDIR2 "%%PREFIX%%/share/hunmorph/"
+ #define HOME getenv("HOME")
+ #define DICBASENAME ".hunspell_"
+ #define LOGFILE "/tmp/hunspell.log"