Package: postler Version: 0.1.1-1 Followup-For: Bug #646422
The original patch was missing a semicolon after the va_list declaration. I fixed this and added DEP-3 headers. Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric-proposed'), (500, 'oneiric'), (100, 'oneiric-backports') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-15-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru postler-0.1.1/debian/changelog postler-0.1.1/debian/changelog diff -Nru postler-0.1.1/debian/control postler-0.1.1/debian/control 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 1969-12-31 18:00:00.000000000 -0600 +++ postler-0.1.1/debian/patches/fix-vasprintf-check.patch 2011-12-28 03:23:02.000000000 -0600 @@ -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 2011-09-05 04:00:38.000000000 -0500 +++ postler-0.1.1/debian/patches/series 2011-12-28 03:23:13.000000000 -0600 @@ -0,0 +1,1 @@ +fix-vasprintf-check.patch