tags 646422 + pending
thanks

Dear maintainer,

I've prepared an NMU for postler (versioned as 0.1.1-1.3) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
  Hector Oron
diff -Nru postler-0.1.1/debian/changelog postler-0.1.1/debian/changelog
--- postler-0.1.1/debian/changelog	2012-02-19 17:08:31.000000000 +0100
+++ postler-0.1.1/debian/changelog	2012-03-05 03:43:44.000000000 +0100
@@ -1,3 +1,11 @@
+postler (0.1.1-1.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS: Checking for function vasprintf : no (Closes: #646422)
+    - Thanks Nobuhiro Iwamatsu for report and patch.
+
+ -- Hector Oron <zu...@debian.org>  Mon, 05 Mar 2012 02:42:42 +0000
+
 postler (0.1.1-1.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru postler-0.1.1/debian/patches/fix-vasprintf-check.patch postler-0.1.1/debian/patches/fix-vasprintf-check.patch
--- postler-0.1.1/debian/patches/fix-vasprintf-check.patch	1970-01-01 01:00:00.000000000 +0100
+++ postler-0.1.1/debian/patches/fix-vasprintf-check.patch	2012-03-05 03:44:34.000000000 +0100
@@ -0,0 +1,18 @@
+Author: Nobuhiro Iwamatsu <iwama...@nigauri.org>
+Subject: Fix vasprintf check which causes FTBFS on arm*
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646422
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/791319
+
+diff --git a/wscript b/wscript
+index db8dbba..4af9bc6 100644
+--- a/wscript
++++ b/wscript
+@@ -132,7 +132,7 @@ def configure (conf):
+     conf.check (header_name='sys/filio.h')
+     conf.check (fragment='#define _GNU_SOURCE\n#include <stdio.h>\n' \
+         'int main(char** argv, int argc)\n' \
+-        '{ char* a;\nvasprintf(&a, "%s", ""); return 0; }', \
++        '{ char* a;\nva_list ap;\nvasprintf(&a, "%s", ap); return 0; }', \
+         define_name='HAVE_VASPRINTF', msg='Checking for function vasprintf', \
+         mandatory=True)
+     check_function ('socket', 'sys/socket.h')
diff -Nru postler-0.1.1/debian/patches/series postler-0.1.1/debian/patches/series
--- postler-0.1.1/debian/patches/series	2012-02-19 15:09:26.000000000 +0100
+++ postler-0.1.1/debian/patches/series	2012-03-05 03:44:34.000000000 +0100
@@ -1 +1,2 @@
+fix-vasprintf-check.patch
 01_indicate_0.6.patch

Reply via email to