summaryrefslogtreecommitdiff
path: root/user/hyphen/mawk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/hyphen/mawk.patch')
-rw-r--r--user/hyphen/mawk.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/user/hyphen/mawk.patch b/user/hyphen/mawk.patch
new file mode 100644
index 000000000..c9292606a
--- /dev/null
+++ b/user/hyphen/mawk.patch
@@ -0,0 +1,23 @@
+--- hyphen-2.8.8/lig.awk 2010-03-04 07:13:47.000000000 -0500
++++ hyphen-2.8.8/lig.awk 2018-08-08 14:53:48.970188512 -0400
+@@ -24,14 +24,14 @@
+ c!=b { print c }
+
+ /f[1-9]?$/ {
+- print gensub("f[1-9]?$", "ff", "g", b);
+- if (c!=b) print gensub("f[1-9]?$", "ff", "g", c);
++ print gsub("f[1-9]?$", "ff", b);
++ if (c!=b) print gsub("f[1-9]?$", "ff", c);
+
+- print gensub("f[1-9]?$", "fi", "g", b);
+- if (c!=b) print gensub("f[1-9]?$", "fi", "g", c);
++ print gsub("f[1-9]?$", "fi", b);
++ if (c!=b) print gsub("f[1-9]?$", "fi", c);
+
+- print gensub("f[1-9]?$", "fl", "g", b);
+- if (c!=b) print gensub("f[1-9]?$", "fl", "g", c);
++ print gsub("f[1-9]?$", "fl", b);
++ if (c!=b) print gsub("f[1-9]?$", "fl", c);
+ }
+
+