tags 340195 + patch
thanks

Hello.  This error can be fixed by adding a forward declaration for
xstrdup in XVector.h.
diff -urNad orig/postman-2.0/debian/patches/00list 
postman-2.0/debian/patches/00list
--- orig/postman-2.0/debian/patches/00list      2006-01-18 22:28:25.514095736 
+0200
+++ postman-2.0/debian/patches/00list   2006-01-18 22:10:48.038868729 +0200
@@ -4,3 +4,4 @@
 04_st_mtime_fix
 05_matrix_assignement_fix
 06_gcc3.4_fix
+07_missing_xstrdup_forward_declaration
diff -urNad 
orig/postman-2.0/debian/patches/07_missing_xstrdup_forward_declaration.dpatch 
postman-2.0/debian/patches/07_missing_xstrdup_forward_declaration.dpatch
--- 
orig/postman-2.0/debian/patches/07_missing_xstrdup_forward_declaration.dpatch   
    1970-01-01 02:00:00.000000000 +0200
+++ postman-2.0/debian/patches/07_missing_xstrdup_forward_declaration.dpatch    
2006-01-18 22:29:31.958298732 +0200
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 07_missing_xstrdup_forward_declaration.dpatch by  <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
[EMAIL PROTECTED]@
+diff -urNad postman-2.0.orig/XVector.h postman-2.0/XVector.h
+--- postman-2.0.orig/XVector.h 2006-01-18 19:35:21.865896260 +0200
++++ postman-2.0/XVector.h      2006-01-18 21:51:59.815293480 +0200
+@@ -516,6 +516,9 @@
+         return 0;
+ }
+ 
++// forward declaration, declared in Utils.h (which includes XVector.h)
++char *xstrdup (char const *str);
++
+ template <class Etype>
+ char *
+ XVector<Etype>::toPChar (bool PutCR)

Reply via email to