diff --git a/backport-nroff-map-CW-to-R.patch b/backport-nroff-map-CW-to-R.patch new file mode 100644 index 0000000..c715f76 --- /dev/null +++ b/backport-nroff-map-CW-to-R.patch @@ -0,0 +1,42 @@ +From 742dfac36f1fd23e17d27dbf83e3793d3f3a063d Mon Sep 17 00:00:00 2001 +From: Colin Watson +Date: Fri, 14 Jul 2023 12:42:26 +0100 +Subject: Map CW to R for nroff + +Bug-Debian: https://bugs.debian.org/1040975 +Last-Update: 2023-07-14 + +Patch-Name: nroff-map-CW-to-R.patch +--- + tmac/man.local | 2 +- + tmac/mdoc.local | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tmac/man.local b/tmac/man.local +index 5daa507..0940dc1 100644 +--- a/tmac/man.local ++++ b/tmac/man.local +@@ -12,7 +12,7 @@ + .\" Uncomment this to suppress warnings produced by such pages. This + .\" test remaps the font to roman ("R") on nroff (terminal) devices. You + .\" might prefer to remap it to bold ("B") instead. +-.\" .if n .ftr CW R ++.if n .ftr CW R + .\" + .\" A de facto standard URL format for man pages is recognized + .\" everywhere except Apple, where different macOS applications expect +diff --git a/tmac/mdoc.local b/tmac/mdoc.local +index 94688ab..66dcc42 100644 +--- a/tmac/mdoc.local ++++ b/tmac/mdoc.local +@@ -6,7 +6,7 @@ + .\" Uncomment this to suppress warnings produced by such pages. This + .\" test remaps the font to roman ("R") on nroff (terminal) devices. You + .\" might prefer to remap it to bold ("B") instead. +-.\" .if n .ftr CW R ++.if n .ftr CW R + .\" + .\" Local Variables: + .\" mode: nroff +-- +2.33.0 diff --git a/groff.spec b/groff.spec index df943c7..1de986b 100644 --- a/groff.spec +++ b/groff.spec @@ -2,12 +2,14 @@ %{!?with_x:%global with_x 1} Name: groff Version: 1.23.0 -Release: 1 +Release: 2 Summary: A typesetting system License: GPLv3+ and GFDL and BSD and MIT URL: http://www.gnu.org/software/groff/ Source: http://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz +Patch6000: backport-nroff-map-CW-to-R.patch + BuildRequires: gcc, gcc-c++ texinfo BuildRequires: git, netpbm-progs, perl-generators, psutils, ghostscript BuildRequires: libXaw-devel, libXmu-devel @@ -316,6 +318,9 @@ make check %{_infodir}/groff.info* %changelog +* Thu Aug 10 2023 zhoupengcheng - 1.23.0-2 +- Fix other build failures that depend on package groff-base(https://bugs.debian.org/1040975) + * Tue Jul 18 2023 dillon chen - 1.23.0-1 - update to 1.23.0