Package: troffcvt
Version: 1.04-25
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch

Hi,

troffcvt FTBFS with binutils 2.36 (currently in experimental). The reason is
that the WRPRC module tries to use the -l flag to ar by default, which
doesn't do anything in binutils <2.36 and starts having a function in
2.36, one that is different from the one that the WRPRC config script is
intending to use.

In Ubuntu, the attached patch was applied to achieve the following:

  * patches/WRPRC-2.11.diff: Change ar command to use cq instead of clq to fix
    compatibility with binutils 2.36.

Thanks for considering the patch.

Logan
diff -u troffcvt-1.04/patches/WRPRC-2.11.diff 
troffcvt-1.04/patches/WRPRC-2.11.diff
--- troffcvt-1.04/patches/WRPRC-2.11.diff
+++ troffcvt-1.04/patches/WRPRC-2.11.diff
@@ -1,7 +1,15 @@
-diff -Nurp tmp/WRPRC-2.11/config/Imake.params WRPRC-2.11/config/Imake.params
---- tmp/WRPRC-2.11/config/Imake.params 1997-05-23 22:19:11.000000000 +0100
-+++ WRPRC-2.11/config/Imake.params     2007-08-19 08:09:51.000000000 +0100
-@@ -583,16 +583,16 @@
+diff -u WRPRC-2.11/config/Imake.params WRPRC-2.11/config/Imake.params
+--- WRPRC-2.11/config/Imake.params     2007-08-19 08:09:51.000000000 +0100
++++ WRPRC-2.11/config/Imake.params     2021-02-21 13:34:03.108767338 -0500
+@@ -331,7 +331,3 @@
+ #ifndef ArCmd
+-#if SystemV4
+ #define ArCmd ar cq
+-#else
+-#define ArCmd ar clq
+-#endif
+ #endif
+@@ -583,16 +579,16 @@
   */
  
  #ifndef InstProgFlags
@@ -22,7 +30,7 @@
  #endif
  #ifndef InstScriptFlags
  #define InstScriptFlags $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) 
$(INSTSCRIPTMODE)
-diff -Nurp tmp/WRPRC-2.11/config/linux.cf WRPRC-2.11/config/linux.cf
+unchanged:
 --- tmp/WRPRC-2.11/config/linux.cf     Wed Dec 31 19:00:00 1969
 +++ WRPRC-2.11/config/linux.cf Mon Nov 10 22:25:15 1997
 @@ -0,0 +1,94 @@
@@ -120,7 +128,7 @@
 +#ifndef SpoolRootDir
 +#define SpoolRootDir /var/spool
 +#endif
-diff -Nurp tmp/WRPRC-2.11/config/site.def WRPRC-2.11/config/site.def
+unchanged:
 --- tmp/WRPRC-2.11/config/site.def     Fri May 23 17:19:11 1997
 +++ WRPRC-2.11/config/site.def Mon Nov 10 23:13:08 1997
 @@ -55,26 +55,24 @@ XCOMM site:  Primate Center 89/12/22
@@ -155,8 +163,9 @@
  #endif
  
  /* document preparation preferences */
-diff -Nurp tmp/WRPRC-2.11/config/linux.p-cf WRPRC-2.11/config/linux.p-cf
+unchanged:
 --- tmp/WRPRC-2.11/config/linux.p-cf   Wed Dec 31 19:00:00 1969
 +++ WRPRC-2.11/config/linux.p-cf       Mon Nov 10 22:25:15 1997
 @@ -0,0 +1,1 @@
 +
+

Reply via email to