tags 454817 + patch
thanks

Hi,

Attached is the diff for my xfmail 1.5.5-4.3 NMU.
diff -u xfmail-1.5.5/debian/patches/00list xfmail-1.5.5/debian/patches/00list
--- xfmail-1.5.5/debian/patches/00list
+++ xfmail-1.5.5/debian/patches/00list
@@ -6,0 +7 @@
+70_gcc-4.3_ftbfs
diff -u xfmail-1.5.5/debian/changelog xfmail-1.5.5/debian/changelog
--- xfmail-1.5.5/debian/changelog
+++ xfmail-1.5.5/debian/changelog
@@ -1,3 +1,11 @@
+xfmail (1.5.5-4.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Adding debian/patches/70_gcc-4.3_ftbfs.dpatch provided by Cyril Brulebois
+    to get this thing compiling with gcc 4.3 (Closes: #454817)
+
+ -- Alexander Schmehl <[EMAIL PROTECTED]>  Sun, 06 Apr 2008 02:22:38 +0200
+
 xfmail (1.5.5-4.2) unstable; urgency=low
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- xfmail-1.5.5.orig/debian/patches/70_gcc-4.3_ftbfs.dpatch
+++ xfmail-1.5.5/debian/patches/70_gcc-4.3_ftbfs.dpatch
@@ -0,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 70_gcc-4.3_ftbfs.dpatch by Alexander Schmehl <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fixes #454817 FTBFS with gcc 4.3
+
[EMAIL PROTECTED]@
+diff -urNad xfmail-1.5.5~/src/mail/addrbookdb.cpp xfmail-1.5.5/src/mail/addrbookdb.cpp
+--- xfmail-1.5.5~/src/mail/addrbookdb.cpp	2004-01-02 04:54:01.000000000 +0100
++++ xfmail-1.5.5/src/mail/addrbookdb.cpp	2008-04-06 02:21:11.000000000 +0200
+@@ -28,6 +28,8 @@
+ #include <string>
+ #include <list>
+ 
++#include <cstring>
++
+ using namespace std;
+ 
+ #include <stdio.h>
+diff -urNad xfmail-1.5.5~/src/mail/gpasswd.h xfmail-1.5.5/src/mail/gpasswd.h
+--- xfmail-1.5.5~/src/mail/gpasswd.h	2004-01-02 04:54:01.000000000 +0100
++++ xfmail-1.5.5/src/mail/gpasswd.h	2008-04-06 02:21:32.000000000 +0200
+@@ -31,7 +31,7 @@
+  * 	URL: http://mcrypt.hellug.gr/
+  *     RPMS: ftp://ftp.fazekas.hu/pub/linux/rpms/mcrypt/
+  */
+-#include <iostream.h>
++#include <iostream>
+ #include <string>
+ #include <mcrypt.h>
+ 

Reply via email to