Hi, NMU patch below.
debdiff ttt_1.7-3.dsc /srv/pbuilder/result/ttt_1.7-3.1.dsc
configure | 2 +-
configure.in | 2 +-
net_names.c | 5 +++--
ttt-1.7/debian/changelog | 8 ++++++++
4 files changed, 13 insertions(+), 4 deletions(-)
diff -u ttt-1.7/debian/changelog ttt-1.7/debian/changelog
--- ttt-1.7/debian/changelog
+++ ttt-1.7/debian/changelog
@@ -1,3 +1,11 @@
+ttt (1.7-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Apply patches by Andreas Jochens to fix FTBFS with gcc-4.0
+ (Closes: #294377, #262758).
+
+ -- Christoph Berg <[EMAIL PROTECTED]> Mon, 7 Nov 2005 14:32:35 +0100
+
ttt (1.7-3) unstable; urgency=low
* Changed rules to check config.guess/config.sub in the 'cf' subdirectory
(closes: #217974)
only in patch2:
unchanged:
--- ttt-1.7.orig/net_names.c
+++ ttt-1.7/net_names.c
@@ -158,6 +158,9 @@
return NULL;
}
+static char *inet6_ntoa(uint32_t *addr); /* should be replaced
+ by addr2ascii */
+
char *net_getname(long type, long *id)
{
char *buf, *name;
@@ -258,8 +261,6 @@
case TTTTYPE_IPV6HOST:
{
u_long tmp[4];
- static char *inet6_ntoa(u_long *addr); /* should be replaced
- by addr2ascii */
if ((buf = malloc(sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx")))
== NULL)
fatal_error("get_protoname: no memory\n");
only in patch2:
unchanged:
--- ttt-1.7.orig/configure.in
+++ ttt-1.7/configure.in
@@ -109,7 +109,7 @@
fi
if test "${tttHaveGcc}" = "yes" ; then
- GCCFLAGS="-Wwrite-strings -fwritable-strings"
+ GCCFLAGS=""
else
GCCFLAGS=""
fi
only in patch2:
unchanged:
--- ttt-1.7.orig/configure
+++ ttt-1.7/configure
@@ -1098,7 +1098,7 @@
fi
if test "${tttHaveGcc}" = "yes" ; then
- GCCFLAGS="-Wwrite-strings -fwritable-strings"
+ GCCFLAGS=""
else
GCCFLAGS=""
fi
Christoph
--
[EMAIL PROTECTED] | http://www.df7cb.de/
signature.asc
Description: Digital signature

