Fix other build failures that depend on package groff-base

This commit is contained in:
zhoupengcheng11 2023-08-11 04:41:10 +08:00
parent 78baf8132d
commit c014a937b6
2 changed files with 48 additions and 1 deletions

View File

@ -0,0 +1,42 @@
From 742dfac36f1fd23e17d27dbf83e3793d3f3a063d Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@debian.org>
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

View File

@ -2,12 +2,14 @@
%{!?with_x:%global with_x 1} %{!?with_x:%global with_x 1}
Name: groff Name: groff
Version: 1.23.0 Version: 1.23.0
Release: 1 Release: 2
Summary: A typesetting system Summary: A typesetting system
License: GPLv3+ and GFDL and BSD and MIT License: GPLv3+ and GFDL and BSD and MIT
URL: http://www.gnu.org/software/groff/ URL: http://www.gnu.org/software/groff/
Source: http://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz 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: gcc, gcc-c++ texinfo
BuildRequires: git, netpbm-progs, perl-generators, psutils, ghostscript BuildRequires: git, netpbm-progs, perl-generators, psutils, ghostscript
BuildRequires: libXaw-devel, libXmu-devel BuildRequires: libXaw-devel, libXmu-devel
@ -316,6 +318,9 @@ make check
%{_infodir}/groff.info* %{_infodir}/groff.info*
%changelog %changelog
* Thu Aug 10 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 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 <dillonchen@gmail.com> - 1.23.0-1 * Tue Jul 18 2023 dillon chen <dillonchen@gmail.com> - 1.23.0-1
- update to 1.23.0 - update to 1.23.0