xref: /aoo4110/main/hyphen/hyphen-2.7.1.patch (revision b1cdbd2c)
1--- misc/hyphen-2.7.1/Makefile.am	2010-07-19 11:23:17.000000000 +0200
2+++ misc/build/hyphen-2.7.1/Makefile.am	2010-12-02 10:15:44.390625000 +0100
3@@ -25,14 +25,13 @@
4
5 hyphen.us3:
6 	cp -f $(srcdir)/hyphen.tex hyphen.us
7-	patch < $(srcdir)/hyphen.patch
8+	$(GNUPATCH) < $(srcdir)/hyphen.patch
9 	$(srcdir)/tbhyphext.sh <$(srcdir)/tbhyphext.tex >hyphen.us2
10 	cat hyphen.us hyphen.us2 | $(AWK) -f $(srcdir)/lig.awk >hyphen.us3
11 	cat $(srcdir)/ligpatch.txt >>hyphen.us3
12
13-hyph_en_US.dic: hyphen.us3
14-	perl $(srcdir)/substrings.pl hyphen.us3 hyphen.us4 UTF-8 2 3 >/dev/null
15-	cat hyphen.us4 | $(SED) -f $(srcdir)/ooopatch.sed >hyph_en_US.dic
16+hyph_en_US.dic:
17+	@echo "hyph_en_US.txt distributed with Hyphen library"
18
19 clean-local:
20 	rm -rf hyphen.us* hyph_en_US.dic
21--- misc/hyphen-2.7.1/Makefile.in	2010-12-01 02:31:29.000000000 +0100
22+++ misc/build/hyphen-2.7.1/Makefile.in	2010-12-02 10:17:16.546875000 +0100
23@@ -940,14 +940,13 @@
24
25 hyphen.us3:
26 	cp -f $(srcdir)/hyphen.tex hyphen.us
27-	patch < $(srcdir)/hyphen.patch
28+	$(GNUPATCH) < $(srcdir)/hyphen.patch
29 	$(srcdir)/tbhyphext.sh <$(srcdir)/tbhyphext.tex >hyphen.us2
30 	cat hyphen.us hyphen.us2 | $(AWK) -f $(srcdir)/lig.awk >hyphen.us3
31 	cat $(srcdir)/ligpatch.txt >>hyphen.us3
32
33-hyph_en_US.dic: hyphen.us3
34-	perl $(srcdir)/substrings.pl hyphen.us3 hyphen.us4 UTF-8 2 3 >/dev/null
35-	cat hyphen.us4 | $(SED) -f $(srcdir)/ooopatch.sed >hyph_en_US.dic
36+hyph_en_US.dic:
37+	@echo "hyph_en_US.txt distributed with Hyphen library"
38
39 clean-local:
40 	rm -rf hyphen.us* hyph_en_US.dic
41--- misc/hyphen-2.7.1/makefile.mk	2010-12-02 10:35:40.265625000 +0100
42+++ misc/build/hyphen-2.7.1/makefile.mk	2010-12-02 10:25:45.750000000 +0100
43@@ -1 +1,28 @@
44-dummy
45+PRJ = ..$/..$/..$/..
46+
47+PRJNAME = hyphen
48+TARGET  = hyphen
49+CFLAGSCALL=gsd
50+
51+USE_DEFFILE=TRUE
52+EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
53+UWINAPILIB=
54+
55+.INCLUDE : settings.mk
56+
57+# --- Files --------------------------------------------------------
58+
59+# !! not to be compiled because those belong to a stand alone programs: !!
60+#        $(SLO)$/createfp.obj\
61+#        $(SLO)$/testtextcat.obj
62+
63+SLOFILES=   \
64+        $(SLO)$/hyphen.obj\
65+        $(SLO)$/hnjalloc.obj
66+
67+# --- Targets ------------------------------------------------------
68+
69+ALL: ALLTAR
70+
71+.INCLUDE : target.mk
72+
73