summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiroslav Lichvar <mlichvar@fedoraproject.org>2006-01-12 14:20:27 +0000
committerMiroslav Lichvar <mlichvar@fedoraproject.org>2006-01-12 14:20:27 +0000
commit4418b9abedcf58cd17630a7e14f427793eb85a3a (patch)
tree8f773fd939cbe42d36d5ea3471e89180932e188d
parentf3dcd364eb97024929d16ab860e531b771c5d637 (diff)
downloadgroff-4418b9abedcf58cd17630a7e14f427793eb85a3a.tar.gz
groff-4418b9abedcf58cd17630a7e14f427793eb85a3a.tar.xz
groff-4418b9abedcf58cd17630a7e14f427793eb85a3a.zip
attempt to fix a space problem with several european languages (#137728)groff-1_18_1_1-8
-rw-r--r--groff-1.18.1.1-spacefix.patch11
-rw-r--r--groff.spec6
2 files changed, 16 insertions, 1 deletions
diff --git a/groff-1.18.1.1-spacefix.patch b/groff-1.18.1.1-spacefix.patch
new file mode 100644
index 0000000..4c43532
--- /dev/null
+++ b/groff-1.18.1.1-spacefix.patch
@@ -0,0 +1,11 @@
+--- ./src/roff/troff/env.cc.orig 2006-01-12 14:43:05.000000000 +0100
++++ ./src/roff/troff/env.cc 2006-01-12 14:45:55.000000000 +0100
+@@ -300,7 +300,7 @@
+ * This code is based on jgroff
+ * about kerning between ASCII and EUC-JP
+ */
+- if (!ci->get_wchar_code()) {
++ if (!ci->get_wchar_code() || wchar_code(ci->get_wchar_code()) < 0x590) {
+ /*
+ * This node is a ASCII character node.
+ */
diff --git a/groff.spec b/groff.spec
index da38487..3d26806 100644
--- a/groff.spec
+++ b/groff.spec
@@ -30,6 +30,7 @@ Patch19: groff-1.18.1.1-grn.patch
Patch20: groff-1.18.1.1-tempfile.patch
Patch21: groff-1.18.1.1-gcc41.patch
Patch22: groff-1.18.1.1-bigendian.patch
+Patch23: groff-1.18.1.1-spacefix.patch
URL: ftp://ftp.gnu.org/gnu/groff/
Requires: mktemp
@@ -96,6 +97,7 @@ System display.
%patch20 -p1 -b .tempfile
%patch21 -p1 -b .gcc41
%patch22 -p1 -b .bigendian
+%patch23 -p1 -b .spacefix
for i in contrib/mm/{groff_mm,groff_mmse,mmroff}.man \
src/devices/grolbp/grolbp.man; do
@@ -207,8 +209,10 @@ fi
%endif
%changelog
-* Fri Jan 10 2006 Miroslav Lichvar <mlichvar@redhat.com> - 1.18.1.1-8
+* Fri Jan 12 2006 Miroslav Lichvar <mlichvar@redhat.com> - 1.18.1.1-8
- fix segfault in grotty on 64-bit big endian machines (#176904)
+- fix assertion failure on abort message (#141912)
+- attempt to fix a space problem with several european languages (#137728)
* Fri Jan 06 2006 Jindrich Novy <jnovy@redhat.com> - 1.18.1.1-7
- require X dependencies only for gxditview (#177118)