Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package groff for openSUSE:Factory checked 
in at 2023-09-17 19:28:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/groff (Old)
 and      /work/SRC/openSUSE:Factory/.groff.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "groff"

Sun Sep 17 19:28:43 2023 rev:67 rq:1111323 version:1.23.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/groff/groff.changes      2023-03-17 
17:01:05.432683277 +0100
+++ /work/SRC/openSUSE:Factory/.groff.new.1766/groff.changes    2023-09-17 
19:28:49.272560816 +0200
@@ -1,0 +2,25 @@
+Fri Sep  8 19:42:28 UTC 2023 - Antonio Teixeira <antonio.teixe...@suse.com>
+
+- Refresh bash-scripts.patch
+- Add nroff-map-CW-to-R.patch
+  * Fixes man-db build errors
+
+-------------------------------------------------------------------
+Tue Aug 29 14:21:17 UTC 2023 - Antonio Teixeira <antonio.teixe...@suse.com>
+
+- Update to 1.23.0:
+  * Too many changes, see NEWS file for details.
+- Refreshed patches:
+  * 0002-documentation-for-the-locale-keyword.patch
+  * 0004-don-t-use-usr-bin-env-in-shebang.patch
+  * groff-1.20.1-deunicode.patch
+  * groff-1.20.1-nroff-empty-LANGUAGE.patch
+  * groff-1.21-CVE-2009-5081.patch
+  * groff-force-locale-usage.patch
+- Drop sort-perl-hash-keys.patch (upstreamed)
+- Drop doc-volume-operating-system and doc-default-operating-system
+  changes (doesn't default to BSD anymore)
+- Configure flag --with-appresdir has been renamed to --with-appdefdir
+- Update file list with files that were removed from the package
+
+-------------------------------------------------------------------

Old:
----
  groff-1.22.4.tar.gz
  groff-1.22.4.tar.gz.sig
  sort-perl-hash-keys.patch

New:
----
  groff-1.23.0.tar.gz
  groff-1.23.0.tar.gz.sig
  nroff-map-CW-to-R.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ groff.spec ++++++
--- /var/tmp/diff_new_pack.75iPBs/_old  2023-09-17 19:28:51.648645501 +0200
+++ /var/tmp/diff_new_pack.75iPBs/_new  2023-09-17 19:28:51.648645501 +0200
@@ -25,7 +25,7 @@
 %bcond_with full_build
 %endif
 Name:           groff%{name_ext}
-Version:        1.22.4
+Version:        1.23.0
 Release:        0
 Summary:        GNU troff Document Formatting System
 License:        GPL-3.0-or-later
@@ -51,7 +51,7 @@
 Patch7:         0004-don-t-use-usr-bin-env-in-shebang.patch
 # Patches from debian
 Patch100:       
https://salsa.debian.org/debian/groff/raw/master/debian/patches/bash-scripts.patch
-Patch101:       
https://salsa.debian.org/debian/groff/raw/master/debian/patches/sort-perl-hash-keys.patch
+Patch101:       
https://salsa.debian.org/debian/groff/raw/master/debian/patches/nroff-map-CW-to-R.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bison
@@ -135,17 +135,13 @@
     Makefile.am
 
 %build
-# bsc#1185613
-sed -i "s:\(doc-volume-operating-system\) BSD:\1 SUSE:" tmac/doc-common-u
-sed -i "s:\(doc-default-operating-system\) BSD:\1 SUSE:" tmac/doc-common-u
-# -----------
 autoreconf -fvi
 # libdir redefined as it is just bunch of perl scripts
 %configure \
     --disable-silent-rules \
     --docdir=%{_defaultdocdir}/groff \
     --libdir=%{_libexecdir} \
-    --with-appresdir=%{_datadir}/X11/app-defaults \
+    --with-appdefdir=%{_datadir}/X11/app-defaults \
     --with-grofferdir=%{_libexecdir}/groff/groffer
 make %{?_smp_mflags}
 
@@ -171,13 +167,13 @@
 rm -f %{buildroot}%{_bindir}/troff
 rm -f %{buildroot}%{_libexecdir}/groff/grog/subs.pl
 rm -f %{buildroot}%{_datadir}/groff/current
-rm -f %{buildroot}%{_datadir}/groff/1.22.4/eign
-rm -rf %{buildroot}%{_datadir}/groff/1.22.4/font/devascii
-rm -rf %{buildroot}%{_datadir}/groff/1.22.4/font/devlatin1
-rm -rf %{buildroot}%{_datadir}/groff/1.22.4/font/devps
-rm -rf %{buildroot}%{_datadir}/groff/1.22.4/font/devutf8
-rm -rf %{buildroot}%{_datadir}/groff/1.22.4/pic
-rm -rf %{buildroot}%{_datadir}/groff/1.22.4/tmac
+rm -f %{buildroot}%{_datadir}/groff/1.23.0/eign
+rm -rf %{buildroot}%{_datadir}/groff/1.23.0/font/devascii
+rm -rf %{buildroot}%{_datadir}/groff/1.23.0/font/devlatin1
+rm -rf %{buildroot}%{_datadir}/groff/1.23.0/font/devps
+rm -rf %{buildroot}%{_datadir}/groff/1.23.0/font/devutf8
+rm -rf %{buildroot}%{_datadir}/groff/1.23.0/pic
+rm -rf %{buildroot}%{_datadir}/groff/1.23.0/tmac
 rm -rf %{buildroot}%{_datadir}/groff/site-tmac
 rm -rf %{buildroot}%{_datadir}/groff/site-font
 rm -f %{buildroot}%{_mandir}/man1/eqn.1*
@@ -303,8 +299,6 @@
 %config %{_sysconfdir}/profile.d/zzz-%{name}.*sh
 %{_datadir}/%{name}
 %dir %{_libexecdir}/groff
-%dir %{_libexecdir}/groff/grog
-%{_libexecdir}/groff/grog/subs.pl
 %{_datadir}/groff/current
 
 %else #groff_base_only
@@ -314,14 +308,6 @@
 %dir %{_libexecdir}/groff
 %doc %{_docdir}/groff
 %dir %{_libexecdir}/groff
-%dir %{_libexecdir}/groff/glilypond
-%{_libexecdir}/groff/glilypond/args.pl
-%{_libexecdir}/groff/glilypond/oop_fh.pl
-%{_libexecdir}/groff/glilypond/subs.pl
-%dir %{_libexecdir}/groff/gpinyin
-%{_libexecdir}/groff/gpinyin/subs.pl
-%{_libexecdir}/groff/groff_opts_no_arg.txt
-%{_libexecdir}/groff/groff_opts_with_arg.txt
 %exclude %{_docdir}/groff/html
 %exclude %{_docdir}/groff/examples
 %exclude %{_docdir}/groff/pdf
@@ -336,7 +322,6 @@
 %dir %{_datadir}/groff
 %{_datadir}/groff/%{version}/font
 %{_datadir}/groff/%{version}/oldfont
-%{_libexecdir}/groff/groffer
 
 %files -n groff-doc
 %dir %{_docdir}/groff

++++++ 0002-documentation-for-the-locale-keyword.patch ++++++
--- /var/tmp/diff_new_pack.75iPBs/_old  2023-09-17 19:28:51.672646356 +0200
+++ /var/tmp/diff_new_pack.75iPBs/_new  2023-09-17 19:28:51.676646499 +0200
@@ -8,22 +8,18 @@
  man/groff_font.5.man |    8 +++++++-
  2 files changed, 34 insertions(+), 2 deletions(-)
 
-diff --git a/doc/groff.texi b/doc/groff.texi
-index 7b09e0f..1cff7b4 100644
+Index: b/doc/groff.texi
+===================================================================
 --- a/doc/groff.texi
 +++ b/doc/groff.texi
-@@ -16530,7 +16530,7 @@ types @code{A0}-@code{A7}, @code{B0}-@code{B7}, 
@code{C0}-@code{C7},
- significant for @var{string} if it holds predefined paper types.
- Alternatively, @var{string} can be a file name (e.g.@:
- @file{/etc/papersize}); if the file can be opened, @code{groff} reads
--the first line and tests for the above paper sizes.  Finally,
-+the first line and tests for the above paper sizes.  Or,
- @var{string} can be a custom paper size in the format
- @code{@var{length},@var{width}} (no spaces before and after the comma).
- Both @var{length} and @var{width} must have a unit appended; valid
-@@ -16540,6 +16540,32 @@ which starts with a digit is always treated as a 
custom paper format.
- @code{papersize} sets both the vertical and horizontal dimension of the
- output medium.
+@@ -18404,10 +18404,36 @@ for points, and @samp{P} for picas.  Exa
+ argument that starts with a digit is always treated as a custom paper
+ format.
+ 
+-Finally, the argument can be a file name (e.g., @file{/etc/papersize});
++Or, the argument can be a file name (e.g., @file{/etc/papersize});
+ if the file can be opened, the first line is read and a match attempted
+ against each of the other forms.  No comment syntax is supported.
  
 +Finally, @var{string} can be a keyword @code{locale}. In this case groff will
 +determine the default paper size from the country code of @code{LC_PAPER}. For
@@ -51,25 +47,25 @@
 +@end group
 +@end example
 +
- More than one argument can be specified; @code{groff} scans from left to
- right and uses the first valid paper specification.
+ More than one argument can be specified;
+ each is scanned in turn and the first valid paper specification used.
  
-diff --git a/man/groff_font.5.man b/man/groff_font.5.man
-index 64bd212..29a7136 100644
+Index: b/man/groff_font.5.man
+===================================================================
 --- a/man/groff_font.5.man
 +++ b/man/groff_font.5.man
-@@ -150,7 +150,7 @@ can be a file name (e.g.\& `/etc/papersize'); if the file 
can be opened,
- .B groff
- reads the first line and tests for the above paper sizes.
+@@ -286,7 +286,7 @@ format.
  .
+ .
+ .IP
 -Finally,
-+or,
- .I string
- can be a custom paper size in the format
- .IB length , width
-@@ -172,7 +172,13 @@ format.
- .B papersize
- sets both the vertical and horizontal dimension of the output medium.
++Or,
+ the argument can be a file name
+ (e.g.,
+ .IR /etc/papersize );
+@@ -296,7 +296,13 @@ the first line is read and a match attem
+ No comment syntax is supported.
+ .
  .
 +Finally
 +.I string
@@ -79,9 +75,6 @@
  .IP
 +.
  More than one argument can be specified;
- .B groff
- scans from left to right and uses the first valid paper specification.
--- 
-1.7.6.3
-
+ each is scanned in turn and the first valid paper specification used.
+ .
 

++++++ 0004-don-t-use-usr-bin-env-in-shebang.patch ++++++
--- /var/tmp/diff_new_pack.75iPBs/_old  2023-09-17 19:28:51.684646784 +0200
+++ /var/tmp/diff_new_pack.75iPBs/_new  2023-09-17 19:28:51.688646926 +0200
@@ -14,140 +14,60 @@
  src/roff/grog/grog.pl      | 2 +-
  4 files changed, 4 insertions(+), 4 deletions(-)
 
-Index: groff-1.22.4/contrib/chem/chem.pl
+Index: b/contrib/chem/chem.pl
 ===================================================================
---- groff-1.22.4.orig/contrib/chem/chem.pl
-+++ groff-1.22.4/contrib/chem/chem.pl
+--- a/contrib/chem/chem.pl
++++ b/contrib/chem/chem.pl
 @@ -1,4 +1,4 @@
 -#! /usr/bin/env perl
 +#! /usr/bin/perl
  
  # chem - a groff preprocessor for producing chemical structure diagrams
  
-Index: groff-1.22.4/contrib/groffer/groffer.pl
+Index: b/contrib/glilypond/glilypond.pl
 ===================================================================
---- groff-1.22.4.orig/contrib/groffer/groffer.pl
-+++ groff-1.22.4/contrib/groffer/groffer.pl
-@@ -1,4 +1,4 @@
--#! /usr/bin/env perl
-+#! /usr/bin/perl
- 
- # groffer - display groff files
- 
-Index: groff-1.22.4/contrib/groffer/roff2.pl
-===================================================================
---- groff-1.22.4.orig/contrib/groffer/roff2.pl
-+++ groff-1.22.4/contrib/groffer/roff2.pl
-@@ -1,4 +1,4 @@
--#! /usr/bin/env perl
-+#! /usr/bin/perl
- 
- # roff2* - transform roff files into other formats
- 
-Index: groff-1.22.4/src/roff/grog/grog.pl
-===================================================================
---- groff-1.22.4.orig/src/roff/grog/grog.pl
-+++ groff-1.22.4/src/roff/grog/grog.pl
-@@ -1,4 +1,4 @@
--#! /usr/bin/env perl
-+#! /usr/bin/perl
- # grog - guess options for groff command
- # Inspired by doctype script in Kernighan & Pike, Unix Programming
- # Environment, pp 306-8.
-Index: groff-1.22.4/contrib/glilypond/glilypond.pl
-===================================================================
---- groff-1.22.4.orig/contrib/glilypond/glilypond.pl
-+++ groff-1.22.4/contrib/glilypond/glilypond.pl
+--- a/contrib/glilypond/glilypond.pl
++++ b/contrib/glilypond/glilypond.pl
 @@ -1,4 +1,4 @@
 -#! /usr/bin/env perl
 +#! /usr/bin/perl
  
  package main;
  
-Index: groff-1.22.4/contrib/gperl/gperl.pl
+Index: b/contrib/gperl/gperl.pl
 ===================================================================
---- groff-1.22.4.orig/contrib/gperl/gperl.pl
-+++ groff-1.22.4/contrib/gperl/gperl.pl
+--- a/contrib/gperl/gperl.pl
++++ b/contrib/gperl/gperl.pl
 @@ -1,4 +1,4 @@
 -#! /usr/bin/env perl
 +#! /usr/bin/perl
  
  # gperl - add Perl part to groff files, this is the preprocessor for that
  
-Index: groff-1.22.4/contrib/gpinyin/gpinyin.pl
-===================================================================
---- groff-1.22.4.orig/contrib/gpinyin/gpinyin.pl
-+++ groff-1.22.4/contrib/gpinyin/gpinyin.pl
-@@ -1,4 +1,4 @@
--#! /usr/bin/env perl
-+#! /usr/bin/perl
- 
- # gpinyin - European-like Chinese writing 'pinyin' into 'groff'
- 
-Index: groff-1.22.4/contrib/gpinyin/subs.pl
+Index: b/contrib/gpinyin/gpinyin.pl
 ===================================================================
---- groff-1.22.4.orig/contrib/gpinyin/subs.pl
-+++ groff-1.22.4/contrib/gpinyin/subs.pl
+--- a/contrib/gpinyin/gpinyin.pl
++++ b/contrib/gpinyin/gpinyin.pl
 @@ -1,4 +1,4 @@
 -#! /usr/bin/env perl
 +#! /usr/bin/perl
  
  # gpinyin - European-like Chinese writing 'pinyin' into 'groff'
  
-Index: groff-1.22.4/contrib/groffer/main_subs.pl
+Index: b/mdate.pl
 ===================================================================
---- groff-1.22.4.orig/contrib/groffer/main_subs.pl
-+++ groff-1.22.4/contrib/groffer/main_subs.pl
-@@ -1,4 +1,4 @@
--#! /usr/bin/env perl
-+#! /usr/bin/perl
- 
- # groffer - display groff files
- 
-Index: groff-1.22.4/contrib/groffer/man.pl
-===================================================================
---- groff-1.22.4.orig/contrib/groffer/man.pl
-+++ groff-1.22.4/contrib/groffer/man.pl
-@@ -1,4 +1,4 @@
--#! /usr/bin/env perl
-+#! /usr/bin/perl
- 
- # groffer - display groff files
- 
-Index: groff-1.22.4/contrib/groffer/subs.pl
-===================================================================
---- groff-1.22.4.orig/contrib/groffer/subs.pl
-+++ groff-1.22.4/contrib/groffer/subs.pl
-@@ -1,4 +1,4 @@
--#! /usr/bin/env perl
-+#! /usr/bin/perl
- 
- # groffer - display groff files
- 
-Index: groff-1.22.4/mdate.pl
-===================================================================
---- groff-1.22.4.orig/mdate.pl
-+++ groff-1.22.4/mdate.pl
+--- a/mdate.pl
++++ b/mdate.pl
 @@ -1,4 +1,4 @@
 -#! /usr/bin/env perl
 +#! /usr/bin/perl
  #
- # Copyright (C) 1991-2018 Free Software Foundation, Inc.
+ # Copyright (C) 1991-2020 Free Software Foundation, Inc.
  # 
-Index: groff-1.22.4/src/roff/grog/subs.pl
-===================================================================
---- groff-1.22.4.orig/src/roff/grog/subs.pl
-+++ groff-1.22.4/src/roff/grog/subs.pl
-@@ -1,4 +1,4 @@
--#! /usr/bin/env perl
-+#! /usr/bin/perl
- # grog - guess options for groff command
- # Inspired by doctype script in Kernighan & Pike, Unix Programming
- # Environment, pp 306-8.
-Index: groff-1.22.4/tmac/hyphenex.pl
+Index: b/tmac/hyphenex.pl
 ===================================================================
---- groff-1.22.4.orig/tmac/hyphenex.pl
-+++ groff-1.22.4/tmac/hyphenex.pl
+--- a/tmac/hyphenex.pl
++++ b/tmac/hyphenex.pl
 @@ -1,4 +1,4 @@
 -#! /usr/bin/env perl
 +#! /usr/bin/perl

++++++ bash-scripts.patch ++++++
--- /var/tmp/diff_new_pack.75iPBs/_old  2023-09-17 19:28:51.712647782 +0200
+++ /var/tmp/diff_new_pack.75iPBs/_new  2023-09-17 19:28:51.716647924 +0200
@@ -1,4 +1,4 @@
-From b5636fe1b680fff8dbf8c2d002806f37b32a10df Mon Sep 17 00:00:00 2001
+From e3d8901a5e24e11e1fa8a80329309295a20eb47f Mon Sep 17 00:00:00 2001
 From: Colin Watson <cjwat...@debian.org>
 Date: Thu, 2 Jan 2014 13:13:09 +0000
 Subject: The *2graph scripts use $RANDOM, which is bash-specific
@@ -14,7 +14,7 @@
  3 files changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/contrib/eqn2graph/eqn2graph.sh b/contrib/eqn2graph/eqn2graph.sh
-index 3e9c3748..454754b5 100644
+index 3e9c37486..454754b52 100644
 --- a/contrib/eqn2graph/eqn2graph.sh
 +++ b/contrib/eqn2graph/eqn2graph.sh
 @@ -1,4 +1,4 @@
@@ -24,7 +24,7 @@
  # eqn2graph -- compile EQN equation descriptions to bitmap images
  #
 diff --git a/contrib/grap2graph/grap2graph.sh 
b/contrib/grap2graph/grap2graph.sh
-index 29df25bb..062f2eec 100644
+index 29df25bb1..062f2eecd 100644
 --- a/contrib/grap2graph/grap2graph.sh
 +++ b/contrib/grap2graph/grap2graph.sh
 @@ -1,4 +1,4 @@
@@ -34,7 +34,7 @@
  # grap2graph -- compile graph description descriptions to bitmap images
  #
 diff --git a/contrib/pic2graph/pic2graph.sh b/contrib/pic2graph/pic2graph.sh
-index b2299148..cc92ce07 100644
+index b22991483..cc92ce075 100644
 --- a/contrib/pic2graph/pic2graph.sh
 +++ b/contrib/pic2graph/pic2graph.sh
 @@ -1,4 +1,4 @@

++++++ groff-1.20.1-deunicode.patch ++++++
--- /var/tmp/diff_new_pack.75iPBs/_old  2023-09-17 19:28:51.724648210 +0200
+++ /var/tmp/diff_new_pack.75iPBs/_new  2023-09-17 19:28:51.728648352 +0200
@@ -1,18 +1,17 @@
-Index: groff-1.22.4/tmac/tty.tmac
+Index: b/tmac/tty.tmac
 ===================================================================
---- groff-1.22.4.orig/tmac/tty.tmac
-+++ groff-1.22.4/tmac/tty.tmac
-@@ -68,8 +68,11 @@
- .fchar \[.j] j
- .fchar \[bq] ,
+--- a/tmac/tty.tmac
++++ b/tmac/tty.tmac
+@@ -70,6 +70,11 @@
+ .fchar \[radicalex] \[rn]
+ .fchar \[sqrtex] \[rn]
  .
--.if '\*[.T]'utf8' \
 +.if '\*[.T]'utf8' \{\
- .  mso unicode.tmac
 +.\" use ascii hyphenation characters - bnc#68385
 +.  shc -
 +.\}
- .
++.
  .\" color definitions
  .defcolor black rgb #000000
+ .defcolor red rgb #ff0000
 

++++++ groff-1.20.1-nroff-empty-LANGUAGE.patch ++++++
--- /var/tmp/diff_new_pack.75iPBs/_old  2023-09-17 19:28:51.740648780 +0200
+++ /var/tmp/diff_new_pack.75iPBs/_new  2023-09-17 19:28:51.744648922 +0200
@@ -1,14 +1,14 @@
-Index: groff-1.20.1/src/roff/nroff/nroff.sh
+Index: b/src/roff/nroff/nroff.sh
 ===================================================================
---- groff-1.20.1.orig/src/roff/nroff/nroff.sh  2010-08-23 15:04:18.000000000 
+0200
-+++ groff-1.20.1/src/roff/nroff/nroff.sh       2010-08-23 15:46:28.313156532 
+0200
-@@ -41,7 +41,7 @@
-   IBM-1047)
-     Tloc=cp1047 ;;
-   *)
--    case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
-+    case "${LC_ALL:-${LC_CTYPE:-${LANG}}}" in
-       *.UTF-8)
-         Tloc=utf8 ;;
-       iso_8859_1 | *.ISO-8859-1 | *.ISO8859-1 | \
+--- a/src/roff/nroff/nroff.sh
++++ b/src/roff/nroff/nroff.sh
+@@ -131,7 +131,7 @@ then
+     *)
+       # Some old shells don't support ${FOO:-bar} expansion syntax.  We
+       # should switch to it when it is safe to abandon support for them.
+-      case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
++      case "${LC_ALL:-${LC_CTYPE:-${LANG}}}" in
+         *.UTF-8)
+           Tloc=utf8 ;;
+         iso_8859_1 | *.ISO-8859-1 | *.ISO8859-1 | \
 

++++++ groff-1.21-CVE-2009-5081.patch ++++++
--- /var/tmp/diff_new_pack.75iPBs/_old  2023-09-17 19:28:51.756649350 +0200
+++ /var/tmp/diff_new_pack.75iPBs/_new  2023-09-17 19:28:51.760649493 +0200
@@ -1,46 +1,21 @@
-Index: groff-1.22.4/contrib/pdfmark/pdfroff.1.man
+Index: b/contrib/pdfmark/pdfroff.1.man
 ===================================================================
---- groff-1.22.4.orig/contrib/pdfmark/pdfroff.1.man
-+++ groff-1.22.4/contrib/pdfmark/pdfroff.1.man
-@@ -540,7 +540,7 @@ gs \-dBATCH \-dQUIET \-dNOPAUSE \-dSAFER
+--- a/contrib/pdfmark/pdfroff.1.man
++++ b/contrib/pdfmark/pdfroff.1.man
+@@ -619,7 +619,7 @@ gs \-dBATCH \-dQUIET \-dNOPAUSE \-dSAFER
  .I GROFF_TMPDIR
  Identifies the directory in which
- .B pdfroff
+ .I pdfroff
 -should create temporary files.
 +should create a subdirectory for its temporary files.
  .
  If
  .I \%GROFF_TMPDIR
-@@ -553,7 +553,8 @@ and
- .I TEMP
- are considered in turn, as possible temporary file repositories.
- If none of these are set, then temporary files are created
--in the current directory.
-+in a subdirectory of
-+.BR /tmp .
- .
- .TP
- .I GROFF_GHOSTSCRIPT_INTERPRETER
-Index: groff-1.22.4/doc/fixinfo.sh
-===================================================================
---- groff-1.22.4.orig/doc/fixinfo.sh
-+++ groff-1.22.4/doc/fixinfo.sh
-@@ -24,7 +24,9 @@
- #
- # 09-2014: no more problem with texinfo 5.0 or higher
- #
--t=${TMPDIR-.}/gro$$.tmp
-+t="`mktemp -t groff-fixinfo.XXXXXXXXXX`" || exit
-+trap 'rm -f -- "$t"' EXIT
-+trap 'trap - EXIT; rm -f -- "$t"; exit 1' HUP INT QUIT TERM
- 
- cat $1 | sed '
- 1 {
-Index: groff-1.22.4/doc/groff.texi
+Index: b/doc/groff.texi
 ===================================================================
---- groff-1.22.4.orig/doc/groff.texi
-+++ groff-1.22.4/doc/groff.texi
-@@ -13857,9 +13857,9 @@ into a document:
+--- a/doc/groff.texi
++++ b/doc/groff.texi
+@@ -16005,9 +16005,9 @@ The following code fragment introduces t
  @pindex perl
  @Example
  .sy perl -e 'printf ".nr H %d\\n.nr M %d\\n.nr S %d\\n",\
@@ -53,10 +28,10 @@
  \nH:\nM:\nS
  @endExample
  
-Index: groff-1.22.4/gendef.sh
+Index: b/gendef.sh
 ===================================================================
---- groff-1.22.4.orig/gendef.sh
-+++ groff-1.22.4/gendef.sh
+--- a/gendef.sh
++++ b/gendef.sh
 @@ -33,11 +33,9 @@ do
  #define $def"
  done
@@ -81,11 +56,11 @@
  exit 0
  
  # eof
-Index: groff-1.22.4/src/roff/groff/pipeline.c
+Index: b/src/roff/groff/pipeline.c
 ===================================================================
---- groff-1.22.4.orig/src/roff/groff/pipeline.c
-+++ groff-1.22.4/src/roff/groff/pipeline.c
-@@ -379,6 +379,7 @@ int run_pipeline(int ncommands, char ***
+--- a/src/roff/groff/pipeline.c
++++ b/src/roff/groff/pipeline.c
+@@ -378,6 +378,7 @@ int run_pipeline(int ncommands, char ***
    /* Don't use 'tmpnam' here: Microsoft's implementation yields unusable
       file names if current directory is on network share with read-only
       root. */
@@ -93,47 +68,4 @@
    tmpfiles[0] = tempnam(tmpdir, NULL);
    tmpfiles[1] = tempnam(tmpdir, NULL);
  
-Index: groff-1.22.4/contrib/groffer/main_subs.pl
-===================================================================
---- groff-1.22.4.orig/contrib/groffer/main_subs.pl
-+++ groff-1.22.4/contrib/groffer/main_subs.pl
-@@ -1244,7 +1244,7 @@ sub main_temp {
-   our $fh_stdin;
-   our $tmp_cat;
-   our $tmp_stdin;
--  my $template = 'groffer_' . "$$" . '_XXXX';
-+  my $template = 'groffer_' . "$$" . '_XXXXXXXXXX';
-   foreach ($ENV{'GROFF_TMPDIR'}, $ENV{'TMPDIR'}, $ENV{'TMP'}, $ENV{'TEMP'},
-          $ENV{'TEMPDIR'}, File::Spec->catfile($ENV{'HOME'}, 'tmp')) {
-     if ($_ && -d $_ && -w $_) {
-@@ -1276,12 +1276,12 @@ sub main_temp {
- 
-   # further argument: SUFFIX => '.sh'
-   if ($Debug{'KEEP'}) {
--    ($fh_cat, $tmp_cat) = tempfile(',cat_XXXX', DIR => $tmpdir);
--    ($fh_stdin, $tmp_stdin) = tempfile(',stdin_XXXX', DIR => $tmpdir);
-+    ($fh_cat, $tmp_cat) = tempfile(',cat_XXXXXXXXXX', DIR => $tmpdir);
-+    ($fh_stdin, $tmp_stdin) = tempfile(',stdin_XXXXXXXXXX', DIR => $tmpdir);
-   } else {
--    ($fh_cat, $tmp_cat) = tempfile(',cat_XXXX', UNLINK => 1,
-+    ($fh_cat, $tmp_cat) = tempfile(',cat_XXXXXXXXXX', UNLINK => 1,
-                                  DIR => $tmpdir);
--    ($fh_stdin, $tmp_stdin) = tempfile(',stdin_XXXX', UNLINK => 1,
-+    ($fh_stdin, $tmp_stdin) = tempfile(',stdin_XXXXXXXXXX', UNLINK => 1,
-                                      DIR => $tmpdir);
-   }
- }                             # main_temp()
-Index: groff-1.22.4/contrib/groffer/roff2.pl
-===================================================================
---- groff-1.22.4.orig/contrib/groffer/roff2.pl
-+++ groff-1.22.4/contrib/groffer/roff2.pl
-@@ -123,7 +123,7 @@ if ($Has_Groffer) {
-       last;
-       }
-     }
--    my $template = $Name . '_XXXX';
-+    my $template = $Name . '_XXXXXXXXXX';
-     my ($fh, $stdin);
-     if ($tempdir) {
-       ($fh, $stdin) = tempfile($template, UNLINK => 1, DIR => $tempdir) ||
 

++++++ groff-1.22.4.tar.gz -> groff-1.23.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/groff/groff-1.22.4.tar.gz 
/work/SRC/openSUSE:Factory/.groff.new.1766/groff-1.23.0.tar.gz differ: char 5, 
line 1

++++++ groff-force-locale-usage.patch ++++++
--- /var/tmp/diff_new_pack.75iPBs/_old  2023-09-17 19:28:51.792650633 +0200
+++ /var/tmp/diff_new_pack.75iPBs/_new  2023-09-17 19:28:51.796650776 +0200
@@ -1,8 +1,8 @@
-Index: groff-1.22.4/font/devdvi/devdvi.am
+Index: b/font/devdvi/devdvi.am
 ===================================================================
---- groff-1.22.4.orig/font/devdvi/devdvi.am
-+++ groff-1.22.4/font/devdvi/devdvi.am
-@@ -83,9 +83,9 @@ font/devdvi/DESC: $(devdvi_srcdir)/DESC.
+--- a/font/devdvi/devdvi.am
++++ b/font/devdvi/devdvi.am
+@@ -81,9 +81,9 @@ font/devdvi/DESC: $(devdvi_srcdir)/DESC.
        $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
        && cat $(devdvi_srcdir)/DESC.in >$@ \
        && if test "$(PAGE)" = A4; then \
@@ -14,11 +14,11 @@
           fi \
        && (test -z '$(DVIPRINT)' \
            || echo print '$(DVIPRINT)' >>$@)
-Index: groff-1.22.4/font/devlbp/devlbp.am
+Index: b/font/devlbp/devlbp.am
 ===================================================================
---- groff-1.22.4.orig/font/devlbp/devlbp.am
-+++ groff-1.22.4/font/devlbp/devlbp.am
-@@ -47,9 +47,9 @@ font/devlbp/DESC: $(devlbp_srcdir)/DESC.
+--- a/font/devlbp/devlbp.am
++++ b/font/devlbp/devlbp.am
+@@ -45,9 +45,9 @@ font/devlbp/DESC: $(devlbp_srcdir)/DESC.
        $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
        && cat $(devlbp_srcdir)/DESC.in >$@ \
        && if test "$(PAGE)" = A4; then \
@@ -30,11 +30,11 @@
           fi \
        && (test -z '$(LBPPRINT)' \
            || echo print '$(LBPPRINT)' >>$@)
-Index: groff-1.22.4/font/devlj4/devlj4.am
+Index: b/font/devlj4/devlj4.am
 ===================================================================
---- groff-1.22.4.orig/font/devlj4/devlj4.am
-+++ groff-1.22.4/font/devlj4/devlj4.am
-@@ -92,9 +92,9 @@ font/devlj4/DESC: $(devlj4_srcdir)/DESC.
+--- a/font/devlj4/devlj4.am
++++ b/font/devlj4/devlj4.am
+@@ -90,9 +90,9 @@ font/devlj4/DESC: $(devlj4_srcdir)/DESC.
        && echo "unitwidth `expr 7620000 / $(LJ4RES)`" >>$@ \
        && cat $(devlj4_srcdir)/DESC.in >>$@ \
        && if test "$(PAGE)" = A4; then \
@@ -46,36 +46,36 @@
           fi \
        && (test -z '$(LJ4PRINT)' \
            || echo print '$(LJ4PRINT)' >>$@)
-Index: groff-1.22.4/font/devpdf/devpdf.am
+Index: b/font/devpdf/devpdf.am
 ===================================================================
---- groff-1.22.4.orig/font/devpdf/devpdf.am
-+++ groff-1.22.4/font/devpdf/devpdf.am
-@@ -95,9 +95,9 @@ font/devpdf/DESC: $(devpdf_srcdir)/DESC.
-       && $(RM) $(top_builddir)/font/devpdf/DESC \
-       && cat $(devpdf_srcdir)/DESC.in >$(top_builddir)/font/devpdf/DESC \
+--- a/font/devpdf/devpdf.am
++++ b/font/devpdf/devpdf.am
+@@ -92,9 +92,9 @@ font/devpdf/DESC: $(devpdf_srcdir)/DESC.
+       && cat $(devpdf_srcdir)/DESC.in \
+         >$(top_builddir)/font/devpdf/DESC \
        && if test "$(PAGE)" = A4; then \
 -           echo "papersize a4" >>$(top_builddir)/font/devpdf/DESC; \
 +           echo "papersize locale a4" >>$(top_builddir)/font/devpdf/DESC; \
           else \
--           echo "papersize letter" >>$(top_builddir)/font/devpdf/DESC; \
-+           echo "papersize locale letter" >>$(top_builddir)/font/devpdf/DESC; 
\
+-           echo "papersize letter" \
++           echo "papersize locale letter" \
+              >>$(top_builddir)/font/devpdf/DESC; \
           fi
  
- font/devpdf/Foundry:
-Index: groff-1.22.4/font/devps/devps.am
+Index: b/font/devps/devps.am
 ===================================================================
---- groff-1.22.4.orig/font/devps/devps.am
-+++ groff-1.22.4/font/devps/devps.am
-@@ -143,9 +143,9 @@ font/devps/DESC: $(devps_srcdir)/DESC.in
-       && cat $(devps_srcdir)/DESC.in >$@ \
-       && echo broken $(BROKEN_SPOOLER_FLAGS) >>$@ \
+--- a/font/devps/devps.am
++++ b/font/devps/devps.am
+@@ -144,9 +144,9 @@ font/devps/DESC: $(devps_srcdir)/DESC.in
+       && cat $(devps_srcdir)/DESC.in >$@.tmp \
+       && echo broken $(BROKEN_SPOOLER_FLAGS) >>$@.tmp \
        && if test "$(PAGE)" = A4; then \
--           echo "papersize a4" >>$@; \
-+           echo "papersize locale a4" >>$@; \
+-           echo "papersize a4" >>$@.tmp; \
++           echo "papersize locale a4" >>$@.tmp; \
           else \
--           echo "papersize letter" >>$@; \
-+           echo "papersize locale letter" >>$@; \
+-           echo "papersize letter" >>$@.tmp; \
++           echo "papersize locale letter" >>$@.tmp; \
           fi \
        && (test -z '$(PSPRINT)' \
-           || echo print '$(PSPRINT)' >>$@)
+           || echo print '$(PSPRINT)' >>$@.tmp)
 


++++++ nroff-map-CW-to-R.patch ++++++
>From 742dfac36f1fd23e17d27dbf83e3793d3f3a063d Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwat...@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 0bb667bd4..1aaaadd6a 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 94688aba0..66dcc423d 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

Reply via email to