diff -u gloox-0.9.9.5/debian/changelog gloox-0.9.9.5/debian/changelog --- gloox-0.9.9.5/debian/changelog +++ gloox-0.9.9.5/debian/changelog @@ -1,3 +1,10 @@ +gloox (0.9.9.5-1.2ubuntu1) lucid; urgency=low + + * [FTBFS] Added #include to use sprinf (LP #492163) + Fixed submitted by Martin Michlmayr. + + -- Alfonso Cepeda Caballos Fri, 04 Dec 2009 06:24:28 +0000 + gloox (0.9.9.5-1.2) unstable; urgency=low * Fix incorrect changelog entry (e-mail address) diff -u gloox-0.9.9.5/debian/patches/00list gloox-0.9.9.5/debian/patches/00list --- gloox-0.9.9.5/debian/patches/00list +++ gloox-0.9.9.5/debian/patches/00list @@ -5 +5,2 @@ -autoreconf.dpatch \ No newline at end of file +autoreconf.dpatch +fix-include-stdio.dpatch \ No newline at end of file only in patch2: unchanged: --- gloox-0.9.9.5.orig/debian/patches/fix-include-stdio.dpatch +++ gloox-0.9.9.5/debian/patches/fix-include-stdio.dpatch @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-include-stdio.dpatch by Alfonso Cepeda Caballos +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad gloox-0.9.9.5~/src/md5.cpp gloox-0.9.9.5/src/md5.cpp +--- gloox-0.9.9.5~/src/md5.cpp 2009-12-04 00:59:00.000000000 +0000 ++++ gloox-0.9.9.5/src/md5.cpp 2009-12-05 19:46:53.000000000 +0000 +@@ -71,6 +71,7 @@ + + #include "md5.h" + ++#include + #include + + namespace gloox +diff -urNad gloox-0.9.9.5~/src/sha.cpp gloox-0.9.9.5/src/sha.cpp +--- gloox-0.9.9.5~/src/sha.cpp 2009-12-04 00:59:00.000000000 +0000 ++++ gloox-0.9.9.5/src/sha.cpp 2009-12-05 19:47:18.000000000 +0000 +@@ -12,6 +12,8 @@ + + #include "sha.h" + ++#include ++ + namespace gloox + { +