Package: trn
Version: 3.6-17
Severity: serious
Tags: patch

When building 'trn' in a clean chroot, I get the following error:

/bin/sh ./config.h.SH
Extracting config.h (with variable substitutions)
gcc -c -O3   addng.c
In file included from addng.c:17:
common.h:635:27: missing terminating " character
In file included from addng.c:17:
common.h:636: error: syntax error before '?' token
common.h:636: error: stray '\' in program
common.h:636: error: stray '\' in program
common.h:946: error: syntax error before "nextrcline"
common.h:946: warning: data definition has no type or storage class

Please fix this and add the missing Build-Depends on 'bison, libncurses5-dev'
to debian/control.

Regards
Andreas Jochens

diff -urN ../tmp-orig/trn-3.6/common.h ./common.h
--- ../tmp-orig/trn-3.6/common.h        2000-01-19 13:35:54.000000000 +0100
+++ ./common.h  2004-08-17 08:37:28.243901833 +0200
@@ -632,8 +632,7 @@
 
 #ifndef NEWSHEADER             /* % */
 #   ifdef CONDSUB
-#      define NEWSHEADER 
"%(%[followup-to]=^$?:%(%[followup-to]=^%n$?:X-ORIGINAL-NEWSGROUPS: 
%n\n))Newsgroups: %(%F=^$?%C:%F)\nSubject: %(%S=^$?%\"\n\nSubject: \":Re: 
%S)\nSummary: \nExpires: \n%(%R=^$?:References: %R\n)Sender: \nFollowup-To: 
\n%(%{REPLYTO}=^$
-?:Reply-To: %{REPLYTO}\n)Distribution: %(%i=^$?%\"Distribution: 
\":%D)\nOrganization: %o\nKeywords: %[keywords]\nCc: %(%F=poster?%t:%([EMAIL 
PROTECTED]:%F))\n\n"
+#      define NEWSHEADER 
"%(%[followup-to]=^$?:%(%[followup-to]=^%n$?:X-ORIGINAL-NEWSGROUPS: 
%n\n))Newsgroups: %(%F=^$?%C:%F)\nSubject: %(%S=^$?%\"\n\nSubject: \":Re: 
%S)\nSummary: \nExpires: \n%(%R=^$?:References: %R\n)Sender: \nFollowup-To: 
\n%(%{REPLYTO}=^$?:Reply-To: %{REPLYTO}\n)Distribution: 
%(%i=^$?%\"Distribution: \":%D)\nOrganization: %o\nKeywords: %[keywords]\nCc: 
%(%F=poster?%t:%([EMAIL PROTECTED]:%F))\n\n"
 #   else
 #      define NEWSHEADER "Newsgroups: %F\nSubject: Re: %S\nSummary: \nExpires: 
\nReferences: %R\nSender: \nFollowup-To: \nDistribution: %D\nOrganization: 
%o\nKeywords: %[keywords]\nCc: \n\n"
 #   endif
diff -urN ../tmp-orig/trn-3.6/debian/control ./debian/control
--- ../tmp-orig/trn-3.6/debian/control  2001-04-09 17:35:06.000000000 +0200
+++ ./debian/control    2004-08-17 08:36:23.425755689 +0200
@@ -2,6 +2,7 @@
 Section: non-free/news
 Priority: optional
 Maintainer: Matthew Vernon <[EMAIL PROTECTED]>
+Build-Depends: bison, libncurses5-dev
 Standards-Version: 3.2.1.0
 
 Package: trn


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to