Package: berkeley-abc
Version: 1.01+20140822hg4d547a5+dfsg
Tags: patch

The PTS complains about the __TIME__ etc macros, so I removed them.

Someone please apply.

Description: Remove the __TIME__ etc macros
 Otherwise the debian package checking complains...

--- berkeley-abc-1.01+20140822hg4d547a5+dfsg.orig/src/base/cmd/cmdUtils.c
+++ berkeley-abc-1.01+20140822hg4d547a5+dfsg/src/base/cmd/cmdUtils.c
@@ -581,7 +581,7 @@ void CmdCommandPrint( Abc_Frame_t * pAbc
     nColumns = 79 / (LenghtMax + 2);
 
     // print the starting message 
-    fprintf( pAbc->Out, "      Welcome to ABC compiled on %s %s!", __DATE__, __TIME__ );
+    fprintf( pAbc->Out, "      Welcome to ABC!");
 
     // print the command by group
     sGroupCur = NULL;
--- berkeley-abc-1.01+20140822hg4d547a5+dfsg.orig/src/base/main/mainUtils.c
+++ berkeley-abc-1.01+20140822hg4d547a5+dfsg/src/base/main/mainUtils.c
@@ -52,7 +52,7 @@ static char * DateReadFromDateString( ch
 char * Abc_UtilsGetVersion( Abc_Frame_t * pAbc )
 {
     static char Version[1000];
-    sprintf(Version, "%s (compiled %s %s)", ABC_VERSION, __DATE__, __TIME__);
+    sprintf(Version, "%s", ABC_VERSION);
     return Version;
 }
 
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to