tags 417376 + patch
thanks
Hi,
Attached is the diff for my logtools 0.13c-0.1 NMU.
diff -Nru logtools-0.13c/changes.txt logtools-0.13c/changes.txt
--- logtools-0.13c/changes.txt 2003-04-25 09:09:17.000000000 +0200
+++ logtools-0.13c/changes.txt 2008-03-09 18:03:35.000000000 +0100
@@ -1,3 +1,10 @@
+logtools (0.13c-0.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS with GCC 4.3 (Closes: #417376).
+
+ -- Luk Claes <[EMAIL PROTECTED]> Sun, 09 Mar 2008 17:03:20 +0000
+
logtools (0.13c) unstable; urgency=low
* Made it compile with GCC 3.2.
diff -Nru /tmp/edutaTB6Bh/logtools-0.13c/clfdomainsplit.cpp /tmp/RjD8XhPf9a/logtools-0.13c/clfdomainsplit.cpp
--- logtools-0.13c/clfdomainsplit.cpp 2003-04-25 09:08:50.000000000 +0200
+++ logtools-0.13c/clfdomainsplit.cpp 2008-03-09 18:04:50.000000000 +0100
@@ -7,7 +7,7 @@
#endif
#include <unistd.h>
-#include <string>
+#include <cstring>
#include <vector>
#include <ctype.h>
#include "logtools.h"
diff -Nru /tmp/edutaTB6Bh/logtools-0.13c/clfmerge.cpp /tmp/RjD8XhPf9a/logtools-0.13c/clfmerge.cpp
--- logtools-0.13c/clfmerge.cpp 2003-04-25 09:02:05.000000000 +0200
+++ logtools-0.13c/clfmerge.cpp 2008-03-09 18:04:30.000000000 +0100
@@ -2,7 +2,7 @@
#include <ext/hash_map>
#include <stdlib.h>
#include <map>
-#include <string>
+#include <cstring>
#include <unistd.h>
#include <ctype.h>
diff -Nru /tmp/edutaTB6Bh/logtools-0.13c/clfsplit.cpp /tmp/RjD8XhPf9a/logtools-0.13c/clfsplit.cpp
--- logtools-0.13c/clfsplit.cpp 2003-04-25 09:07:57.000000000 +0200
+++ logtools-0.13c/clfsplit.cpp 2008-03-09 18:03:53.000000000 +0100
@@ -1,3 +1,4 @@
+#include <cstdlib>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
diff -Nru /tmp/edutaTB6Bh/logtools-0.13c/debian/changelog /tmp/RjD8XhPf9a/logtools-0.13c/debian/changelog
--- logtools-0.13c/debian/changelog 2003-04-25 09:09:17.000000000 +0200
+++ logtools-0.13c/debian/changelog 2008-03-09 18:03:35.000000000 +0100
@@ -1,3 +1,10 @@
+logtools (0.13c-0.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS with GCC 4.3 (Closes: #417376).
+
+ -- Luk Claes <[EMAIL PROTECTED]> Sun, 09 Mar 2008 17:03:20 +0000
+
logtools (0.13c) unstable; urgency=low
* Made it compile with GCC 3.2.
diff -Nru /tmp/edutaTB6Bh/logtools-0.13c/Makefile /tmp/RjD8XhPf9a/logtools-0.13c/Makefile
--- logtools-0.13c/Makefile 2003-04-25 08:51:48.000000000 +0200
+++ logtools-0.13c/Makefile 2008-03-09 18:04:35.000000000 +0100
@@ -1,6 +1,6 @@
# Generated automatically from Makefile.in by configure.
-prefix=/home/rjc/debian/logtools-0.13c/debian/logtools/usr
+prefix=/home/logtools-0.13c/debian/logtools/usr
WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -Woverloaded-virtual -pedantic -ffor-scope
CFLAGS=-O2 -g -DNDEBUG ${WFLAGS}
CXX=c++ ${CFLAGS}
@@ -23,8 +23,8 @@
install: install-bin
mkdir -p ${prefix}/share/man/man1 ${prefix}/share/man/man8
${INSTALL} -m 644 ${MAN1} ${prefix}/share/man/man1
- mkdir -p /home/rjc/debian/logtools-0.13c/debian/logtools/etc
- ${INSTALL} -m 644 clfdomainsplit.cfg /home/rjc/debian/logtools-0.13c/debian/logtools/etc
+ mkdir -p /home/logtools-0.13c/debian/logtools/etc
+ ${INSTALL} -m 644 clfdomainsplit.cfg /home/logtools-0.13c/debian/logtools/etc
clean:
rm -f $(EXES) build-stamp install-stamp