NMU patch attached.
-- Blars Blarson [EMAIL PROTECTED] http://www.blars.org/blars.html With Microsoft, failure is not an option. It is a standard feature.
diff -Nru ../orig/tf-4.0s1/debian/changelog tf-4.0s1/debian/changelog --- ../orig/tf-4.0s1/debian/changelog 2005-08-06 05:00:46.156839000 +0000 +++ tf-4.0s1/debian/changelog 2005-08-06 05:10:24.973201101 +0000 @@ -1,3 +1,10 @@ +tf (1:4.0s1-16.1) unstable; urgency=low + + * NMU durring BSP + * Fix for gcc 4.0 from Andreas Jochens (Closes: #300360) + + -- Blars Blarson <[EMAIL PROTECTED]> Sat, 6 Aug 2005 05:08:37 +0000 + tf (1:4.0s1-16) unstable; urgency=low * Move tf manpage to section 1, as tf is now linked to /usr/bin/tf, diff -Nru ../orig/tf-4.0s1/src/history.c tf-4.0s1/src/history.c --- ../orig/tf-4.0s1/src/history.c 1999-03-06 22:43:24.000000000 +0000 +++ tf-4.0s1/src/history.c 2005-08-06 05:08:21.347752368 +0000 @@ -38,18 +38,6 @@ #define LOCALSIZE 100 /* local history size */ #define INPUTSIZE 100 /* command history buffer size */ -typedef struct History { /* circular list of Alines, and logfile */ - struct Aline **alines; - int size; /* actual number of lines currently saved */ - int maxsize; /* maximum number of lines that can be saved */ - int first; /* position of first line in circular array */ - int last; /* position of last line in circular array */ - int index; /* current recall position */ - int total; /* total number of lines ever saved */ - TFILE *logfile; - CONST char *logname; -} History; - #define empty(hist) (!(hist)->alines || !(hist)->size) static void FDECL(alloc_history,(History *hist, int maxsize)); diff -Nru ../orig/tf-4.0s1/src/history.h tf-4.0s1/src/history.h --- ../orig/tf-4.0s1/src/history.h 1999-03-06 22:43:24.000000000 +0000 +++ tf-4.0s1/src/history.h 2005-08-06 05:08:21.349752570 +0000 @@ -31,6 +31,18 @@ #define record_global(aline) recordline(globalhist, (aline)) #define record_local(aline) recordline(localhist, (aline)) +typedef struct History { /* circular list of Alines, and logfile */ + struct Aline **alines; + int size; /* actual number of lines currently saved */ + int maxsize; /* maximum number of lines that can be saved */ + int first; /* position of first line in circular array */ + int last; /* position of last line in circular array */ + int index; /* current recall position */ + int total; /* total number of lines ever saved */ + TFILE *logfile; + CONST char *logname; +} History; + extern struct History globalhist[], localhist[]; extern int log_count, norecord, nolog;